Re: Buglet when building Gtk-perl from cvs

On Mon, 2003-11-17 at 05:37, Bjarne Steinsbø wrote:
% 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";

that's fixed in cvs HEAD now, the whole line shouldn't be in there
unless you're in the 2.3 branch on cvs. you were given credit in the
ChangeLog for finding it.


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