Buglet when building Gtk-perl from cvs



I had a small problem when building from cvs today. I have installed gtk-2.3.0, and running Makefile.PL in Gtk2 bombed out on me:

% perl Makefile.PL
found package "gtk+-2.0 >= 2.0.0", using it
xs_files-2.0 lists 132 xs files
xs_files-2.2 lists 4 xs files
can't read xs_files-2.3: No such file or directory

I fixed it by hacking Makefile.PL:

--- Makefile.PL.orig    2003-11-17 11:28:40.000000000 +0100
+++ Makefile.PL 2003-11-17 11:29:07.000000000 +0100
@@ -78,7 +78,7 @@
our @xs_files = ();
our @lists = ('xs_files-2.0');
push @lists, 'xs_files-2.2' if $gtk_version[1] >= 2;
-push @lists, 'xs_files-2.3' if $gtk_version[1] >= 3;
+push @lists, 'xs_files-2.3' if $gtk_version[1] >= 3 and -f 'xs_files-2.3';
foreach my $filename (@lists) {
       my @names = read_source_list_file ($filename);
       print "$filename lists ".scalar(@names)." xs files\n";

Bjarne




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]