Problem building Boost 1.33 .0 under Cygwin
Hi, I am having a problem building Boost 1.33.0 using gcc under the current version of Cygwin. The build aborts after displaying the following messages: Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (and if you don't know what ICU is then you probably don't need it). unknown target type for <@boost!libs!test!build>libboost_prg_exec_monitor.dll Could anyone tell me what I am missing? Version 1.32.0 built on my machine with no problems. Thanks, Carus V. (Bud) Clarke carus.v.clarke@boeing.com
Clarke, Carus V wrote:
I am having a problem building Boost 1.33.0 using gcc under the current version of Cygwin. The build aborts after displaying the following messages: unknown target type for <@boost!libs!test!build>libboost_prg_exec_monitor.dll
Could anyone tell me what I am missing?
Not sure what's wrong. What version of bjam do you have? How are you running it? I know there's extra work for working within the cygwin shell. Are you running within that shell? Or from the CMD.EXE shell? -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
Gennadiy Rozental wrote:
unknown target type for <@boost!libs!test!build>libboost_prg_exec_monitor.dll
I am not sure what the problem exactly, but there is not dll version of Boost.Test Component on Windows.
The problem does seem to lie with the Boost.Test configuration on Windows. Building finishes without incident when bjam is invoked as bjam "-sTOOLS=gcc" --without-test install The problem appears to be with line 70 if ! $(NT) && ( ! $(UNIX) || $(OS) != CYGWIN ) in libs/test/build/Jamfile. If as Gennadiy says, there is not supposed to be a dll version of Boost.Test on Windows, I'm not sure how to fix it, but if that line is changed to if ! $(NT) as it was in v1.32.0 -- at least making that change allowed me to build everything, except the dll versions of Boost.Test. bjam tries to build the dll versions of Boost.Test, but it fails. Notice that line 70 in v1.33.0 doesn't seem consistent with line 85. Kent P.S. The wide versions of the serialization library seem not to have installed. -- Kent E. Holsinger kent@darwin.eeb.uconn.edu http://darwin.eeb.uconn.edu -- Department of Ecology & Evolutionary Biology -- University of Connecticut, U-3043 -- Storrs, CT 06269-3043
Gennadiy Rozental wrote:
Notice that line 70 in v1.33.0 doesn't seem consistent with line 85.
That's probably the root reason for your problem. It's bug and needs to be fixed.
Changing [ unless $(NT) : to [ if ! $(NT) && ( ! $(UNIX) || $(OS) != $(CYGWIN) ) appears to fix the problem. Presumably a similar change will be needed in the stage stage/lib section. Kent -- Kent E. Holsinger kent@darwin.eeb.uconn.edu http://darwin.eeb.uconn.edu -- Department of Ecology & Evolutionary Biology -- University of Connecticut, U-3043 -- Storrs, CT 06269-3043
Clarke, Carus V wrote:
I am having a problem building Boost 1.33.0 using gcc under the current version of Cygwin. The build aborts after displaying the following messages:
Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (and if you don't know what ICU is then you probably don't need it). unknown target type for <@boost!libs!test!build>libboost_prg_exec_monitor.dll
Could anyone tell me what I am missing?
I just fixed this in CVS... http://article.gmane.org/gmane.comp.lib.boost.build/10092 -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
participants (4)
-
Clarke, Carus V
-
Gennadiy Rozental
-
Kent Holsinger
-
Rene Rivera