After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 100499 - cvs build fails due to lack of XML/Parser.pm when generating docs.
cvs build fails due to lack of XML/Parser.pm when generating docs.
Status: VERIFIED INCOMPLETE
Product: gtkmm
Classification: Bindings
Component: build
2.2
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-12-06 05:12 UTC by Richard Kinder
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Richard Kinder 2002-12-06 05:12:49 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.
Comment 1 Murray Cumming 2002-12-06 10:11:01 UTC
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.
Comment 2 Daniel Elstner 2002-12-06 14:27:16 UTC
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.
Comment 3 Daniel Elstner 2002-12-27 00:37:57 UTC
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.
Comment 4 Murray Cumming 2002-12-29 15:21:51 UTC
Reopen if it's still a problem.