Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to built boost?
From: gilam.roth_at_[hidden]
Date: 2010-11-22 07:09:36


Hello,

I read the documentation, I use Solaris and follow step by step the docs.
Boost is not being build, bjam does not work even on the boost example.
Trying to use unit test module with other previously build libs and make file, will generate errors about std.
Maybe because it insist on having cpp.
Yes, I did setenv to boost_dir and boost_root and change the linker option to sun.
No one is answering my question about this on the forum, and I revel I'm not the first and only one having this troubles.
Also it seems that the boost library is meant to serve first and most likely Microsoft users. That's a real disappointment.
It seems to me that more effort could be made on a clear documentation, now it is vogue and lot left to the user imagination when coming to configuration. Yes, I know simply do 3 steps simply run the sh, alas, it is so simple that it don't work.
The situation seem to be gloom and doom. A very big disappointment, and pity. It seems that lots of good people contribute to this wonderful framework but it seem to work only on Microsoft and maybe Linux, what a waste.

If anybody think he can help me I will be glad to use boost, otherwise it seems that on Solaris I'll had to use Ulib or something like this.

-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: Monday, November 22, 2010 9:11 AM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] How to built boost?

On Sunday, November 21, 2010 14:57:41 Вячеслав Блинников wrote:
> Hello. I cannnot build the boost library. Part of it which are not
> require .cpp file ("lexical_cast") works well and I use it already.
> But "serialization" part usage failed ("1>LINK : fatal error LNK1104:
> cannot open file 'libboost_serialization-vc100-mt-gd-1_45.lib'");
> I did:
> - downloaded bjam.exe
>
> - downloaded boost-build and unzipped it to C:\boost-build
>
> - downloaded boost_1_45_0 and unzipped it to C:\boost_1_45_0
>
> - issued commands like "bjam.exe --toolset=msvc
> --prefix=C:\boost_1_45_0 --build-type=complete
> --build-dir="C:\boost_build" --stagedir=C:\boost_build stage"
> result after 5 seconds lag:
>
> C:/boost_1_45_0/tools/build/v2/build\configure.jam:145: in builds-raw
> *** argument error
> * rule UPDATE_NOW ( targets * :
> log ? : ignore-minus-n ? )
> * called with: (
> <pC:\boost_build\boost\bin.v2\libs\regex\build\msvc-10.0\debug\
> threading-multi>has_icu.exe
> <pC:\boost_build\boost\bin.v2\libs\regex\build\msvc-
>
> 10.0\debug\threading-multi>has_icu.pdb : : ignore-minus-n :
> ignore-minus-q )
> * extra argument ignore-minus-q
> (builtin):see definition of rule
> 'UPDATE_NOW' being called
>
> C:/boost_1_45_0/tools/build/v2/build\configure.jam:179: in
> configure.builds
>
> C:/boost_1_45_0/tools/build/v2/build\configure.jam:216: in
> object(check-target-b
> uilds-worker)@409.check
> ...............
>
> C:/boost_1_45_0/tools/build/v2/build\targets.jam:848: in
> targets.generate-from-r
> eference
>
> C:/boost_1_45_0/tools/build/v2/build\targets.jam:1217: in
> generate-dependencies
>
> C:/boost_1_45_0/tools/build/v2/build\targets.jam:1268: in
> alias-target-class.gen
> erate
> Jamroot:648: in build-multiple
>
> Result: I don't have any .lib files.
> What did I wrong?

Well, you have not read the documentation on building ;-)
You only have to:

1. Unpack boost
2. Run ".\bootstrap.bat"
3. Run ".\bjam.exe", optionally adding your --prefix and --build-dir and
--build-type options.

- Volodya

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2
_______________________________________________
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