Building Boost from scratch on Ubuntu 10.04 LTS

From NEOSYS Dev Wiki
Jump to navigationJump to search

#IT IS CRITICAL THAT BOOST-DEVEL IS *NOT* INSTALLED AND ALL OTHER BOOST DEV LIBS ARE UNINSTALLED
###yum -y remove boost-devel
sudo apt-get -y remove libboost-dev

###yum -y install icu libicu libicu-devel
sudo apt-get -y install libicu-dev

###yum -y install gcc-c++
sudo apt-get -y install g++

cd ~
rm -f boost_1_46_1.tar.gz
wget http://sourceforge.net/projects/boost/files/boost/1.46.1/boost_1_46_1.tar.gz
echo untarring boost, be patient, lots of files.
tar xfz boost_1_46_1.tar.gz
cd boost_1_46_1

#bjam should say "has_icu builds: yes" otherwise check your icu installation above
./bootstrap.sh
sudo ./bjam --with-date_time --with-filesystem --with-regex --with-system --with-thread -a install