GNOME Bugzilla – Bug 142136
libxml++ 1.0.3 build broken
Last modified: 2004-12-22 21:47:04 UTC
Download distribution tarball. Start build. Here is error reported: ... c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libxml++\" -DVERSION=\"1.0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING=1 -DHAVE_LIST=1 -DHAVE_MAP=1 -DLIBXMLPP_COMPILATION -I. -I. -I../.. -I/usr/local/include/libxml2 -I/usr/local/include -pipe -O -march=pentium3 -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.cc -fPIC -DPIC -o .libs/parser.lo In file included from ../../libxml++/nodes/node.h:10, from ../../libxml++/nodes/element.h:10, from ../../libxml++/parsers/parser.h:14, from parser.cc:7: ../../libxml++/noncopyable.h:11:33: libxml++/api_export.h: No such file or directory In file included from ../../libxml++/nodes/node.h:10, from ../../libxml++/nodes/element.h:10, from ../../libxml++/parsers/parser.h:14, from parser.cc:7: ../../libxml++/noncopyable.h:20: error: syntax error before `{' token ../../libxml++/noncopyable.h:23: error: destructors must be member functions ../../libxml++/noncopyable.h:23: error: virtual outside class declaration ../../libxml++/noncopyable.h:25: error: syntax error before `private' ../../libxml++/noncopyable.h:8:1: unterminated #ifndef In file included from ../../libxml++/nodes/element.h:10, from ../../libxml++/parsers/parser.h:14, from parser.cc:7: ../../libxml++/nodes/node.h:7:1: unterminated #ifndef In file included from ../../libxml++/parsers/parser.h:14, from parser.cc:7: ../../libxml++/nodes/element.h:7:1: unterminated #ifndef In file included from parser.cc:7: ../../libxml++/parsers/parser.h:7:1: unterminated #ifndef *** Error code 1
I can't fix it right now because I don't have an access to my linux box. I'll release another package on monday. Meanwhile, the missing file can be downloaded from here : http://cvs.gnome.org/viewcvs/*checkout*/libxml%2B%2B/libxml%2B%2B/Attic/api_export.h?rev=1.1.2.2 and be put to the libxml++ subdirectory.
I think this was fixed.