GNOME Bugzilla – Bug 35694
Out-of-tree compilation is broken in Perl directory
Last modified: 2009-08-15 18:40:50 UTC
Package: gimp Version: 1.1.31 Name...........: David Forster Email..........: dforste@qwest.net Platform.......: Debian GNU/Linux 2.2 on PII (w/ 2.4.0-test12 kernel) GIMP Version...: 1.1.31 GTK Version....: 1.2.8 WM/Version.....: Enlightenment 0.16.5 --- Other system notes: autoconf 2.13 autoamek 1.4 --- --- Problem description: When compiling GIMP outside of tree by a: mkdir obj-386 cd obj-386 && ../configure the build fails with: Making all in Paper make[4]: Entering directory `/home/david/src/gimp-1.1.31/obj-i386/plug-ins/gimpressionist/Paper' make[4]: *** No rule to make target `struc.pgm', needed by `all-am'. Stop. make[4]: Leaving directory `/home/david/src/gimp-1.1.31/obj-i386/plug-ins/gimpressionist/Paper' [..] This might be useful for cross-compilation/devel. --- --- How to repeat: mkdir obj && cd obj ../configure make --- ------- Additional Comments From dforste@qwest.net 2000-12-20 18:36:36 ---- Subject: Tried complete tar -- still exists From: David Forster <dforste@qwest.net> To: 35694@bugs.gnome.org Message-Id: <20001220163636.A1681@norfair.dyndns.org> Date: Wed, 20 Dec 2000 16:36:36 -0700 I was using a patched version (from 1.1.30). Some people mentioned that this is no good, so I got that full gimp-1.1.31.tar.bz2. Now a out-of-tree build fails in a diffrent location: cc -c -I/home/david/src/gimp-1.1.31/obj-i686-pc-linux/plug-ins/perl -I../../.. -I/home/david/src/gimp-1.1.31/obj-i686-pc-linux/plug-ins/perl/../.. -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/X11R6/include -DGTK_DISABLE_COMPAT_H -I/usr/lib/perl5/5.005/i386-linux/PDL/Core -g -O2 -Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN -I/usr/local/include -O2 -DVERSION=\"1.201\" -DXS_VERSION=\"1.201\" -fPIC -I/usr/lib/perl5/5.005/i386-linux/CORE -Ddatadir="\"/usr/local/stow/gimp/share\"" -DHAVE_PDL=1 Lib.c Lib.xs:6: libgimp/gimp.h: No such file or directory make[4]: *** [Lib.o] Error 1 make[4]: Leaving directory `/home/david/src/gimp-1.1.31/obj-i686-pc-linux/plug-ins/perl/Gimp' I'm compiling this without any previous version of Gimp installed. Normal compile/install works find. ------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-28 11:05 ------- This bug was previously known as bug 35694 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=35694 Originally filed under the gimp product and general component. The original reporter (dforste@qwest.net) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, egger@suse.de.
Re-assigning all Gimp bugs to default component owner (Gimp bugs list)
I just tested this with 1.2.3-pre2 and it seems to work. tar xzvf gimp-1.2.3-pre2.tar.gz mkdir sparc cd sparc ../gimp-1.2.3-pre2/configure --prefix=/blah make No errors were reported during the build. However, I do have a previous version of Gimp installed and it is possible that some files were taken from the installed version while compiling (I cannot easily remove them since they are in the default include path for gcc). So I am leaving this bug open until someone can confirm that the out-of-tree compilation also works on a system that has no previous version of Gimp (or Gimp-Perl) installed.
Marc Lehmann claims this has been fixed MANY years ago. Let's close it then...
The fix is part of the stable release 1.2.4 (or earlier). Closing this bug.
Changing a bunch of bugs I missed (no idea why) to the gimp-perl product