Public/tip & tech

Boost 설치

quantapia 2008. 4. 17. 16:12
1. boost_1_34_1.tar.gz, boost-jam-3.1.14-1-linuxx86.tgz을 다운받는다

# GET http://dl.sourceforge.net/sourceforge/boost/boost_1_34_1.tar.gz > boost_1_34_1.tar.gz
# GET http://www.mirrorservice.org/sites/download.sourceforge.net/pub/
sourceforge/b/bo/boost/boost-jam-3.1.14-1-linuxx86.tgz > boost-jam-3.1.14-1-linuxx86.tgz


2. 압축을 푼다

# tar xvfz boost_1_34_1.tar.gz
# tar xvfz boost-jam-3.1.14-1-linuxx86.tgz

3. boost-jam을 설치

# su          < root 권한으로.. >
# cd boost-jam-3.1.14
# ./build.sh

4. boost-jam 설치후 bjam 실행파일이 제대로 생성되었는지 확인한다.

# cd bin.linuxx86
# ls
bjam

5. boost 설치
# cd ~/boost_1_34_1
# (bjam 경로)/bjam --build-dir=/tmp/build-boost --toolset=gcc stage


stage 와 install 이 있음