diff options
author | manojgudi | 2013-10-07 14:26:59 +0530 |
---|---|---|
committer | manojgudi | 2013-10-07 14:26:59 +0530 |
commit | 6bc92d66be9975d618ac4cd104e7f5ff6e8605f2 (patch) | |
tree | 3a77657667b4ef037f712ee68a5ec86c86cba5c5 /README.building-boost | |
parent | 452defdb4a78e9e826740ddf4b9673e926c568a4 (diff) | |
parent | e9576e44ef8f0ad67d8cd8a4e025a0f8da0727f8 (diff) | |
download | gnuradio-6bc92d66be9975d618ac4cd104e7f5ff6e8605f2.tar.gz gnuradio-6bc92d66be9975d618ac4cd104e7f5ff6e8605f2.tar.bz2 gnuradio-6bc92d66be9975d618ac4cd104e7f5ff6e8605f2.zip |
merge from gr36_ni branch
Diffstat (limited to 'README.building-boost')
-rw-r--r-- | README.building-boost | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/README.building-boost b/README.building-boost new file mode 100644 index 000000000..a281e8bd7 --- /dev/null +++ b/README.building-boost @@ -0,0 +1,48 @@ +Most distributions have the required version of Boost (1.35) ready for +installation using their standard package installation tools (apt-get, +yum, etc.). + +If running a distribution that requires boost 1.35 (or later) be built +from scratch, these instructions explain how to do so, and in a way +that allows it to peacefully coexist with earlier versions of boost. + +Download the latest version of boost from boost.sourceforge.net. +(boost_1_49_0.tar.bz2 was the latest when this was written). Different +Boost versions often have different installations. If these +instructions don't work, check the website www.boost.org for more +help. + +unpack it somewhere +cd into the resulting directory + +$ cd boost_1_49_0 + +# Pick a prefix to install it into. I used /opt/boost_1_49_0 + +$ BOOST_PREFIX=/opt/boost_1_49_0 + +$ ./bootstrap.sh +$ sudo ./b2 --prefix=$BOOST_PREFIX --with-thread --with-date_time --with-program_options --with-filesystem --with-system --layout=versioned threading=multi variant=release install + +# Done! That was easy! + +Note that you don't have to specify each library, which will then +build all Boost libraries and projects. By specifying only those +required will just save compilation time. + + +---------------------------------------------------------------------- + + +Installing GNU Radio with new Boost libraries. + +Tell cmake to look for the Boost libraries and header files in the new location with the folloing command: + +$ cd <build directory> +$ cmake -DBOOST_ROOT=$BOOST_PREFIX -DBoost_INCLUDE_DIR=$BOOST_PREFIX/include/boost-1_49/ -DBoost_LIBRARY_DIRS=$BOOST_PREFIX/lib <path to gnuradio source tree> +$ make +$ make test +$ sudo make install + +See README for more installation details. + |