Boost logo

Boost-Build :

Subject: [Boost-build] Building on Solaris Studio 12.2
From: james_at_[hidden]
Date: 2011-11-16 06:31:40


Hiya,
 
I'm trying to build Boost 1.48.0 using Solaris Studio 12.2. 
 
# cd /usr/include/boost_1_48_0 
# ./bootstrap.sh --with-toolset=sun
 
Building Boost.Build engine with toolset sun...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
 
# cat bootstrap.log
<..snip..>
[COMPILE] bin.linuxx86_64/b2
cc: language O4 not recognized
 
This error is repeated many times in the log. 
 
I've also tried building with bjam.
 
# ./bjam toolset=sun stage
 
This gives errors in many libraries, such as:
 
sun.compile.c++
bin.v2/libs/graph/build/sun/release/stdlib-sun-stlport/threading-multi/read_graphviz_new.o

"./boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp", line
30: Error: Multiple declaration for boost::numeric::numeric_cast_traits<char,
char, void>.
 
Any suggestions would really be appreciated.
 
Cheers
James 



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