iostreams build problem (current cvs)
Hi, using a current boost download from cvs, I encountered the following build problem: the iostreams build seems to somehow pick up the names of the source files of the serialization lib. I am appending the head of the bjam output. Any idea what's going on here? Thanks Chris chris@fred:~/boost_050505> bjam stage ****************************************************** Building Boost.Regex with Unicode/ICU support disabled. HINT: define the environment variable ICU_PATH to point to the root directy of your ICU installation if you have one. Couldn't find utypes.h in ****************************************************** ...patience... don't know how to make <@boost!libs!iostreams!build>../src/basic_archive.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_iarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_oarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_iserializer.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_oserializer.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_pointer_iserializer.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_pointer_oserializer.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_serializer_map.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_text_iprimitive.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_text_oprimitive.cpp don't know how to make <@boost!libs!iostreams!build>../src/basic_xml_archive.cpp don't know how to make <@boost!libs!iostreams!build>../src/binary_iarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/binary_oarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/extended_type_info.cpp don't know how to make <@boost!libs!iostreams!build>../src/extended_type_info_no_rtti.cpp don't know how to make <@boost!libs!iostreams!build>../src/extended_type_info_typeid.cpp don't know how to make <@boost!libs!iostreams!build>../src/polymorphic_iarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/polymorphic_oarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/stl_port.cpp don't know how to make <@boost!libs!iostreams!build>../src/text_iarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/text_oarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/void_cast.cpp don't know how to make <@boost!libs!iostreams!build>../src/xml_grammar.cpp don't know how to make <@boost!libs!iostreams!build>../src/xml_iarchive.cpp don't know how to make <@boost!libs!iostreams!build>../src/xml_oarchive.cpp ...patience... ...found 7779 targets... ...updating 1725 targets... ...can't find 25 targets... ...can't make 220 targets... MkDir1 stage MkDir1 stage/lib MkDir1 bin MkDir1 bin/boost MkDir1 bin/boost/libs MkDir1 bin/boost/libs/test MkDir1 bin/boost/libs/test/build MkDir1 bin/boost/libs/test/build/libboost_prg_exec_monitor.so MkDir1 bin/boost/libs/test/build/libboost_prg_exec_monitor.so/gcc MkDir1 bin/boost/libs/test/build/libboost_prg_exec_monitor.so/gcc/debug MkDir1 bin/boost/libs/test/build/libboost_prg_exec_monitor.so/gcc/debug/shared-linkable -true gcc-C++-action bin/boost/libs/test/build/libboost_prg_exec_monitor.so/gcc/debug/shared-linkable -true/execution_monitor.o <snip> -- +++ Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS +++ GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail
Chris Hoeppler wrote:
Hi,
using a current boost download from cvs, I encountered the following build problem: the iostreams build seems to somehow pick up the names of the source files of the serialization lib. I am appending the head of the bjam output. Any idea what's going on here?
Hi, Although I'm the author of iostreams, I don't know much about bjam, so I'm not sure what's going on. When I run bjam from the iostreams build directory, it works fine. You might try defining the variable NO_COMPRESSION -- which I guess should be IOSTREAMS_NO_COMPRESSION -- to tell bjam not to look for zlib and gzip. The compression filters are the only part of the iostreams library which are non-trivial to build, and they have caused some problems in the past, which I didn't understand, but which went away by themselves. Jonathan
Reply to Jonathan's Mail from Fri, May 06, 2005 at 11:24:00AM -0600. Hello Jonathan,
Although I'm the author of iostreams, I don't know much about bjam, so I'm not sure what's going on. When I run bjam from the iostreams build directory, it works fine. Maybe it's a platform problem? I tried with gcc-3.4 on linux and got:
In file included from /home/elmar/data/src/boost/boost/iostreams/filter/bzip2.hpp:28,
from ../src/bzip2.cpp:13:
/home/elmar/data/src/boost/boost/iostreams/filter/symmetric_filter_adapter.hpp: At
global scope:
/home/elmar/data/src/boost/boost/iostreams/filter/symmetric_filter_adapter.hpp:302: error: ISO
C++ forbids declaration of `symmetric_filter_adapter_impl' with no type
/home/elmar/data/src/boost/boost/iostreams/filter/symmetric_filter_adapter.hpp:302: error: no
`int boost::iostreams::symmetric_filter_adapter
You might try defining the variable NO_COMPRESSION -- which I guess should be IOSTREAMS_NO_COMPRESSION -- to tell bjam not to look for zlib and gzip. Unfortunately, this changes nothing.
Bye Elmar
Elmar Loos wrote:
Reply to Jonathan's Mail from Fri, May 06, 2005 at 11:24:00AM -0600.
Hello Jonathan,
Although I'm the author of iostreams, I don't know much about bjam, so I'm not sure what's going on. When I run bjam from the iostreams build directory, it works fine.
Maybe it's a platform problem? I tried with gcc-3.4 on linux and got:
In file included from <snip> error: ISO C++ forbids declaration of `symmetric_filter_adapter_impl' with no type
Unfortunately, symmetric_filter_adapter is currently broken -- I haven't made it work with non-blocking i/io yet. Jonathan
On Friday 06 May 2005 19:24, Jonathan Turkanis wrote:
Chris Hoeppler wrote:
Hi,
using a current boost download from cvs, I encountered the following build problem: the iostreams build seems to somehow pick up the names of the source files of the serialization lib. I am appending the head of the bjam output. Any idea what's going on here?
Hi,
Although I'm the author of iostreams, I don't know much about bjam, so I'm not sure what's going on. When I run bjam from the iostreams build directory, it works fine. You might try defining the variable NO_COMPRESSION -- which I guess should be IOSTREAMS_NO_COMPRESSION -- to tell bjam not to look for zlib and gzip. The compression filters are the only part of the iostreams library which are non-trivial to build, and they have caused some problems in the past, which I didn't understand, but which went away by themselves.
Hi Jonathan, when I run bjam from the iostreams build directory the iostreams lib still isn't built even if I run "bjam -sNO_COMPRESSION" as there are some errors building bzip.o due to symmetric-filter-adapter. (system: gcc-3.3.3 on linux) I just noticed, this has already been reported elsewhere in this thread. The problem I originally reported occurs when bjam (v1) is called from the boost root directory. In that case BBv1 picks up the wrong source files for iostreams. I just rebuilt bjam from the latest cvs sources and tried again with an up to date cvs checkout of boost. The build system still mixes up the serialisation source filenames with the iostreams lib (see my original post). As I don't know anything about Boost Build, I don't really know how to track down this problem... Chris
participants (3)
-
Chris Hoeppler
-
Elmar Loos
-
Jonathan Turkanis