Boost logo

Boost-Build :

Subject: [Boost-build] opensolaris boost build newbie template error
From: Karun Gahlawat (karun.gahlawat_at_[hidden])
Date: 2009-01-23 21:56:10


Hi!

Having issues with build. Under are the configurations and results. Most of
them are template so I am guessing it has to do with stlport.. I am using
SunStudioExpress 10/2008.

Here is my OS
uname -a
SunOS 5.11 snv_101b i86pc i386 i86pc

 which CC
/usr/bin/CC

Compiler
CC -V
CC: Sun Ceres C++ 5.10 SunOS_i386 2008/10/22

user-config.jam

cat /opt/boost_1_37_0/user-config.jam
# Boost.Build Configuration
# Automatically generated by Boost configure

# Compiler configuration
using sun ;
>>>>>> don't see the compiler flags for stlport.. could this be the reason?

# Python configuration
using python : 2.4 : /usr ;

Configure
./configure --with-toolset=sun > /tmp/boost.configure.log 2>&1

-n Building Boost.Jam with toolset sun...
tools/jam/src/bin.solaris/bjam
-n Detecting Python version...
2.4
-n Detecting Python root...
/usr
-n Unicode/ICU support for Boost.Regex?...
not found.
Backing up existing Boost.Build configuration in user-config.jam.4
Generating Boost.Build configuration in user-config.jam...
Generating Makefile...

Install

make install > /tmp/boost.install.log 2>&1

This log is too big so attaching in a file. Printing extract

./tools/jam/src/bin.solaris/bjam --user-config=user-config.jam
--prefix=/usr/local --exec-prefix=/usr/local --libdir=/usr/local/lib
--includedir=/usr/local/include install
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Note: Please refer to the Boost.Regex documentation for more information
Note: this is a strictly optional feature.
...patience...
...patience...
...patience...
...found 19160 targets...
...updating 304 targets...
sun.compile.c++ bin.v2/libs/math/build/sun/release/threading-multi/acosh.o
"./boost/array.hpp", line 75: Error: Too few arguments for template
std::reverse_iterator<boost::T*>.
"./boost/array.hpp", line 289: Where: While spec"./boost/array.hpp",
line 289: Where: Specialized in non-template code.
"./boost/array.hpp", line 76: Error: Too few arguments for template
std::reverse_iterator<const boost::T*>.
"./boost/array.hpp", line 289: Where: While specializing
"boost::array<boost::T, boost::N>".
"./boost/array.hpp", line 289: Where: Specialized in non-template code.
2 Error(s) detected.

    "CC" -fast -mt -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1
-DNDEBUG -I"." -c -o
"bin.v2/libs/math/build/sun/release/threading-multi/acosh.o"
"libs/math/build/../src/tr1/acosh.cpp"

...failed sun.compile.c++
bin.v2/libs/math/build/sun/release/threading-multi/acosh.o...
sun.compile.c++ bin.v2/libs/math/build/sun/release/threading-multi/asinh.o
"./boost/array.hpp", line 75: Error: Too few arguments for template
std::reverse_iterator<boost::T*>.
"./boost/array.hpp", line 289: Where: While specializing
"boost::array<boost::T, boost::N>".
"./boost/array.hpp", line 289: Where: Specialized in non-template code.
"./boost/array.hpp", line 76: Error: Too few arguments for template
std::reverse_iterator<const boost::T*>.
"./boost/array.hpp", line 289: Where: While specializing
"boost::array<boost:
ializing "boost::array<boost::T, boost::N>".

Thanks for your help!

Regards
Karun





Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk