Boost logo

Boost Users :

From: Virginia Volk (vvolk_at_[hidden])
Date: 2002-06-18 15:07:27


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<const _T1 *,_T2> _STL::make_pair(const _T1 (&)[_Sz],
const _T2 &)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:108: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function
`struct _STL::pair<const _T1 *,const _T2 *> _STL::make_pair(const _T1
(&)[_Sz1], const _T2 (&)[_Sz2])':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:115: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function
`struct _STL::pair<_T1,_T2> _STL::make_pair(const _T1 &, const _T2 &)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:123: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::rel_ops::operator !=(const _Tp &, const _Tp &)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:134: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::rel_ops::operator >(const _Tp &, const _Tp &)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:139: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::rel_ops::operator <=(const _Tp &, const _Tp &)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:144: template with
C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h: In function `bool
_STL::rel_ops::operator >=(const _Tp &, const _Tp &)':
/core/elements/cots/stlport-4.5.3/stlport/stl/_pair.h:149: template with
C linkage
In file included from
/core/elements/cots/stlport-4.5.3/stlport/stl/_iterator_base.h:38,
                 from
/core/elements/cots/stlport-4.5.3/stlport/stl/_algobase.h:55,
                 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/type_traits.h: At top
level:
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:68: template
with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:80: template
with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:91: template
with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:92: template
with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:213:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:214:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:217:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:222:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:228:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:229:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:232:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:236:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:276:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:282:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:354:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h: In function
`struct _STL::_OKToMemCpy<_Tp1,_Tp2> _STL::_IsOKToMemCpy(_Tp1 *, _Tp2
*)':
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:364:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h: At top
level:
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:369:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h: In function
`struct _STL::_IsPOD<_Tp> _STL::_Is_POD(_Tp *)':
/core/elements/cots/stlport-4.5.3/stlport/stl/type_traits.h:375:
template with C linkage
In file included from
/core/elements/cots/stlport-4.5.3/stlport/stl/_algobase.h:55,
                 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/_iterator_base.h: At top
level:
/core/elements/cots/stlport-4.5.3/stlport/stl/_iterator_base.h:52:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_iterator_base.h:91:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_iterator_base.h:110:
template with C linkage
/core/elements/cots/stlport-4.5.3/stlport/stl/_iterator_base.h:119:
template with C linkage
 
 
-----Original Message-----
From: news [mailto:news_at_[hidden]] On Behalf Of David Abrahams
Sent: Tuesday, June 18, 2002 6:10 AM
To: boost-users_at_[hidden]
Subject: [Boost-Users] Re: compilation problem on solaris-gcc with
stlport
 

"vavboostid" <vvolk_at_[hidden]> wrote in message
news:aekhmg+bput_at_eGroups.com...
> 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_at_y..., "David Abrahams" <david.abrahams_at_r...>
> wrote:
> >
> > "Virginia Volk" <vvolk_at_a...> wrote in message
> > news:001101c213d1$75c6ca50$b74414ac_at_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_at_[hidden]>

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]


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net