|
Boost-Build : |
Subject: Re: [Boost-build] opensolaris boost build newbie template error
From: Karun Gahlawat (karun.gahlawat_at_[hidden])
Date: 2009-01-25 13:32:47
thanks Volodya ..
added the stdlib to the command line in Makefile and made some
progress. Now failing here
... seems like unable to build threads..
sun.compile.c++
bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/thread.o
"./boost/thread/detail/thread.hpp", line 344: Error:
boost::thread::thread(boost::thread&) is not accessible from
boost::move
(boost::detail::thread_move_t<boost::thread>).
1 Error(s) detected.
"CC" -library=stlport4 -fast -mt -KPIC -DBOOST_ALL_NO_LIB=1
-DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DNDEBUG -I".
" -c -o "bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/thread.o"
"libs/thread/src/pthread/thread.cp
p"
...failed sun.compile.c++
bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-multi/thread.o...
this is towards the end of install log
...skipped <p/usr/local/lib>libboost_thread-sw-mt.a for lack of
<p/usr/local/lib>libboost_thread-sw-mt-1_37.a...
ln-UNIX /usr/local/lib/libboost_wave-sw-mt.a
...failed updating 2 targets...
...skipped 11 targets...
...updated 740 targets...
Not all Boost libraries built properly.
On Sat, Jan 24, 2009 at 9:04 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
> 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
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
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