perl-tk package doesn't work with perl5.005
When I try to use Tk, I get the following error message:
Can't locate loadable object for module Tk in @INC (@INC contains:
/usr/lib/perl5/5.005/powerpc-linux /usr/lib/perl5/5.005
/usr/local/lib/site_perl/powerpc-linux /usr/local/lib/site_perl
/usr/lib/perl5 .) at - line 1
BEGIN failed--compilation aborted at - line 1.
It appears that the unstable powerpc perl-tk package is still built for
perl5.004. It installed lots of stuff (including Tk.so) in
/usr/lib/perl5/powerpc-linux/5.004/auto/Tk.
Unfortunately, this problem breaks fvwmconf.
I'm not sure if this is just a matter of getting the package rebuilt for
powerpc, if it needs to be rebuilt for all the debian platforms, or if
I've screw something up myself.
I'd be greatful for any info on how to get it fixed.
thanks,
Peter Canning - remove nospam. from my address to reply
Here's the relevant config info:
2%perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=linux, osvers=2.2.1, archname=powerpc-linux
uname='linux tervola 2.2.1 #101 fri feb 5 16:17:12 est 1999 ppc
unknown '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O2', gccversion=2.95.1 19990816 (release)
cppflags='-Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN
-I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN
-I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under linux
Compiled at Sep 24 1999 07:30:29
@INC:
/usr/lib/perl5/5.005/powerpc-linux
/usr/lib/perl5/5.005
/usr/local/lib/site_perl/powerpc-linux
/usr/local/lib/site_perl
/usr/lib/perl5
.
3%dpkg -s perl-tk
Package: perl-tk
Status: install ok installed
Priority: optional
Section: interpreters
Installed-Size: 5414
Maintainer: Stephen Zander <gibreel@debian.org>
Version: 1:800.014-1.1
Depends: libc6 (>= 2.1), xlib6g (>= 3.3.3.1-1), perl5, xfonts-75dpi |
xfonts-100
dpi
Description: Perl module providing the Tk graphics library.
A good place to get started is by running the "widget" demo that's
installed with this package.
Reply to: