Hi; I'm using Fedora Core 4, gcc-c++-4.0.2-8.fc4.i386.rpm and I'm trying to compile openbabel-2.0.0.
g++ -DHAVE_CONFIG_H -I. -I. -I. -I../data/ -DOB_MODULE_PATH=\"/usr/lib/openbabel\" -DUSING_DYNAMIC_LIBS -g -O2 -MT obconversion.lo -MD -MP -MF .deps/obconversion.Tpo -c obconversion.cpp -fPIC -DPIC -o .libs/obconversion.o
zipstreamimpl.h: In constructor 'zlib_stream::basic_zip_streambuf<chart, traits="">::basic_zip_streambuf(std::basic_ostream<_CharT, _Traits>&, int, zlib_stream::EStrategy, int, int, size_t)':
zipstreamimpl.h:76: error: there are no arguments to 'setp' that depend on a template parameter, so a declaration of 'setp' must be available
zipstreamimpl.h:76: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)</chart,>
According to zipstream.h, this is based on zlib 1.1.4; do we have to worry about the zlib security holes that were fixed in later versions? The current version of zlib is 1.2.3.
If I knew C++, I'd give you a patch.
Thanks!
Logged In: YES
user_id=21420
This is an old bug. Either check the patch at:
http://sourceforge.net/mailarchive/forum.php?
thread_id=9412916&forum_id=47190
or grab the snapshot of 2.0.1:
https://sourceforge.net/project/showfiles.php?
group_id=40728&package_id=154019
However, we have heard of other problems with FC4 -- evidently there is
some sort of crash. (See bug #1447233.)
I'm marking this particular bug closed, but if you experience the crash, please
file comments in the other bug report.
Thanks!
-Geoff
Logged In: YES
user_id=1312539
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).