Wiki

Clone wiki

binox / Installation

Home



Ubuntu 14.04 LTS / Ubuntu 14.10 / Ubuntu 15.04 / Ubuntu 17.10 / Arch Linux build 10-03-2016

Download

BinoX can be either cloned via the cmd

#!bash
git clone https://bitbucket.org/sonnhammergroup/binox.git

or downloaded here

Dependencies

BinoX needs a standard C++ compiler and cmake.

#!bash
sudo apt-get install cmake 

It also requires four packages from the BOOST C++ library,

  • libboost-graph1.54-dev
  • libboost-system1.54-dev
  • libboost-filesystem1.54-dev
  • libboost-program-options1.54-dev
    #!bash
    sudo apt-get install libboost-graph1.58-dev libboost-system1.58-dev libboost-filesystem1.58-dev libboost-program-options1.58-dev
    

For Ubuntu 17.10:

#!bash
sudo apt-get install libboost-graph1.63-dev libboost-system1.63-dev libboost-filesystem1.63-dev libboost-program-options1.63-dev

##Installation##

  • Download and extract the package

  • start terminal

  • navigate into your BinoX main folder

  • run cmake

    #!bash
    cmake src/ 
    

  • use make to compile the code

    #!bash
    make
    

  • to execute BinoX navigate to the mainfolder and call

#!bash

./BinoX

##Export Path##

  • navigate to your BinoX folder
  • export the path with the following command
#!bash

export PATH=$PATH:`pwd`
  • now one can call BinoX with
#!bash
BinoX

#Troubleshooting#

##Boost library##

Verified boost version:

  • 1.54
  • 1.55
  • 1.63

##Ubuntu 14.04 LTS## Make sure that all dependencies are installed.

#!bash
dpkg-query -W -f='${Status}..........${Package}\n' cmake libboost-graph1.54-dev libboost-system1.54-dev libboost-filesystem1.54-dev libboost-program-options1.54-dev
Output:
#!bash
install ok installed..........cmake
install ok installed..........libboost-filesystem1.54-dev
install ok installed..........libboost-graph1.54-dev
install ok installed..........libboost-program-options1.54-dev
install ok installed..........libboost-system1.54-dev

CMake ERROR

Message:

#!bash

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

It means that you don't have the build tools installed (the g++ in this case).

#!bash

sudo apt-get install build-essential -y

Updated