On Sun, 1 Oct 2000, Dominic Knight <dom@xxxxxxxxxxxxxxxxxxxx> wrote: > On Fri, 29 Sep 2000, you [Marc Lehmann] wrote: > > > > Could you send me the output of > > > > OK I managed to break make &>log by running a number of other processes > at the same time.The output is below. [...] I confirm that the error exists and breaks the build. I compiled 1.1.26 without problems on my Linux box at home (but this machine does not have Gtk-Perl and the other Perl modules, so most of the Perl-Fu scripts are disabled). Today, I tried to compile 1.1.26 on my Solaris box at work, and it failed in plug-ins/perl/po. Here are the relevant excerpts of the make log, which are very similar to the log sent by Dominic (except that I did not use a base64-encoded attachment...): % make make all-recursive make[1]: Entering directory `/Local/build/gimp-1.1.26' Making all in tools [...] Making all in po [...] Making all in po-libgimp [...] Making all in po-plug-ins [...] Making all in plug-ins/perl/po make[2]: Entering directory `/Local/build/gimp-1.1.26/plug-ins/perl/po' ( if test 'x.' != 'x.'; then \ posrcprefix='../../../'; \ else \ posrcprefix="../"; \ fi; \ rm -f POTFILES-t POTFILES \ && (sed -e '/^#/d' -e '/^[ ]*$/d' \ -e "s@.*@ $posrcprefix& \\\\@" < ./POTFILES.in \ | sed -e '$s/\\$//') > POTFILES-t \ && chmod a-w POTFILES-t \ && mv POTFILES-t POTFILES ) cd ../../.. \ && CONFIG_FILES=plug-ins/perl/po/Makefile.in CONFIG_HEADERS= \ /bin/sh ./config.status creating plug-ins/perl/po/Makefile.in invoking perl for configuration... checking for PDL support... yes checking for PDL include path... -I/Local/lib/perl5/site_perl/5.005/sun4-solaris/PDL/Core checking for PDL typemap... /Local/lib/perl5/site_perl/5.005/sun4-solaris/PDL/Core/typemap.pdl building embedded perl module... no writing Gimp/Config.pm... ok Writing Makefile for Gimp::Lib Writing Makefile for Gimp::Net Writing Makefile for Gimp::UI Writing Makefile for Gimp make[2]: Leaving directory `/Local/build/gimp-1.1.26/plug-ins/perl/po' make[2]: Entering directory `/Local/build/gimp-1.1.26/plug-ins/perl/po' make[2]: *** No rule to make target `../blib/lib/Gimp.pm', needed by `gimp-perl.pot'. Stop. make[2]: Leaving directory `/Local/build/gimp-1.1.26/plug-ins/perl/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Local/build/gimp-1.1.26' make: *** [all-recursive-am] Error 2 At this stage (when building the po files), the "blib" sub-directory does not even exist yet, because it is only created when make is run in the perl directory. The error seems to be in the way the Makefile in plug-ins/perl/po is generated. If you look at this file, you will see that gimp-perl.pot depends on both ../Gimp.pm and ../blib/lib/Gimp.pm (as listed in POTFILES). The latter is probably wrong. Anyone affected by this bug can still build 1.1.26 by deleting the suspicious ../blib/lib/Gimp.pm from plug-ins/perl/po/Makefile or by typing the following commands to ensure that the file is created when it is needed: make (fails in plug-ins/perl/po) cd plug-ins/perl make (creates directories and copies Gimp.pm) cd ../.. make (builds everything now) make (workaround for bug #24077) make install But this is an ugly workaround, and the real solution is to fix the generated dependencies in plug-ins/perl/po/Makefile. -Raphael