Need Help in install Boost on Redhat Linux

T

TonyHa

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.
 
V

Victor Bazarov

TonyHa said:
[..] 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
 
S

Salt_Peter

TonyHa said:
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.
 
T

TonyHa

Thanks for your help!

Salt_Peter said:
TonyHa said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top