cierelabs / x3_fun

18 stars 5 forks source link

Debian/Arch Build/Run instructions #5

Open omac777 opened 9 years ago

omac777 commented 9 years ago

I noticed when we use the standard installed debian/arch boost environments, they have stuff installed in a way that bjam/cmake don't behave as expected when building. In order to circumvent these problems, the easiest way is to ensure you do have boost tools installed, cmake installed, then finally rebuild the latest boost libs from sources yourselves.

apt-get install libboost-tools-dev cmake cmake-curses-gui pacman -S boost-libs pacman -S boost-build

cd /usr/local/ wget http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz/download tar xvf boost_1_59_0.tar.gz cd boost_1_59_0/ bjam export BOOST_ROOT=/usr/local/boost_1_59_0

cd /usr/local/boost_1_59_0/tools/build ./bootstrap.sh ./b2 install --prefix=/usr/local/boost_1_59_0

Add to ~/.bashrc export BOOST_ROOT=/usr/local/boost_1_59_0 export PATH=$PATH:$BOOST_ROOT/bin logout and login

cd ~/Downloads/ git clone https://github.com/cierelabs/x3_fun.git cd x3_fun bjam -a -d+2

djowel commented 9 years ago

Thanks for the instructions. I wonder where to place these instructions. Hmmm...