Re: gtk prblem



* Philip Villamin <philipv digitelone com> [2004-03-31 06:40]:

Can't locate Gtk.pm in @INC (@INC contains: 
                 ^^^

* Pascal Giard <evilynux yahoo com> [2004-03-31 13:51]:
looks like you need to install libgtk2-perl, if you're using
debian...

No, looks like he's trying to run a gtk1.x GtkPerl program.

Philip: for a quick fix try (as root)

    perl -MCPAN -e'install Gtk'

However, that installs the obsolete, outdated and deprecated
gtk1.x bindings. If there is any chance to do so, the program
should be updated to use the Gtk2 bindings. For simple programs,
changing every instance of "Gtk" in the source to "Gtk2" may
just suffice.

Once that's done, a

    perl -MCPAN -e'install Gtk2'

(again, as root) will get you going.

-- 
Regards,
Aristotle
 
"If you can't laugh at yourself, you don't take life seriously enough."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]