By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,116 Members | 911 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,116 IT Pros & Developers. It's quick & easy.

Need Help in install Boost on Redhat Linux

P: n/a
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.

Dec 20 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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 <producton 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
Dec 20 '06 #2

P: n/a

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.
Dec 21 '06 #3

P: n/a
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.
Dec 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.