Skip Menu |

This queue is for tickets about the Gnome2-VFS CPAN distribution.

Report information
The Basics
Id: 4787
Status: resolved
Priority: 0/
Queue: Gnome2-VFS

People
Owner: Nobody in particular
Requestors: mcummings [...] gentoo.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: (no value)



Subject: Make bombs because of
gnome2-vfs-0.05 (and 0.10 on sf.net) Linux (Gentoo) perl 5.8.0 Actually, I had this problem in the version that is on sf.net, so I tried the one on cpan instead. During a vanilla perl Makfile.PL, make I would get the following: gcc -c -I/usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Gtk2/Install/ -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I./build -I/usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Glib/Install/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -DPERL5 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mcpu=athlon-xp -O3 -pipe -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -o xs/GnomeVFSFileInfo.o -fpic "-I/usr/lib/perl5/5.8.0/i686-linux/CORE" xs/GnomeVFSFileInfo.c /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Gtk2/Install//gdk.typemap -typemap /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Gtk2/Install//gtk2perl.typemap -typemap /usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Glib/Install//typemap -typemap /tmp/build/Gnome2-VFS-0.05/build/vfs2perl.typemap -typemap /tmp/build/Gnome2-VFS-0.05/vfs.typemap xs/GnomeVFSXfer.xs > xs/GnomeVFSXfer.xsc && mv xs/GnomeVFSXfer.xsc xs/GnomeVFSXfer.c Error: 'const GnomeVFSURI *' not in typemap in GnomeVFSXfer.xs, line 128 Error: 'const GnomeVFSURI *' not in typemap in GnomeVFSXfer.xs, line 129 make: *** [xs/GnomeVFSXfer.c] Error 1 I am by no stretch a hardcore coder, but adding the following to vfs.typemap (why does it look for vfs2perl.typemap also? It isn't in the bundle) resulted in a working build. GnomeVFSURI * T_GPERL_GENERIC_WRAPPER const GnomeVFSURI * T_GPERL_GENERIC_WRAPPER
[guest - Tue Dec 30 09:39:02 2003]: Wow, sorry for the late reply. I wasn't quite aware of the whole RT thingy. Show quoted text
> I am by no stretch a hardcore coder, but adding the following to > vfs.typemap (why does it look for vfs2perl.typemap also? It isn't > in the bundle) resulted in a working build. > > GnomeVFSURI * T_GPERL_GENERIC_WRAPPER > const GnomeVFSURI * T_GPERL_GENERIC_WRAPPER
vfs2perl.typemap gets autogenerated by Makefile.PL. And with a new enough Gtk2 (>= 1.013), the typemaps you manually added should actually be autogenerated as well. Do you still see this problem with recent versions of Gnome2::VFS and Gtk2?