Re: Unable to locate module error.



On Wednesday 14 July 2004 20:13, muppet wrote:
Neil Jones said:
Unable to locate loadable module in module_path: "libpixmap.so", at
/usr/lib/ perl5/vendor_perl/5.8.1/i586-linux-thread-multi/Gtk.pm line 68.

...

 locate libpixmap.so

...

/opt/gnome/lib/gtk-2.0/2.2.0/engines/libpixmap.so

at first glance it looks like gtk+ has been moved and therefore can't find
the theme engines.

on the other hand, your locate statement points to gtk+-2.0, but Gtk.pm,
part of Gtk-Perl, would be linked against gtk+-1.x, so this can't be the
case.

you probably just don't have the pixmap theme installed for your old gtk+
1.x install.


please, please, use gtk2-perl.  you don't have to install to your whole
system, there are instructions in the tarballs' READMEs for how to do a
private installation.  (hint, PERL5LIB env var)

I am afraid I don't know what your hint means.

I am quite happy to install the later stuff if that is what works but I cannot 
get it to install.


Cpan Gtk2 

fails because of dependencies 

They will all install except
cpan ExtUtils::PkgConfig

Which gives.

Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::PkgConfig
cp lib/ExtUtils/PkgConfig.pm blib/lib/ExtUtils/PkgConfig.pm
Manifying blib/man3/ExtUtils::PkgConfig.3pm
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1....ok 1/7sh: line 1: pkg-config: command not found
t/1....NOK 2#     Failed test (t/1.t at line 21)
t/1....NOK 3#     Failed test (t/1.t at line 22)
sh: line 1: pkg-config: command not found
t/1....ok 4/7sh: line 1: pkg-config: command not found
sh: line 1: pkg-config: command not found
t/1....NOK 5#     Failed test (t/1.t at line 30)
t/1....NOK 6#     Failed test (t/1.t at line 31)
sh: line 1: pkg-config: command not found
sh: line 1: pkg-config: command not found
t/1....ok 7/7# Looks like you failed 4 tests of 7.
t/1....dubious
        Test returned status 4 (wstat 1024, 0x400)
Scalar found where operator expected at (eval 153) line 1, near "'int'  
$__val"
        (Missing operator before   $__val?)
DIED. FAILED tests 2-3, 5-6
        Failed 4/7 tests, 42.86% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/1.t          4  1024     7    4  57.14%  2-3 5-6
Failed 1/1 test scripts, 0.00% okay. 4/7 subtests failed, 42.86% okay.
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

Can any one help please?

 
--
Neil Jones- Neil nwjones demon co uk 




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