Need Help in install Boost on Redhat Linux

Discussion in 'C++' started by TonyHa, Dec 20, 2006.

  1. TonyHa

    TonyHa Guest

    Hello

    I try to install boost_1_33_1 on RedHat Linux.
    I have downloaded boost into /user/dtgtools/tmp and I try to install it
    into
    /user/dtgtools/packages/boost.

    I use the following commands:

    export PYTHON_ROOT="/user/dtgtools/packages/python/2.5"
    export
    PYTHON_LIB_PATH="/user/dtgtools/packages/python/2.5/lib/python2.5"
    export
    PYTHON_INCLUDES="/user/dtgtools/packages/python/2.5/include/python2.5"

    ../bjam "-sTOOLS=gcc" --prefix=/user/dtgtools/packages/boost install

    The gcc version I used is:
    gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)

    and I have the following Error message:

    mkdir "/user/dtgtools"

    ....failed MkDir1 /user/dtgtools...
    ....skipped <directory-grist>/user/dtgtools/packages for lack of
    <directory-grist>/user/dtgtoo
    ls...
    ....skipped <directory-grist>/user/dtgtools/packages/boost for lack of
    <directory-grist>/user/
    dtgtools/packages...
    ....skipped <directory-grist>/user/dtgtools/packages/boost/lib for lack
    of
    <directory-grist>/u
    ser/dtgtools/packages/boost...
    MkDir1 bin
    MkDir1 bin/boost
    MkDir1 bin/boost/libs
    MkDir1 bin/boost/libs/wave
    MkDir1 bin/boost/libs/wave/build
    MkDir1 bin/boost/libs/wave/build/libboost_wave.a
    MkDir1 bin/boost/libs/wave/build/libboost_wave.a/gcc
    MkDir1 bin/boost/libs/wave/build/libboost_wave.a/gcc/debug
    gcc-C++-action
    bin/boost/libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgramma
    r.o
    /tmp/ccTsjJ7v.s: Assembler messages:
    /tmp/ccTsjJ7v.s:10: Error: unknown pseudo-op: `.weakref'
    /tmp/ccTsjJ7v.s:11: Error: unknown pseudo-op: `.weakref'
    /tmp/ccTsjJ7v.s:12: Error: unknown pseudo-op: `.weakref'
    /tmp/ccTsjJ7v.s:13: Error: unknown pseudo-op: `.weakref'
    /tmp/ccTsjJ7v.s:14: Error: unknown pseudo-op: `.weakref'
    /tmp/ccTsjJ7v.s:15: Error: unknown pseudo-op: `.weakref'
    /tmp/ccTsjJ7v.s:16: Error: unknown pseudo-op: `.weakref'
    /tmp/ccTsjJ7v.s:17: Error: unknown pseudo-op: `.weakref'
    /tmp/ccTsjJ7v.s:18: Error: unknown pseudo-op: `.weakref'

    set -e
    "g++" -c -Wall -ftemplate-depth-255 -g -O0 -fno-inline
    -I"bin/boost/libs/wave/build"
    -I"/user/dtgtools/tmp/boost_1_33_1" -I
    "/user/dtgtools/tmp/boost_1_33_1" -o
    "bin/boost/libs/
    wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgrammar.o"
    "/user/dtgtools/tmp/boost
    _1_33_1/libs/wave/build/../src/instantiate_cpp_exprgrammar.cpp"
    "/user/dtgtools/cadbin/objcopy" --set-section-flags
    ..debug_str=contents,debug "bin/boost/
    libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgrammar.o"

    ....failed gcc-C++-action
    bin/boost/libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_
    exprgrammar.o...

    and after that I got a lot of failed message: e.g.

    ....failed gcc-C++-action
    bin/boost/libs/wave/build/libboost_wave.a/gcc/release/instantiate_re2c_lexer.o...
    ....failed gcc-C++-action
    bin/boost/libs/wave/build/libboost_wave.a/gcc/release/cpp_re.o...

    etc...

    What do I do wrong? What is the procedure to install boost into an user
    specified directory under Linux?


    Tony Ha.
     
    TonyHa, Dec 20, 2006
    #1
    1. Advertising

  2. TonyHa wrote:
    > [..] What is the procedure to install boost into an
    > user specified directory under Linux?


    Please go to the Boost web site and consult with their online
    discussion forums. This is a C++ language newsgroup, not "how
    to install <product> on my <OS>" newsgroup.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask
     
    Victor Bazarov, Dec 20, 2006
    #2
    1. Advertising

  3. TonyHa

    Salt_Peter Guest

    TonyHa wrote:
    > Hello
    >
    > I try to install boost_1_33_1 on RedHat Linux.
    > I have downloaded boost into /user/dtgtools/tmp and I try to install it
    > into
    > /user/dtgtools/packages/boost.
    >
    > I use the following commands:
    >
    > export PYTHON_ROOT="/user/dtgtools/packages/python/2.5"
    > export
    > PYTHON_LIB_PATH="/user/dtgtools/packages/python/2.5/lib/python2.5"
    > export
    > PYTHON_INCLUDES="/user/dtgtools/packages/python/2.5/include/python2.5"
    >
    > ./bjam "-sTOOLS=gcc" --prefix=/user/dtgtools/packages/boost install


    [OT]
    Consult the following and adjust the TOOLS variable above as
    appropriate.
    http://www.boost.org/more/getting_started.html#Tools

    Another alternative (if you enjoy Red Hat) is to consider Fedora Core
    6. It comes with boost as an available package. I can't say much about
    FC6, but FC5 is simply outstanding. And it too has boost available as a
    yum package.

    >
    > The gcc version I used is:
    > gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)
    >
    > and I have the following Error message:
    >
    > mkdir "/user/dtgtools"
    >
    > ...failed MkDir1 /user/dtgtools...
    > ...skipped <directory-grist>/user/dtgtools/packages for lack of
    > <directory-grist>/user/dtgtoo
    > ls...
    > ...skipped <directory-grist>/user/dtgtools/packages/boost for lack of
    > <directory-grist>/user/
    > dtgtools/packages...
    > ...skipped <directory-grist>/user/dtgtools/packages/boost/lib for lack
    > of
    > <directory-grist>/u
    > ser/dtgtools/packages/boost...
    > MkDir1 bin
    > MkDir1 bin/boost
    > MkDir1 bin/boost/libs
    > MkDir1 bin/boost/libs/wave
    > MkDir1 bin/boost/libs/wave/build
    > MkDir1 bin/boost/libs/wave/build/libboost_wave.a
    > MkDir1 bin/boost/libs/wave/build/libboost_wave.a/gcc
    > MkDir1 bin/boost/libs/wave/build/libboost_wave.a/gcc/debug
    > gcc-C++-action
    > bin/boost/libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgramma
    > r.o
    > /tmp/ccTsjJ7v.s: Assembler messages:
    > /tmp/ccTsjJ7v.s:10: Error: unknown pseudo-op: `.weakref'
    > /tmp/ccTsjJ7v.s:11: Error: unknown pseudo-op: `.weakref'
    > /tmp/ccTsjJ7v.s:12: Error: unknown pseudo-op: `.weakref'
    > /tmp/ccTsjJ7v.s:13: Error: unknown pseudo-op: `.weakref'
    > /tmp/ccTsjJ7v.s:14: Error: unknown pseudo-op: `.weakref'
    > /tmp/ccTsjJ7v.s:15: Error: unknown pseudo-op: `.weakref'
    > /tmp/ccTsjJ7v.s:16: Error: unknown pseudo-op: `.weakref'
    > /tmp/ccTsjJ7v.s:17: Error: unknown pseudo-op: `.weakref'
    > /tmp/ccTsjJ7v.s:18: Error: unknown pseudo-op: `.weakref'
    >
    > set -e
    > "g++" -c -Wall -ftemplate-depth-255 -g -O0 -fno-inline
    > -I"bin/boost/libs/wave/build"
    > -I"/user/dtgtools/tmp/boost_1_33_1" -I
    > "/user/dtgtools/tmp/boost_1_33_1" -o
    > "bin/boost/libs/
    > wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgrammar.o"
    > "/user/dtgtools/tmp/boost
    > _1_33_1/libs/wave/build/../src/instantiate_cpp_exprgrammar.cpp"
    > "/user/dtgtools/cadbin/objcopy" --set-section-flags
    > .debug_str=contents,debug "bin/boost/
    > libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgrammar.o"
    >
    > ...failed gcc-C++-action
    > bin/boost/libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_
    > exprgrammar.o...
    >
    > and after that I got a lot of failed message: e.g.
    >
    > ...failed gcc-C++-action
    > bin/boost/libs/wave/build/libboost_wave.a/gcc/release/instantiate_re2c_lexer.o...
    > ...failed gcc-C++-action
    > bin/boost/libs/wave/build/libboost_wave.a/gcc/release/cpp_re.o...
    >
    > etc...
    >
    > What do I do wrong? What is the procedure to install boost into an user
    > specified directory under Linux?
    >
    >
    > Tony Ha.
     
    Salt_Peter, Dec 21, 2006
    #3
  4. TonyHa

    TonyHa Guest

    Thanks for your help!

    Salt_Peter wrote:
    > TonyHa wrote:
    > > Hello
    > >
    > > I try to install boost_1_33_1 on RedHat Linux.
    > > I have downloaded boost into /user/dtgtools/tmp and I try to install it
    > > into
    > > /user/dtgtools/packages/boost.
    > >
    > > I use the following commands:
    > >
    > > export PYTHON_ROOT="/user/dtgtools/packages/python/2.5"
    > > export
    > > PYTHON_LIB_PATH="/user/dtgtools/packages/python/2.5/lib/python2.5"
    > > export
    > > PYTHON_INCLUDES="/user/dtgtools/packages/python/2.5/include/python2.5"
    > >
    > > ./bjam "-sTOOLS=gcc" --prefix=/user/dtgtools/packages/boost install

    >
    > [OT]
    > Consult the following and adjust the TOOLS variable above as
    > appropriate.
    > http://www.boost.org/more/getting_started.html#Tools
    >
    > Another alternative (if you enjoy Red Hat) is to consider Fedora Core
    > 6. It comes with boost as an available package. I can't say much about
    > FC6, but FC5 is simply outstanding. And it too has boost available as a
    > yum package.
    >
    > >
    > > The gcc version I used is:
    > > gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)
    > >
    > > and I have the following Error message:
    > >
    > > mkdir "/user/dtgtools"
    > >
    > > ...failed MkDir1 /user/dtgtools...
    > > ...skipped <directory-grist>/user/dtgtools/packages for lack of
    > > <directory-grist>/user/dtgtoo
    > > ls...
    > > ...skipped <directory-grist>/user/dtgtools/packages/boost for lack of
    > > <directory-grist>/user/
    > > dtgtools/packages...
    > > ...skipped <directory-grist>/user/dtgtools/packages/boost/lib for lack
    > > of
    > > <directory-grist>/u
    > > ser/dtgtools/packages/boost...
    > > MkDir1 bin
    > > MkDir1 bin/boost
    > > MkDir1 bin/boost/libs
    > > MkDir1 bin/boost/libs/wave
    > > MkDir1 bin/boost/libs/wave/build
    > > MkDir1 bin/boost/libs/wave/build/libboost_wave.a
    > > MkDir1 bin/boost/libs/wave/build/libboost_wave.a/gcc
    > > MkDir1 bin/boost/libs/wave/build/libboost_wave.a/gcc/debug
    > > gcc-C++-action
    > > bin/boost/libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgramma
    > > r.o
    > > /tmp/ccTsjJ7v.s: Assembler messages:
    > > /tmp/ccTsjJ7v.s:10: Error: unknown pseudo-op: `.weakref'
    > > /tmp/ccTsjJ7v.s:11: Error: unknown pseudo-op: `.weakref'
    > > /tmp/ccTsjJ7v.s:12: Error: unknown pseudo-op: `.weakref'
    > > /tmp/ccTsjJ7v.s:13: Error: unknown pseudo-op: `.weakref'
    > > /tmp/ccTsjJ7v.s:14: Error: unknown pseudo-op: `.weakref'
    > > /tmp/ccTsjJ7v.s:15: Error: unknown pseudo-op: `.weakref'
    > > /tmp/ccTsjJ7v.s:16: Error: unknown pseudo-op: `.weakref'
    > > /tmp/ccTsjJ7v.s:17: Error: unknown pseudo-op: `.weakref'
    > > /tmp/ccTsjJ7v.s:18: Error: unknown pseudo-op: `.weakref'
    > >
    > > set -e
    > > "g++" -c -Wall -ftemplate-depth-255 -g -O0 -fno-inline
    > > -I"bin/boost/libs/wave/build"
    > > -I"/user/dtgtools/tmp/boost_1_33_1" -I
    > > "/user/dtgtools/tmp/boost_1_33_1" -o
    > > "bin/boost/libs/
    > > wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgrammar.o"
    > > "/user/dtgtools/tmp/boost
    > > _1_33_1/libs/wave/build/../src/instantiate_cpp_exprgrammar.cpp"
    > > "/user/dtgtools/cadbin/objcopy" --set-section-flags
    > > .debug_str=contents,debug "bin/boost/
    > > libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_exprgrammar.o"
    > >
    > > ...failed gcc-C++-action
    > > bin/boost/libs/wave/build/libboost_wave.a/gcc/debug/instantiate_cpp_
    > > exprgrammar.o...
    > >
    > > and after that I got a lot of failed message: e.g.
    > >
    > > ...failed gcc-C++-action
    > > bin/boost/libs/wave/build/libboost_wave.a/gcc/release/instantiate_re2c_lexer.o...
    > > ...failed gcc-C++-action
    > > bin/boost/libs/wave/build/libboost_wave.a/gcc/release/cpp_re.o...
    > >
    > > etc...
    > >
    > > What do I do wrong? What is the procedure to install boost into an user
    > > specified directory under Linux?
    > >
    > >
    > > Tony Ha.
     
    TonyHa, Dec 22, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel
    Replies:
    0
    Views:
    814
    Daniel
    Apr 12, 2005
  2. U. George
    Replies:
    4
    Views:
    843
    U. George
    Aug 11, 2005
  3. jang, seungwook

    pyxml-0.8.3 install problem on RedHat 9

    jang, seungwook, Jan 9, 2004, in forum: Python
    Replies:
    1
    Views:
    349
    Harry George
    Jan 9, 2004
  4. Sheldon Plankton

    Can't install Python 2.3 on RedHat 9

    Sheldon Plankton, Aug 26, 2004, in forum: Python
    Replies:
    0
    Views:
    330
    Sheldon Plankton
    Aug 26, 2004
  5. Leo Jay
    Replies:
    0
    Views:
    325
    Leo Jay
    Sep 28, 2005
Loading...

Share This Page