🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6694

RedHat y Gtk

#6694
From: ryan
Date: Mon, 26 May 2003 17:23
42 lines
2168 bytes
Buenas,
estaba intentando hacer un peque�o script para crear peque�a
aplicaci�n de Gtk en perl, que le� que es bastante f�cil.. Con una
Mandrake me ha ido perfectamente, he instalado las librerias Gtk
necesarias, he hecho el script y me ha funcionado. Lo mismo he hecho
con Debian y me ha funcionado. Ahora, en el RedHat, he instalado las
librerias Gtk pero cuando ejecuto el script me sale el error:

Can't locate Gnome.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)
at gtkperl.pl line 3.
BEGIN failed--compilation aborted at gtkperl.pl line 3.

No se ya que tocar para que me funcione el programa.. a ver si me
pueden echar una mano.

saludos,
-ryan-

PD: por si las moscas, pasteo el script:
--------------------- 8< cortar por aki 8< -------------
#!/usr/bin/perl -w
use strict;
use Gnome;

my $app_name = 'GNOME y Perl';

init Gnome $app_name;

my $main_window = now Gtk::Window -toplevel;

my $label = new Gtk::Label "GNOME y Perl, �JUNTOS!";
$main_window->add($label);

show_all $main_window;

main Gtk;
Technical Details
Message-ID: <82a36574.0305260923.6243ddd4@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,f0a2d40543fa54f5,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-05-26 10:23:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: jesucrito@terra.es (ryan)
Newsgroups: es.comp.os.linux.programacion
Subject: RedHat y Gtk
Date: 26 May 2003 10:23:16 -0700
Organization: http://groups.google.com/
Lines: 42
Message-ID: <82a36574.0305260923.6243ddd4@posting.google.com>
NNTP-Posting-Host: 80.58.35.235
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1053969796 19955 127.0.0.1 (26 May 2003 17:23:16 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 26 May 2003 17:23:16 GMT