gtk2 / glade problem.

A

Andy Baxter

I've just install the gtk2 and gtk2-glade distributions, for building a
simple gui for a perl script. glade2perl keeps failing with this :

$ glade2perl-2 fileman.glade
Can't locate Gtk2/Window.pm in @INC (@INC contains: ./
/home/dermot/Devel/Glade-Perl-Two /etc/perl /usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl
/usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3
/usr/local/lib/perl/5.8.2 /usr/local/share/perl/5.8.2
/usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1
/usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 .) at
/usr/local/share/perl/5.8.4/Glade/Two/Run.pm line 25. BEGIN
failed--compilation aborted at
/usr/local/share/perl/5.8.4/Glade/Two/Run.pm line 25. Compilation failed
in require at /usr/local/share/perl/5.8.4/Glade/Two/App.pm line 29. BEGIN
failed--compilation aborted at
/usr/local/share/perl/5.8.4/Glade/Two/App.pm line 29. Compilation failed
in require at /usr/local/share/perl/5.8.4/Glade/Two/Generate.pm line 32.
BEGIN failed--compilation aborted at
/usr/local/share/perl/5.8.4/Glade/Two/Generate.pm line 32. Compilation
failed in require at /usr/bin/glade2perl-2 line 14. BEGIN
failed--compilation aborted at /usr/bin/glade2perl-2 line 14.

The Gtk2 examples work OK, but I can't find any .pm files for
Window,Dialog etc. anywhere in the perl path.

Does anyone know how to get this working?
 
S

Sisyphus

Andy said:
The Gtk2 examples work OK, but I can't find any .pm files for
Window,Dialog etc. anywhere in the perl path.

And I can't find it anywhere on CPAN either.

Google for Gtk2::Window. That turns up some documentation for that
module at sourceforge - though just where the module source is located
is anybody's guess. It's probably _somewhere_ on sourceforge.

Cheers,
Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top