Re: Problems building and running Gtk-Perl
- From: Paolo Molaro <lupus linuxcare com>
- To: gtk-perl-list gnome org
- Cc: Nick Metrowsky <nmetro colorado edu>
- Subject: Re: Problems building and running Gtk-Perl
- Date: Fri, 20 Oct 2000 21:45:06 +0200
On 10/09/00 Nick Metrowsky wrote:
After trying various things, gcc verses DEC C, different libraries,
etc., I am having problems building Gtk-Perl on Digital UNIX V4.0f. I
have gtk+ and glib V1.8 installed. BTW, I get the same problem when I
use gtk+ and glib V1.2.3. I really need this to work, so I can build
gimp, without this working gimp will be useless.
Anyway, the are several things I encountered:
1. Gtk/GdkTypes.c would not compile, unless I removed "default:" from
the long case statement about line 500 or so. Weird is the order of the
day.
Ok, should be fixed in 0.7004.
2. Gtk/xs/GtkWidget.c just would not compile, because of the "#DEFINE
MY_GTK_WIDGET_SET_FLAGS" definition. In gcc and DEC C this definition is
invalid. I took out the G_STMT_START, G_STMT_END, just to get the
program to compile. I know this will break something in this code, but
if anyone has a fix for this I'd appreciate it.
Fixed this as well (I made it and if/else statement leaving G_STMT_START,
G_STMT_END, BTW).
3. I end up getting multiply defined entries for g_bit_nth_msf,
g_bit_ntl_lsf, and g_bit_storage, when the Gtk-Perl compile code is
archived and linked.
Uhm. it looks like you may have used a different compiler when
you configure/compiled glib/gtk a when you compiled Gtk-Perl.
You should use the same as it looks like the support for inline
functions is screwed up.
4. When I try to do a make test (gnumake test), or after I install
Gtk-Perl, get the error message attached.
Attached is a copy of the generated Makefile and a log of the compile.
[...]
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/central/perl_5.005_02/lib/5.00502/alpha-dec_osf -I/central/perl_5.005_02/lib/5.00502 test.pl
Can't make loaded symbols global on this platform while loading blib/arch/auto/Gtk/Gtk.so at
/central/perl_5.005_02/lib/5.00502/alpha-dec_osf/DynaLoader.pm line 168.
This means tha you wont be able to use the multiple-module setup.
Could you send me the contents of your Config.pm file privately?
Can't load 'blib/arch/auto/Gtk/Gtk.so' for module Gtk: dlopen: cannot load blib/arch/auto/Gtk/Gtk.so at
/central/perl_5.005_02/lib/5.00502/alpha-dec_osf/DynaLoader.pm line 168.
This is because of the linker errors, see above.
thanks,
lupus
--
Paolo Molaro, Open Source Developer, Linuxcare, Inc.
+39.049.8043411 tel, +39.049.8043412 fax
lupus linuxcare com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]