Difference between revisions of "Libs: Boost 1.55 on Centos6"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Download == <syntaxhighlight> wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download mv download boost_1_55_0.tar.gz tar zxvf boost_1_55_0.ta...")
 
 
Line 7: Line 7:
  
 
== Install ==
 
== Install ==
 +
 +
In short:
 +
<syntaxhighlight>
 +
cd boost_1_55_0
 +
./boostrap.sh
 +
./b2 install --prefix=/path
 +
</syntaxhighlight>
 +
 +
Actual output:
 
<syntaxhighlight>
 
<syntaxhighlight>
 
[david@head-boston boost_1_55_0]$ ./bootstrap.sh  
 
[david@head-boston boost_1_55_0]$ ./bootstrap.sh  

Latest revision as of 11:20, 24 April 2014

Download

  wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download
  mv download boost_1_55_0.tar.gz
  tar zxvf boost_1_55_0.tar.gz

Install

In short:

cd boost_1_55_0
./boostrap.sh
./b2 install --prefix=/path

Actual output:

[david@head-boston boost_1_55_0]$ ./bootstrap.sh 
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
Detecting Python version... 2.6
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... not found.
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./b2
    
To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help
     
   - Getting started guide: 
     http://www.boost.org/more/getting_started/unix-variants.html
     
   - Boost.Build documentation:
     http://www.boost.org/boost-build2/doc/html/index.html

[david@head-boston boost_1_55_0]$ ./b2 install --prefix=/home/david/build/boost/1.55
link.jam: No such file or directory
Performing configuration checks

    - 32-bit                   : no
    - 64-bit                   : yes
    - arm                      : no
    - mips1                    : no
    - power                    : no
    - sparc                    : no
    - x86                      : yes
..