Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian/Arch Build/Run instructions #5

Open
omac777 opened this issue Aug 29, 2015 · 1 comment
Open

Debian/Arch Build/Run instructions #5

omac777 opened this issue Aug 29, 2015 · 1 comment

Comments

@omac777
Copy link

omac777 commented Aug 29, 2015

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
Copy link
Contributor

djowel commented Aug 31, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants