Difference between revisions of "Boost"
From CBLFS
Jump to navigationJump to searchLine 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://downloads.sourceforge.net/boost/boost_{{Boost_Version}}.tar. | + | | http://downloads.sourceforge.net/boost/boost_{{Boost_Version}}.tar.bz2 |
+ | |- | ||
+ | !Download Patch: | ||
+ | | http://svn.cross-lfs.org/svn/repos/patches/boost/boost-{{Boost_Version2}}-fix-1.patch | ||
|} | |} | ||
Line 16: | Line 19: | ||
Compile the package: | Compile the package: | ||
− | + | patch -Np1 -i ../boost-{{Boost_Version2}}-fix-1.patch && | |
− | + | ./configure --prefix=/usr && | |
+ | make | ||
+ | |||
Install the package: | Install the package: | ||
− | + | make install | |
== Multilib == | == Multilib == | ||
Line 28: | Line 33: | ||
Compile the package: | Compile the package: | ||
+ | patch -Np1 -i ../boost-{{Boost_Version2}}-fix-1.patch && | ||
export USE_ARCH=32 && | export USE_ARCH=32 && | ||
− | + | ./configure --prefix=/usr && | |
− | + | make | |
− | |||
Install the package: | Install the package: | ||
− | + | make install && | |
− | |||
unset USE_ARCH | unset USE_ARCH | ||
Line 53: | Line 57: | ||
Compile the package: | Compile the package: | ||
+ | patch -Np1 -i ../boost-{{Boost_Version2}}-fix-1.patch && | ||
export USE_ARCH=64 && | export USE_ARCH=64 && | ||
− | + | ./configure --prefix=/usr --libdir=/usr/lib64 && | |
− | + | make | |
Install the package: | Install the package: | ||
− | + | make install && | |
− | |||
unset USE_ARCH | unset USE_ARCH | ||
Revision as of 15:42, 27 January 2008
Download Source: | http://downloads.sourceforge.net/boost/boost_1_37_0.tar.bz2 |
---|---|
Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/boost/boost-1.37.0-fix-1.patch |
Contents
Introduction to Boost
Boost provides free peer-reviewed portable C++ source libraries.
Project Homepage: http://www.boost.org/
Dependencies
Required
Non-Multilib
Compile the package:
patch -Np1 -i ../boost-1.37.0-fix-1.patch && ./configure --prefix=/usr && make
Install the package:
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../boost-1.37.0-fix-1.patch && export USE_ARCH=32 && ./configure --prefix=/usr && make
Install the package:
make install && unset USE_ARCH
N32
Compile the package:
To do...
Install the package:
To Do...
64Bit
Compile the package:
patch -Np1 -i ../boost-1.37.0-fix-1.patch && export USE_ARCH=64 && ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package:
make install && unset USE_ARCH
Contents
Installed Directories: | /usr/include/boost-1_37_0 |
---|---|
Installed Programs: | None |
Installed Libraries: | Many libraries |