Building Boost from scratch on Ubuntu 10.04 LTS

From NEOSYS Dev Wiki
Revision as of 20:04, 29 May 2011 by Steve (talk | contribs) (Created page with '<pre> #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 -…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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