|
Boost Users : |
Subject: Re: [Boost-users] [bjam] Building Regex with static runtime linking
From: Max (more4less_at_[hidden])
Date: 2009-06-10 01:57:47
>
> Please run the problematic command with the --debug-building option and
> provide
> the output. Also, be sure to specify the exact version of Boost and
Boost.Build
>
> - Volodya
Hello Volodya,
Thanks for your reply.
The problem seems to be related to ICU (installation).
with out
set ICU_PATH="E:\lib\icu"
set HAVE_ICU=1
in my batch file, I get the regex static lib's.
but with it, the problem comes.
here's the output on my machine with ICU enabled:
#######################################################################
E:\Lib\boost_1_39_0>set BZIP2_SOURCE="E:\Lib\bzip2-1.0.5"
E:\Lib\boost_1_39_0>set ZLIB_SOURCE="E:\Lib\zlib-1.2.3"
E:\Lib\boost_1_39_0>set ICU_PATH="E:\lib\icu"
E:\Lib\boost_1_39_0>set HAVE_ICU=1
E:\Lib\boost_1_39_0>bjam toolset=msvc-9.0 link=static runtime-link=static
release debug --with-regex stage --debug-building
WARNING: No python installation configured and autoconfiguration
failed. See http://www.boost.org/libs/python/doc/building.html
for configuration instructions or pass --without-python to
suppress this message and silently skip all Boost.Python targets
Building target './stage'
Build request: object(property-set)@424 <debug-symbols>off
<define>NDEBUG <inlining>full <link>static <optimization>speed
<runtime-debugging>off <runtime-link>static <threading>multi
<toolset-msvc:version>9.0 <toolset>msvc <variant>release
Command line free features:
Target requirements:
<conditional>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.ha
ndle-static-runtime <define>BOOST_ALL_NO_LIB=1 <include>.
<tag>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.tag
<toolset>msvc,<runtime-link>shared:<threading>multi
<toolset>sun:<stdlib>sun-stlport
Common properties: <asynch-exceptions>off
<conditional>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.ha
ndle-static-runtime <debug-store>object <debug-symbols>off
<define>BOOST_ALL_NO_LIB=1 <define>NDEBUG <embed-manifest>on
<exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>true
<host-os>windows <include>. <inlining>full <install-dependencies>off
<link>static <midl-robust>yes <midl-stubless-proxy>yes <optimization>speed
<os>NT <pch>on <preserve-test-targets>on <profiling>off
<python-debugging>off <python>2.5 <rtti>on <runtime-debugging>off
<runtime-link>static <stdlib>native <suppress-import-lib>false
<symlink-location>project-relative
<tag>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.tag
<target-os>windows <threadapi>win32 <threading>multi
<toolset-msvc:version>9.0 <toolset>msvc <user-interface>console
<variant>release <warnings-as-errors>off <warnings>on
Building target './stage-proper'
Build request: object(property-set)@431 <asynch-exceptions>off
<debug-store>object <debug-symbols>off <define>NDEBUG <embed-manifest>on
<exception-handling>on <extern-c-nothrow>off <inlining>full <link>static
<midl-robust>yes <midl-stubless-proxy>yes <optimization>speed <os>NT <pch>on
<preserve-test-targets>on <profiling>off <python-debugging>off <python>2.5
<rtti>on <runtime-debugging>off <runtime-link>static <stdlib>native
<target-os>windows <threadapi>win32 <threading>multi
<toolset-msvc:version>9.0 <toolset>msvc <variant>release
<warnings-as-errors>off <warnings>on
Command line free features:
Target requirements:
<conditional>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.ha
ndle-static-runtime <define>BOOST_ALL_NO_LIB=1 <hardcode-dll-paths>false
<include>. <install-dependencies>on <install-no-version-symlinks>on
<install-type>LIB <location>stage/lib
<tag>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.tag
<toolset>msvc,<runtime-link>shared:<threading>multi
<toolset>sun:<stdlib>sun-stlport
Common properties: <asynch-exceptions>off
<conditional>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.ha
ndle-static-runtime <debug-store>object <debug-symbols>off
<define>BOOST_ALL_NO_LIB=1 <define>NDEBUG <embed-manifest>on
<exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>false
<host-os>windows <include>. <inlining>full <install-dependencies>on
<install-no-version-symlinks>on <install-type>LIB <link>static
<location>stage/lib <midl-robust>yes <midl-stubless-proxy>yes
<optimization>speed <os>NT <pch>on <preserve-test-targets>on <profiling>off
<python-debugging>off <python>2.5 <rtti>on <runtime-debugging>off
<runtime-link>static <stdlib>native <suppress-import-lib>false
<symlink-location>project-relative
<tag>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.tag
<target-os>windows <threadapi>win32 <threading>multi
<toolset-msvc:version>9.0 <toolset>msvc <user-interface>console
<variant>release <warnings-as-errors>off <warnings>on
building project Jamfile</E:/Lib/boost_1_39_0/libs/regex/build>
('object(project-target)@248') with <asynch-exceptions>off
<debug-store>object <debug-symbols>off <embed-manifest>on
<exception-handling>on <extern-c-nothrow>off <inlining>full <link>static
<midl-robust>yes <midl-stubless-proxy>yes <optimization>speed <os>NT <pch>on
<preserve-test-targets>on <profiling>off <python-debugging>off <python>2.5
<rtti>on <runtime-debugging>off <runtime-link>static <stdlib>native
<target-os>windows <threadapi>win32 <threading>multi
<toolset-msvc:version>9.0 <toolset>msvc <variant>release
<warnings-as-errors>off <warnings>on
Building target 'libs/regex/build/icucore'
Build request: object(property-set)@431
<asynch-exceptions>off <debug-store>object <debug-symbols>off <define>NDEBUG
<embed-manifest>on <exception-handling>on <extern-c-nothrow>off
<inlining>full <link>static <midl-robust>yes <midl-stubless-proxy>yes
<optimization>speed <os>NT <pch>on <preserve-test-targets>on <profiling>off
<python-debugging>off <python>2.5 <rtti>on <runtime-debugging>off
<runtime-link>static <stdlib>native <target-os>windows <threadapi>win32
<threading>multi <toolset-msvc:version>9.0 <toolset>msvc <variant>release
<warnings-as-errors>off <warnings>on
Command line free features:
Target requirements:
<conditional>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.ha
ndle-static-runtime <define>BOOST_ALL_NO_LIB=1 <include>. <link>shared
<name>icuuc <python>2.5,<target-os>windows:<python.interpreter>python
<search>/E:/lib/icu/lib
<tag>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.tag
<toolset>msvc,<runtime-link>shared:<threading>multi
<toolset>sun:<stdlib>sun-stlport
error: link=shared together with runtime-link=static is not allowed
error: such property combination is either impossible
error: or too dangerious to be of any use
#######################################################################
Forgot to mention my env: WinXP/SP1, MSVC9, boost_1_39_0.
Thanks.
Best
Max
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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