I have no experience trying to grok perl-based makefile spaghetti, and I can't figure out why the gtk-config cflags are not passed to the compiler when working on gtktypexp in the GdkPixbuf directory. It does seem to get quite far before deciding that it can't continue. The last several lines before failure follow, as well as a check to show that it is present.

In addition to squashing this bug, it would be great if:
a) "chmod -R a+rX Gtk-Perl-0.7009" after untarring to make it easier to investigate build failures without having to sudo bash or repeatedly chmod.
b) when tools/gendefs tries to build something by calling system, it should follow the normal convention of make and /print the line it's about to execute/, (that is, call print() before calling system()) which may make it easier to track problems.

I realize this is a difficult package to maintain. I'm happy to help test updated versions.

cc'ing fink-devel as there is an unacknowledged comment in the .info file, suggesting someone else is interested in the package. If there is discussion, please cc me, as I am not on the list.

thanks,
-neil


Please specify prototyping behavior for GdkImlib.xs (see perlxs manual)
cc -c -I/sw/src/gtk-perl-pm560-0.7009-1/Gtk-Perl-0.7009/GdkImlib/../Gtk/../ blib/arch/Gtk/Install/ -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I. -I./build -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DVERSION=\"0.7009\" -DXS_VERSION=\"0.7009\" -I/System/Library/Perl/darwin/CORE -DPERL_POLLUTE -DLAZY_LOAD -DGTK_HVER=0x01020a xs/GdkImlib.c
Running Mkbootstrap for Gtk::Gdk::ImlibImage ()
chmod 644 ImlibImage.bs
LD_RUN_PATH="/sw/lib:/usr/X11R6/lib:/usr/lib" cc -o blib/arch/auto/Gtk/Gdk/ImlibImage/ImlibImage.bundle -bundle -flat_namespace -undefined suppress xs/GdkImlib.o -L/usr/X11R6/lib -L/sw/lib -lgdk_imlib -lgtk -lgdk -lgmodule -lglib -ldl -lintl -lXext -lX11 -lm
ld: warning dynamic shared library: /sw/lib/libgdk.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /sw/lib/libgmodule.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /sw/lib/libglib.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /sw/lib/libdl.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libXext.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libX11.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
chmod 755 blib/arch/auto/Gtk/Gdk/ImlibImage/ImlibImage.bundle
cp ImlibImage.bs blib/arch/auto/Gtk/Gdk/ImlibImage/ImlibImage.bs
chmod 644 blib/arch/auto/Gtk/Gdk/ImlibImage/ImlibImage.bs
Manifying blib/man3/Gtk::Gdk::ImlibImage::reference.3pm
cd GdkPixbuf && /usr/bin/perl5.6.0 Makefile.PL LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="/sw" OPTIMIZE="" INSTALLDIRS=site
Using ../Gtk/../blib
Found Gtk::Install::Files in /sw/src/gtk-perl-pm560-0.7009-1/Gtk-Perl-0.7009/GdkPixbuf/../Gtk/../ blib/arch/Gtk/Install/
Loading pkg.defs
Dir ||
gtktypexp.c:1: header file 'gtk/gtktypeutils.h' not found
gtktypexp.c:9: undefined type, found `GSList'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make: *** [GdkPixbuf/Makefile] Error 141
### execution of failed, exit code 2
Failed: compiling gtk-perl-pm560-0.7009-1 failed
131.470u 41.670s 4:21.38 66.2% 0+0k 169+850io 0pf+0w
mobile837:/sw/fink/dists/unstable/main/finkinfo/libs/perlmods% dpkg -S gtk/gtktypeutils
gtk+: /sw/include/gtk-1.2/gtk/gtktypeutils.h
mobile837:/sw/fink/dists/unstable/main/finkinfo/libs/perlmods% ls -al /sw/include/gtk-1.2/gtk/gtktypeutils.h
-rw-r--r-- 1 root admin 12068 Aug 1 19:49 /sw/include/gtk-1.2/gtk/gtktypeutils.h
mobile837:/sw/fink/dists/unstable/main/finkinfo/libs/perlmods%

Attachment: PGP.sig
Description: PGP signature



Reply via email to