473,386 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Need Help in install Boost on Redhat Linux

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
3 5601
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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ccc31807 | last post by:
Trying to install Oracle 9i on Redhat 9.0 Get the following error message: Initializing Java Virtual Machine from /tmp/OraInstall2004-01-26_09-11-42pm/jre/bin/java. Plear wait ... xlib:...
0
by: Eric Raymond | last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise Linux AS Beta 1 (Taroon), we get the follwing error: Installing all prepared tables /usr/bin/mysql_install_db: line 1: 7690...
0
by: Gary Cote | last post by:
>Description: I've recently compiled mysql 4.0.14 on redhat 8.0. The installation fails, however, when running mysql_install_db. I've attached a transcript below. I gather from searching the...
2
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but...
4
by: KJemison | last post by:
Well.... just wanted to know if the people at the MySQL.org site ever look at the posts in this group. If they do, they can possibly us a little constructive criticism from a slightly irritated...
1
by: Jean-Christian Imbeault | last post by:
On my RH 9.0 linux system when ./configuring 7.3.4 I get an error about not finding the readline libs, however both the readline and readline-devel rpms are installed: # rpm -qa | grep readline...
2
by: zeb nest | last post by:
Hello, I have some problem to launch db2setup (install procedure for db2v8fp3) under linux (redhat 9.0) : /home/root/db2v8/conpe/db2/linux/install/db2jinst: line 131: 4359 Erreur de...
3
by: Chris Jones | last post by:
Hi, I've experimenting with using boost::pool_allocator with std::vector and gcc (4.1)., and I am having problems with segmentation violations. Below I give a simple example of one way I am...
4
by: eby | last post by:
i am knew to linux and i want to know more about it.so as a first step i want to install it in my computer.From where i will get the linux .From this forum i knew that ubuntu is somewhat easier to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.