Boost logo

Boost Users :

From: Chris Coleman (cqc_at_[hidden])
Date: 2005-01-05 06:04:47


I'm struggling with Boost (1.32) on Solaris 8 at the moment - I do not
have root access to the machine.

The default compiler is gcc-2.95, and so has no <ostream> <locale> etc
so the -sTOOLS=gcc toolset won't work. I then thought that the solution
would be to install STLPort, but can't get this to build cleanly.

Since then I have discovered that there is another version of gcc
(gcc-3.2) hidden in /opt/sfw/gcc-3.2. With this I then built the boost
libraries again, and installed them with the line:

bjam "--prefix=/staff/cqc/ -sGCC_ROOT_DIRECTORY=/opt/sfw/gcc-3.2
-sTOOLS=gcc" install

This seemed to work fine with no problems at all. I then moved the
headers, and the libs to the approprite places, and set about compiling
my project.

The result below is repeated many many times about various files:

/opt/sfw/gcc-3.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-c -o zz_broker.o `test -f zz_broker.cpp || echo './'`zz_broker.cpp
In file included from /opt/sfw/gcc-3.2/include/c++/3.2/utility:66,
                 from /staff/cqc/include/boost/config.hpp:40,
                 from /staff/cqc/include/boost/smart_ptr.hpp:14,
                 from zz_broker.h:28,
                 from zz_broker.cpp:24:
/opt/sfw/gcc-3.2/include/c++/3.2/bits/stl_relops.h:91: template with C
/opt/sfw/gcc-3.2/include/c++/3.2/bits/stl_relops.h:104: template with C
/opt/sfw/gcc-3.2/include/c++/3.2/bits/stl_relops.h:117: template with C
/opt/sfw/gcc-3.2/include/c++/3.2/bits/stl_relops.h:130: template with C

I have searched the list archives and googled around quite alot, but
can't seem to find any info.

Any help will be greatly recieved,

This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at