Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2005-07-04 06:32:11


Hi !

When compiling Boost.Iostreams I get the following error:

e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:749: in
generate-really from module object(main-target)@1
error: failed to build ../../../libs/iostreams/build/boost_zlib with
properties because no best-matching alternative could be found

(full output iostreams.txt attached).
I can provide more if necessary.

When I comment out zlib and bzip2 support, everythings compiles.

This broke somewhen last week...

And the 2 source files file_descriptor.cpp and mapped_file.cpp are
missing.
The attached patch (Jamfile.v2) fixes this.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover  
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
 --Boundary-00=_74RyCsuDB0c/ebT Content-Type: text/x-diff;
charset="utf-8";
name="Jamfile.v2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Jamfile.v2.diff"
Index: libs/iostreams/build/Jamfile.v2
=================================RCS file: /cvsroot/boost/boost/libs/iostreams/build/Jamfile.v2,v
retrieving revision 1.3
diff -u -5 -p -r1.3 Jamfile.v2
--- libs/iostreams/build/Jamfile.v2	24 Jun 2005 10:00:27 -0000	1.3
+++ libs/iostreams/build/Jamfile.v2	4 Jul 2005 11:25:37 -0000
@@ -89,11 +89,11 @@ rule create-library ( library-name : win
} 
} 
}
-local sources ;
+local sources = file_descriptor.cpp mapped_file.cpp ;
local z = [ create-library zlib : zll z : adler32 compress 
crc32 deflate gzio infback inffast inflate inftrees trees uncompr zutil ] ;
if $(z)
{
 --Boundary-00=_74RyCsuDB0c/ebT Content-Type: text/plain;
charset="utf-8";
name="iostreams.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="iostreams.txt"
cd e:/libraries/boost_cvs/libs/iostreams/build/
bjam --v2
warning: Python location is not configured
warning: the Boost.Python library won't be built
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).
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:749: in generate-really from module object(main-target)@1
error: failed to build ../../../libs/iostreams/build/boost_zlib with properties because no best-matching alternative could be found
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:730: in object(main-target)@1.generate from module object(main-target)@1
e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:252: in object(project-target)@9.generate from module object(project-target)@9
e:/libraries/boost_cvs/tools/build/v2\build-system.jam:276: in load from module build-system
e:\libraries\boost_cvs\tools\build\v2/kernel\modules.jam:259: in import from module modules
e:\libraries\boost_cvs\tools\build\v2/kernel/bootstrap.jam:153: in boost-build from module
e:\libraries\boost_cvs\boost-build.jam:12: in module scope from module
Compilation exited abnormally with code 1 at Mon Jul 4 13:19:24
 --Boundary-00=_74RyCsuDB0c/ebT-- 

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