Gnome::DialogUtil does not work for me



I have the gtk-perl version 0.7005 packages installed on
Debian/unstable, and am having trouble using the Gnome::DialogUtil
class:

 $ perl -e '
    use Gnome;
    Gnome->init("foo");
    $d = Gnome::DialogUtil->error("This is an error");'
 Can't locate object method "error" via package "Gnome::DialogUtil" at -e line 4.

The same problem occurs with Gnome::DNS, Gnome::Geometry, and
Gnome::ICE.  None of these classes have an entry in any of the .defs
files, if that means anything. In addition, the samples/gnome-dns.pl
example doesn't work:

 $ perl samples/gnome-dns.pl 
 Can't locate object method "init" via package "Gnome::DNS" at samples/gnome-dns.pl line 7.

Doing a nm of Gnome.so shows that the appropriate symbols are there:

 $ nm blib/arch/auto/Gnome/Gnome.so | grep -i dialogutil
 000259dc T XS_Gnome__DialogUtil_error
 000257f0 T XS_Gnome__DialogUtil_ok
 00025bcc T XS_Gnome__DialogUtil_warning
 00025dbc T boot_Gnome__DialogUtil

Does anybody have some insight as to what is going on?

-- 
Dave Carrigan (dave rudedog org)            | Yow! AIEEEEE!  I am having an
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | UNDULATING EXPERIENCE!
Seattle, WA, USA                            | 
http://www.rudedog.org/                     | 




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