Boost logo

Boost-Build :

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

I'm trying to build Boost 1.48.0 using Solaris Studio 12.2. 
# cd /usr/include/boost_1_48_0 
# ./ --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
[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:

"./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.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at