Boost logo

Boost-Build :

Subject: Re: [Boost-build] opensolaris boost build newbie template error
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-01-24 09:04:20


On Saturday 24 January 2009 05:56:10 Karun Gahlawat wrote:
> Hi!
>
> Having issues with build. Under are the configurations and results. Most of
> them are template so I am guessing it has to do with stlport.. I am using
> SunStudioExpress 10/2008.
>
> Here is my OS
> uname -a
> SunOS 5.11 snv_101b i86pc i386 i86pc
>
> which CC
> /usr/bin/CC
>
> Compiler
> CC -V
> CC: Sun Ceres C++ 5.10 SunOS_i386 2008/10/22
>
>
> user-config.jam
>
> cat /opt/boost_1_37_0/user-config.jam
> # Boost.Build Configuration
> # Automatically generated by Boost configure
>
> # Compiler configuration
> using sun ;
> >>>>>> don't see the compiler flags for stlport.. could this be the reason?
>
> # Python configuration
> using python : 2.4 : /usr ;
>
>
> Configure
> ./configure --with-toolset=sun > /tmp/boost.configure.log 2>&1
>
> -n Building Boost.Jam with toolset sun...
> tools/jam/src/bin.solaris/bjam
> -n Detecting Python version...
> 2.4
> -n Detecting Python root...
> /usr
> -n Unicode/ICU support for Boost.Regex?...
> not found.
> Backing up existing Boost.Build configuration in user-config.jam.4
> Generating Boost.Build configuration in user-config.jam...
> Generating Makefile...
>
>
> Install
>
> make install > /tmp/boost.install.log 2>&1
>
> This log is too big so attaching in a file. Printing extract
>
>
>
>
> ./tools/jam/src/bin.solaris/bjam --user-config=user-config.jam
> --prefix=/usr/local --exec-prefix=/usr/local --libdir=/usr/local/lib
> --includedir=/usr/local/include install

I believe you need to arrange for the above command line to include

        stdlib=sun-stlport

You probably can hack up Makefile to that effect, or copy-paste the
above command and add the extra option.

- Volodya


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