This is how boost C++ library can be installed into a location that is needed to be put. Here I have installed into a folder in my home home folder. All the below command executed from a folder that contain boost_1_59_0.tar.bz2 file. Boost has been installed without ICU.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
$ python -V
Python 2.7.6
$ sudo apt-get install g++
$ sudo apt-get install python2.7-dev
$ sudo apt-get install libicu-dev
$ sudo apt-get install libbz2-dev
$ sudo apt-get install build-essential
$ sudo apt-get install autotools-dev
$ tar --bzip2 -xf boost_1_59_0.tar.bz2
$ cd boost_1_59_0/
$ ./bootstrap.sh --prefix=/home/nipun/BoostLibs --without-icu
$ ./b2 install --prefix=/home/nipun/BoostLibs
No comments:
Post a Comment