summaryrefslogtreecommitdiff
path: root/README.building-boost
diff options
context:
space:
mode:
Diffstat (limited to 'README.building-boost')
-rw-r--r--README.building-boost35
1 files changed, 35 insertions, 0 deletions
diff --git a/README.building-boost b/README.building-boost
new file mode 100644
index 000000000..0e7059de3
--- /dev/null
+++ b/README.building-boost
@@ -0,0 +1,35 @@
+Until boost 1.35 (or later) ships with the distributions, you'll need
+to download and build it yourself. It's not hard, and it can
+peacefully coexist with earlier versions of boost.
+
+Download the latest version of boost from boost.sourceforge.net.
+(boost_1_36_0.tar.bz2 was the latest when this was written)
+
+unpack it somewhere
+cd into the resulting directory
+
+$ cd boost_1_36_0
+
+# Pick a prefix to install it into. I used /opt/boost_1_36_0
+
+$ BOOST_PREFIX=/opt/boost_1_36_0
+
+$ ./configure --prefix=$BOOST_PREFIX --with-libraries=thread,date_time
+$ make
+$ make install
+
+# Done! That was easy!
+
+----------------------------------------------------------------
+
+Now, tell gnuradio where to find it:
+
+$ export LD_LIBRARY_PATH=$BOOST_PREFIX/lib
+
+$ cd <path-to-top-of-gnuradio-tree>
+$ ./bootstrap
+$ ./configure --with-boost=$BOOST_PREFIX # plus whatever config args you usually use
+
+$ make && make check
+$ sudo make install
+