|
Boost-Build : |
Subject: Re: [Boost-build] [Locale] Help Needed with Boost-Build
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-09-23 05:01:44
Hello,
I'm trying to use it (Debian Linux x86_64, I've checked out trunk of boost)
I'm getting following errors:
$ bjam -d+2 -sBOOST_ROOT=/home/artik/Packages/boost/boost_svn
libs/locale/build/Jamfile.v2:74: in
Jamfile</home/artik/Projects/FastBlog/cppblog/boost_locale/libs/locale/build>.configure
*** argument error
* rule configure.builds ( metatarget-reference : project : ps : what )
* called with: ( has_iconv : <asynch-exceptions>off
<conditional>@Jamfile</home/artik/Projects/FastBlog/cppblog/boost_locale/libs/locale/build>%Jamfile</home/artik/Projects/FastBlog/cppblog/boost_locale/libs/locale/build>.configure
<debug-symbols>on <exception-handling>on <extern-c-nothrow>off
<hardcode-dll-paths>true <host-os>linux <inlining>off <install-dependencies>off
<link>shared <optimization>off <os>LINUX <pch>on <preserve-test-targets>on
<profiling>off <python-debugging>off <python>2.5 <rtti>on <runtime-debugging>on
<runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false
<symlink-location>project-relative <target-os>linux <threadapi>pthread
<threading>multi <toolset-gcc:version>4.3.2 <toolset>gcc <use>/boost//headers
<user-interface>console <variant>debug <warnings-as-errors>off <warnings>on :
iconv (libc) )
* extra argument
<conditional>@Jamfile</home/artik/Projects/FastBlog/cppblog/boost_locale/libs/locale/build>%Jamfile</home/artik/Projects/FastBlog/cppblog/boost_locale/libs/locale/build>.configure
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/configure.jam:120:see
definition of rule 'builds' being called
/home/artik/Packages/boost/boost_svn/tools/build/v2/kernel/modules.jam:103: in
modules.call-in
/home/artik/Packages/boost/boost_svn/tools/build/v2/util/indirect.jam:96: in
indirect.call
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/targets.jam:1012: in
evaluate-requirements
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/targets.jam:1065: in
common-properties2
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/targets.jam:937: in
targets.common-properties
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/targets.jam:1249: in
object(typed-target)@652.generate
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/targets.jam:732: in
generate-really
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/targets.jam:704: in
object(main-target)@660.generate
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/targets.jam:258: in
object(project-target)@621.generate
/home/artik/Packages/boost/boost_svn/tools/build/v2/build/targets.jam:258: in
object(project-target)@40.generate
/home/artik/Packages/boost/boost_svn/tools/build/v2/build-system.jam:735: in
load
/home/artik/Packages/boost/boost_svn/tools/build/v2/kernel/modules.jam:283: in
import
/home/artik/Packages/boost/boost_svn/tools/build/v2/kernel/bootstrap.jam:142: in
boost-build
/home/artik/Projects/FastBlog/cppblog/boost_locale/boost-build.jam:10: in module
scope
Any ideas?
Thanks,
Artyom
P.S.: Do you prefer to continue it on private channel?
> I've checked in something, which improves what you had.
>
> For started, right now I've setup the code so that it should
> be used outside Boost tree. Invoke bjam like so:
>
> bjam -sBOOST_ROOT=<path-to-boost-svn-checkout> ...
>
> There are several new properties that can be specified, as
> defined in Jamroot:
>
> feature.feature boost.locale.iconv : on off : optional incidental ;
> feature.feature boost.locale.icu : on off : optional incidental ;
>
> feature.feature boost.locale.posix : on off : optional incidental ;
> feature.feature boost.locale.std : on off : optional incidental ;
> feature.feature boost.locale.winapi : on off : optional incidental ;
>
> So,
>
> bjam -sBOOST_ROOT=<..> boost.locale.posix=off
>
> makes the posix backend to be not built. iconv and ICU configuration
> appears to work, but not that I could not test external iconv due to
> not even having such library in my package manager.
>
> Can you let me know if this works for you and what is missing.
>
> Thanks,
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