Re: Problem compiling Gtk-Perl-0.7008
- From: Marcus Claesson <m claesson student ucc ie>
- To: muppet <scott asofyet org>
- Cc: gtk-perl-list gnome org
- Subject: Re: Problem compiling Gtk-Perl-0.7008
- Date: 26 Mar 2003 10:38:14 +0000
Thanks everyone for your answers!
Since I'm a lazy one I went for the RPM
ftp://rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/Gtk-Perl-0.7008-31.i386.rpm
which successfully installed Gtk-Perl within seconds!
Marcus
On Tue, 2003-03-25 at 18:08, muppet wrote:
Marcus Claesson said:
I have a problem compiling Gtk-Perl-0.7008 on RedHat 8.0.
gtk-perl is included in the RH8 distro but for some reason is not installed by
default. you can install it rather easily from the cds or by looking on
rpmfind.net for Gtk-Perl; e.g.:
ftp://rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/Gtk-Perl-0.7008-31.i386.rpm
gcc: build/PerlGtkExt.o: No such file or directory
gcc: build/GtkDefs.o: No such file or directory
make[1]: *** [../blib/arch/auto/Gtk/Gtk.so] Error 1
make[1]: Leaving directory `/tmp/Gtk-Perl-0.7008/Gtk'
make: *** [subdirs] Error 2
from what i can tell, there seems to be some difference in MakeMaker between
5.6.x and 5.8.0 that makes it not build *.o in the same subdir as the source
*.xs ... the Makefile.PL for GtkPerl expects to find the *.o in various
subdirectories, but they all get created in the directory in which you invoked
make. ugly.
i found that you can fix that by adding this code to the Makefile.PL:
-=-=-=-=-=-
# --- MakeMaker const_cccmd section:
package MY; # so that SUPER works right
sub const_cccmd {
my $inherited = shift->SUPER::const_cccmd (@_);
$inherited .= " -o \$@";
$inherited;
}
package MAIN;
-=-=-=-=-=-
you'll have to add that to the Makefile.PL in each of the various module
subdirs (Gtk, GtkHTML, Gnome, etc). wouldn't you rather install a binary rpm?
:-)
is there anybody still reading the list who has commit access to the old
gtk-perl tree who can commit this patch?
--
muppet <scott asofyet org>
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]