
Hi, Sun C++ requires some command line options to be able to compile Boost libraries. At least you should use -livarry=stlport4. Take a look at my Boost HowTo at http://blogs.sun.com/sga/entry/boost_mini_howto. It's dedicated to Boost 1.32. Please note that you have to apply patch to make Boost 1.32 compatible to Sun C++. Boost 1.34 works quite good without any patches. Take a look at http://blogs.sun.com/sga/entry/how_to_compile_boost_1 and comments to this post. 2007/7/27, Amit Parate <amit.parate@gmail.com>:
We are using the Boost Regex library for C++ in 1 of our projects. I have downloaded Boost Regex version 1.30. The library compiled fine on Linux with GCC compiler. But we use Sun Solaris 5.9 on 1 of the production boxes with Sun Studio 10 compiler. And it is giving us compilation errors while trying to install the libraries there.
Is there any way you can let us know the appropriate thing to do? I am attaching the output from the ./configure script and the makefile output.
We tried to debug an error and kind of fixed it. I am attaching the change that I made.
-- Simon Atanasyan Sun C++ Development Team