Re: Misc questions
- From: Paolo Molaro <lupus ximian com>
- To: gtk-perl-list gnome org
- Subject: Re: Misc questions
- Date: Sun, 11 Feb 2001 16:39:07 +0100
On 01/26/01 Etienne Grossmann wrote:
1) I tried to install GtkImageViewer (1.1) with CVS Gtk-Perl
installed, but I cannot run the test :
etienne anonimo: perl test.pl
Using ../blib
Can't find 'boot_Gtk__ImageViewer' symbol in ../blib/arch/auto/Gtk/ImageViewer/ImageViewer.so at test.pl
line 8
BEGIN failed--compilation aborted at test.pl line 8.
Any idea why?
Uhm. I'd like to see the actual code: any url?
2) The Depends.pm and gendefs.pl files : If someone wants to build
support for a custom widget, (s)he has to do something like.
require '../gnome-perl/Depends.pm';
import ExtUtils::Depends;
^^^^^^^^^^^^^^^^^^^^^^^^^ see comments below
require '../gnome-perl/tools/gendefs.pl';
In view of the tutorial (I'm tutoring myself for the moment),
should I say that the Gtk-Perl tree source (>=0.7005) is needed, or
will Depends.pm and gendefs.pl be installed together with Gtk, at
some point?
Depends.pm is not installed, you should just copy it in your package.
gendefs.pl is installed in:
$Config{archlib}/Gtk/Install/gendefs.pl
along with some other tools.
In the example above you import ExtUtils::Depends.
That is the old way of creating a sub module. Version 0.7005
introduces a simpler and more sane way to do it and any tutorial
should be written to use the new method. Check the sub modules in cvs
to see how it works.
0.7005 should be released shortly after I'm reasonably happy with it
(that should be RSN:-)).
lupus
--
-----------------------------------------------------------------
lupus debian org debian/rules
lupus ximian com Monkeys do it better
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]