GNOME Bugzilla – Bug 100499
cvs build fails due to lack of XML/Parser.pm when generating docs.
Last modified: 2009-08-15 18:40:50 UTC
gnome/head/INSTALL/lib/libgdk-x11-2.0.so /gnome/head/INSTALL/lib/libatk-1.0.so /gnome/head/INSTALL/lib/libgdk_pixbuf-2.0.so -lm /gnome/head/INSTALL/lib/libpangox-1.0.so /gnome/head/INSTALL/lib/libpango-1.0.so /gnome/head/INSTALL/lib/libgobject-2.0.so /gnome/head/INSTALL/lib/libgmodule-2.0.so -ldl /gnome/head/INSTALL/lib/libglib-2.0.so -Wl,--rpath -Wl,/gnome/head/INSTALL/lib creating generate_extra_defs make[3]: Leaving directory `/tmp/gnome/head/cvs/gtkmm2/tools/extra_defs_gen' make[3]: Entering directory `/tmp/gnome/head/cvs/gtkmm2/tools' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/tmp/gnome/head/cvs/gtkmm2/tools' make[2]: Leaving directory `/tmp/gnome/head/cvs/gtkmm2/tools' Making all in glib make[2]: Entering directory `/tmp/gnome/head/cvs/gtkmm2/glib' cd .. && : touch ./glibmmconfig.h.in cd .. && /bin/sh ./config.status glib/glibmmconfig.h config.status: creating glib/glibmmconfig.h config.status: glib/glibmmconfig.h is unchanged make all-recursive make[3]: Entering directory `/tmp/gnome/head/cvs/gtkmm2/glib' Making all in src make[4]: Entering directory `/tmp/gnome/head/cvs/gtkmm2/glib/src' /usr/bin/perl -I../../tools/pm ../../tools/gtkmmproc -I ../../tools/m4 --defs . --mergecdocs convert . ./../glibmm Can't locate XML/Parser.pm in @INC (@INC contains: ../../tools/pm /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /gnome/head/INSTALL/lib/gtkmm-2.0/proc/pm) at ../../tools/pm/DocsParser.pm line 24. BEGIN failed--compilation aborted at ../../tools/pm/DocsParser.pm line 24. Compilation failed in require at ../../tools/pm/WrapParser.pm line 25. BEGIN failed--compilation aborted at ../../tools/pm/WrapParser.pm line 25. Compilation failed in require at ../../tools/gtkmmproc line 57. BEGIN failed--compilation aborted at ../../tools/gtkmmproc line 57. make[4]: *** [.stamps/stamp-convert] Error 2 make[4]: Leaving directory `/tmp/gnome/head/cvs/gtkmm2/glib/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/gnome/head/cvs/gtkmm2/glib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/gnome/head/cvs/gtkmm2/glib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/gnome/head/cvs/gtkmm2' make: *** [all] Error 2 -------------- IMHO: XML/Parser.pm should be checked for at configure time.
We'll happily take a patch, but we don't know how to check at configure time now. It's not too important, because it's only an issue when building from cvs.
Actually I'd have implemented this check already if it weren't for the problem that perl 5.8.0 doesn't seem to bail out if the XML::Parser module is missing. That one is much worse.
2002-12-27 Daniel Elstner <daniel.elstner@gmx.net> * scripts/docgen.m4 (GTKMM_ARG_ENABLE_FULLDOCS): Make the default setting of --enable-fulldocs depend on --enable-maintainer-mode. Also try to check for the XML::Parser module if we need to build sources. I remember having had some trouble with this; i.e. I'm not sure if the test always suceeds, particularly with Perl 5.8. * scripts/macros.m4 (GTKMM_CHECK_PERL): Some minor corrections. It'd be really cool if someone could confirm whether this check works or not.
Reopen if it's still a problem.