http://www.boost.org/users/download/
I wanted to build the boost-python library for python 3; so make sure you have python 3 and it's developer package installed
sudo yum install python3
sudo yum install python3-devel
I got python 3.2. However, the headers are installed to /usr/include/python3.2u, whereas boost looks for the headers in <installdir>/python3.2
To work around this I created a symbolic link:
sudo ln -s python3.2mu python3.2
Other dependencies I didn't have:
sudo yum install zlib-devel
sudo yum install bzip2-devel
In the boost source dir:
./bootstrap.sh --with-python=python3 --prefix=/usr
./b2
sudo ./b2 install
If you want versioned names you need to pass --layout=versioned to b2
./b2 --layout=versioned --with-regex debug threading=multi link=static
No comments:
Post a Comment