Thank you for the help so far. Ok, I run the following line:
bjam_solaris -a "-sTOOLS=gcc-stlport" "-sBUILD=debug release"
"-sSTLPORT_ROOT=/core/elements/cots/stlport-4.5.3"
where:
-bjam_solaris - www.boost.org Boost.Jam executable for SUN Solaris
-boost 1.28.0
-stlport 4.5.3
-gcc 2.95.3
I still get the following errors (only first part reprinted here for
size):
---------------------------------------------------------------------
skipping Boost.Python library build
You can configure the location of your python installation, by setting:
PYTHON_ROOT - currently "/usr/local"
PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
"2.2", NOT "2.2.1") - currently "1.5"
The following are automatically configured from PYTHON_ROOT if not
otherwise set:
PYTHON_INCLUDES - path to Python #include directories; currently
"/usr/local/include/python1.5"
PYTHON_LIB_PATH - path to Python library; currently
"/usr/local/lib/python1.5/config"
PYTHON_STDLIB_PATH - path to Python standard library modules;
currently
"/usr/local/lib/python1.5"
---------------------------------------------------------------------
...found 818 targets...
...updating 103 targets...
MkDir1 libs/regex/build/bin-stage
MkDir1 libs/regex/build/bin
MkDir1 libs/regex/build/bin/libboost_regex.a
MkDir1 libs/regex/build/bin/libboost_regex.a/gcc-stlport
MkDir1 libs/regex/build/bin/libboost_regex.a/gcc-stlport/debug
MkDir1
libs/regex/build/bin/libboost_regex.a/gcc-stlport/debug/runtime-link-dyn
amic
gcc-C++-action
libs/regex/build/bin/libboost_regex.a/gcc-stlport/debug/runtime-link-dyn
amic/c_regex_traits.o
In file included from
/core/elements/cots/stlport-4.5.3/stlport/stl/_algobase.h:51,
from
/core/elements/cots/stlport-4.5.3/stlport/stl/_list.h:34,
from /core/elements/cots/stlport-4.5.3/stlport/list:35,
from libs/regex/build/../src/c_regex_traits.cpp:27:
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:37: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:52: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In method
`_STL::pair<_T1,_T2>::pair(const _STL::pair<_U1,_U2> &)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:52: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::operator ==(const _STL::pair<_T1,_T2> &, const _STL::pair<_T1,_T2>
&)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:61: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::operator <(const _STL::pair<_T1,_T2> &, const _STL::pair<_T1,_T2>
&)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:67: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::operator !=(const _STL::pair<_T1,_T2> &, const _STL::pair<_T1,_T2>
&)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:75: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::operator >(const _STL::pair<_T1,_T2> &, const _STL::pair<_T1,_T2>
&)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:80: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::operator <=(const _STL::pair<_T1,_T2> &, const _STL::pair<_T1,_T2>
&)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:85: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::operator >=(const _STL::pair<_T1,_T2> &, const _STL::pair<_T1,_T2>
&)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:90: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function
`struct _STL::pair<_T1,const _T2 *> _STL::make_pair(const _T1 &, const
_T2 (&)[_Sz])':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:101: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function
`struct _STL::pair
bjam_solaris is the executable of bjam I downloaded from the boost site for solaris. I renamed it so I would remember what platform it was for. Yes, I believe the -sBuild lines have no affect, they do not change the errors if I remove them. Why do they have no affect?
Because the variables are case-sensitive. -sBUILD=, as you write later on, is the proper spelling.
How do I compile both debug and release, static and dynamic libraries? I am using the source code for boost 1.28.0.
Not every one of the buildable boost libraries supplies both static and dynamic libraries on all platforms; you'll need to rely on the Jamfiles which specify them to "do the right thing". The <runtime-link> feature controls which C++ runtime library version gets linked to the result, not whether it's static or dynamic. The best you can do is bjam_solaris -a "-sTOOLS=gcc-stlport" "-sBUILD=debug release" -sSTLPORT_ROOT=/core/elements/cots/stlport-4.5.3 HTH, Dave
Thank you very much, Virginia
--- In Boost-Users@y..., "David Abrahams"
wrote: "Virginia Volk"
wrote in message news:001101c213d1$75c6ca50$b74414ac@v... Does anyone know why I am seeing problems?
I am trying to compile boost on a SunOS 5.6 with gcc 2.95.3,
using
stlport 4.5.3.
I use the following cmd:
bjam_solaris -a "-sTOOLS=gcc-stlport" "-sBuild= debug release <stlport-iostream>on" "-sBUILD=debug release <runtime-link>static/dynamic" "-sSTLPORT_ROOT=/core/elements/cots/stlport-4.5.3"
That's a pretty confused command-line. The "-sBuild= ..." option will have no effect. What is bjam_solaris?
Looks to me like you're using an old release of Boost. Is this 1.28.0, or something earlier?
-Dave
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. [Non-text portions of this message have been removed]