Simplify USE_SELECT usage
[debian/gnuradio] / README.building-boost
1 Until boost 1.35 (or later) ships with the distributions, you'll need
2 to download and build it yourself.  It's not hard, and it can
3 peacefully coexist with earlier versions of boost.
4
5 Download the latest version of boost from boost.sourceforge.net.
6 (boost_1_36_0.tar.bz2 was the latest when this was written)
7
8 unpack it somewhere
9 cd into the resulting directory
10
11 $ cd boost_1_36_0
12
13 # Pick a prefix to install it into.  I used /opt/boost_1_36_0
14
15 $ BOOST_PREFIX=/opt/boost_1_36_0
16
17 $ ./configure --prefix=$BOOST_PREFIX --with-libraries=thread,date_time,program_options
18 $ make
19 $ make install
20
21 # Done!  That was easy!
22
23 ----------------------------------------------------------------
24
25 Now, tell gnuradio where to find it:
26
27 $ export LD_LIBRARY_PATH=$BOOST_PREFIX/lib
28
29 $ cd <path-to-top-of-gnuradio-tree>
30 $ ./bootstrap
31 $ ./configure --with-boost=$BOOST_PREFIX  # plus whatever config args you usually use
32
33 $ make && make check
34 $ sudo make install
35