I am sorry if this is the wrong mailing list for compilation
problems but I've already searched the archives and posted
to comp.graphics.apps.gimp to no avail.
  The problem is that compilation of Gimp 1.1.18 dies on me at
the 'make' stage (while compiling perl/Gimp/Lib.c) with the error 
pasted below.
  Machine is PC with Linux 2.0.36 (RedHat5.2), Perl 5.004_04,
PDL 2.003, gtk-1.2 and Gtk-Perl-0.6123.
If I configure with --disable-perl, gimp compiles all right.
I would be grateful for any help.

% make
[...]
/usr/bin/perl -I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5 
/usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap -typemap 
/home/ftp/pub/linux/Apps/gimp/gimp-1.1.18/plug-ins/perl/typemap -typemap 
/usr/lib/perl5/site_perl/PDL/Core/typemap.pdl Lib.xs >Lib.tc && mv Lib.tc Lib.c
cc -c -I/home/ftp/pub/linux/Apps/gimp/gimp-1.1.18/plug-ins/perl -I../../.. 
-I/home/ftp/pub/linux/Apps/gimp/gimp-1.1.18/plug-ins/perl/../.. 
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/lib/glib/include 
-I/usr/local/include -I/usr/X11R6/include -g -O2 -Wall -Wno-parentheses -Wno-unused 
-Wno-uninitialized  -I/usr/lib/perl5/site_perl/PDL/Core -g -O2  -Dbool=char -DHAS_BOOL 
-I/usr/local/include -O2    -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -fpic 
-I/usr/lib/perl5/i386-linux/5.00404/CORE -Ddatadir="\"/usr/local/share\"" -DHAVE_PDL=1 
 Lib.c
In file included from /usr/lib/perl5/site_perl/PDL/Core/pdlcore.h:4,
                 from Lib.xs:20:
/usr/lib/perl5/site_perl/PDL/Core/ppport.h:42: warning: `/*' within comment
In file included from 
/home/ftp/pub/linux/Apps/gimp/gimp-1.1.18/plug-ins/perl/gppport.h:149,     
                 from Lib.xs:34:
/usr/lib/perl5/i386-linux/5.00404/CORE/patchlevel.h:40: redefinition of `local_patches'
/usr/lib/perl5/i386-linux/5.00404/CORE/patchlevel.h:40: `local_patches' previously 
defined here
make[4]: *** [Lib.o] Error 1
make[4]: Leaving directory 
`/home/ftp/pub/linux/Apps/gimp/gimp-1.1.18/plug-ins/perl/Gimp'

[...]


-- 
-------------------------------------------------------------
Kresimir Kumericki  [EMAIL PROTECTED]  http://www.phy.hr/~kkumer/
Theoretical Physics Department, University of Zagreb, Croatia
-------------------------------------------------------------

Reply via email to