QL 0.8.1 / boost 1.34.1 compilation on Solaris 5.8

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

QL 0.8.1 / boost 1.34.1 compilation on Solaris 5.8

moloko
Hi,

I use ./configure with the relevant option for the boost dir and the CXX='CC' option to be able to use the CC compilator. the config ends correctly. But I've got the following error when "making" the project :

 CC -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../.. -I/usr/local/include/boos
t-1_34_1 -g -O2 -Wall -c indexmanager.cpp  -KPIC -DPIC -o .libs/indexmanager.o
CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
"/usr/include/math.h", line 61: Warning (Anachronism): Attempt to redefine M_PI
without using #undef.
"/usr/local/include/boost-1_34_1/boost/algorithm/string/case_conv.hpp", line 148
: Error: Could not find a match for std::string::basic_string(boost::transform_i
terator<boost::algorithm::detail::to_upperF<char>, const char*, boost::use_defau
lt, boost::use_default>, boost::transform_iterator<boost::algorithm::detail::to_
upperF<char>, const char*, boost::use_default, boost::use_default>) needed in bo
ost::algorithm::to_upper_copy<std::string>(const std::string &, const std::local
e&).
1 Error(s) and 1 Warning(s) detected.

I've got the warning on other compil, I can live with it for now. But the Boost
error is a big concern for me.
Does anyone know if upgrading to Solaris 10 could help me ?
Tks,Pierre