Boost logo

Boost Users :

From: steven.sims_at_[hidden]
Date: 2005-02-04 03:22:30


Hi,

I'm very new to boost & jam - wanting to use boost::format for
internationalisation.

I'm having problems building on Solaris 9 using the Studio 8 compiler and
accompanying stlport4.

Best results so far are using BBv2 (with boost 1.32.0 distribution I get
100 targets built, 8 failed, 5 skipped). I've read a lot of the online doco
but now grinding to a halt.

This is what I have:

Platform: SunOS 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-V240
Compiler: Sun C++ 5.5 Patch 113817-08 2004/04/13
Distribution: boost-jam-3.1.10 & boost_1_32_0

The tarballs are unpacked in ./boost-jam & ./boost respectively.

I added following lines to my user-config.jam:

using sun ;
using stlport : : /opt/Studio8/SUNWspro/prod/include/CC/stlport4 ;

>From my top-level Makefile, bjam builds ok, then I kick off the boost
build:

      ( \
        PATH=`pwd`/boost-jam/bin.solaris:${PATH} ; \
        BOOST_BUILD_PATH=`pwd`/boost/tools/build/v2 ; \
        export PATH BOOST_BUILD_PATH ; \
        cd boost ; \
        bjam --v2 \
      )

The build errors in the 8 failed targets are mostly template-related (no
surprise there!). By minor tweaks to a few sources, I'm down to 3 failed, 2
skipped; but the remaining problems I find a bit more obscure.

I can post actual errors if desired, but my initial questions are:

# Am I doing anything obviously dumb in the above? Eg. should I be using
BBv1 rather than BBv2?

# Is anyone successfully building with this compiler? If so, what magic am
I missing?

Plus any other advice would be appreciated (however switching compilers is
not an option :)

Steve Sims


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net