Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

Boost Compile from scratch

From DGC Wiki

How to compile a local install of the boost libraries from scratch

First of all, try to copy the precompiled libraries according to the instructions at Boost local install. If you can't get those to work, go on and compile your own libraries with the instructions below:

   $ cd ~/boost_1_31_0/tools/build/jam_src
   $ ./build.sh
   $ cp bin.linuxx86/bjam ~/local/bin/

   $ cd ~/boost_1_31_0/libs/python/build
   $ export PYTHON_ROOT=/usr
   $ export PYTHON_VERSION=2.2
   $ bjam

   $ cd ~/boost_1_31_0/
   $ bjam --prefix=$HOME/local -sTOOLS=gcc "-sBUILD=release <runtime-link>static/dynamic <threading>single/multi" install

   $ cd ~/local/include
   $ mv boost-1_31/boost .
   $ rmdir boost-1_31

   $ cd ~/local/lib
   $ ln -s libboost_thread-gcc-mt.so libboost_thread.so

Retrieved from "http://kincora.cds.caltech.edu../../../b/o/o/Boost_Compile_from_scratch_9737.html"

This page has been accessed 61 times. This page was last modified 03:15, 18 October 2004 by DGC Wiki user Henrik. Based on work by DGC Wiki user(s) Lars.


[Main Page]
Main Page
Alice Docs
DGC07
DGC05
Categories
Recent changes
Help

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports