PDA

View Full Version : The following modules failed to load: Storable



Michael Carland
2005-04-06, 15:49
Hello,

I am trying to upgrade to 6.0.1, and am running into a problem.

I build from source (tar.gz) on a Debian stable system. I have run
../Bin/build-perl-modules.pl, and ignored the AppConfig warnings. I do get
a warning when it builds Digest-MD5:

Warning: prerequisite Digest::base failed to load: Can't locate
Digest/base.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at
(eval 4) line 3.
Building..
Library for Digest-MD5-2.33.tar.gz is OK!

But I don't think that is the current problem.

When I try and run slimserver.pl, the following error is printed:

The following modules failed to load: Storable

To download and compile them, please run:
/music/photos/SlimServer_v6.0.1/Bin/build-perl-modules.pl

Can't locate Storable.pm in @INC (@INC contains:
/music/photos/SlimServer_v6.0.1 /music/photos/SlimServer_v6.0.1/CPAN
/music/photos/SlimServer_v6.0.1/CPAN/arch/5.6.1/i386-linux
/music/photos/SlimServer_v6.0.1/CPAN/arch/5.6.1/i386-linux/auto
/music/photos/SlimServer_v6.0.1/CPAN/arch/5.6/i386-linux
/music/photos/SlimServer_v6.0.1/CPAN/arch/5.6/i386-linux/auto
/music/photos/SlimServer_v6.0.1/CPAN/arch/i386-linux
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl .) at
/music/photos/SlimServer_v6.0.1/CPAN/Class/DBI/ColumnGrouper.pm line 31.


I think the problem is that when Storable is built, it installs into a
darwin directory, even though I am i386/linux, and a 5.6 directory instead
of 5.6.1:

files:/music/photos/SlimServer_v6.0.1# uname -a
Linux files 2.4.24 #4 Thu Feb 12 20:54:58 CST 2004 i586 unknown
files:/music/photos/SlimServer_v6.0.1# find . -name Storable.pm
../CPAN/arch/5.6/darwin/Storable.pm
files:/music/photos/SlimServer_v6.0.1# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.28-es, archname=i386-linux
uname='linux gluck 2.4.28-es #1 smp sun nov 21 19:05:12 est 2004 i686
unknown '
config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC
-Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1
-Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1
-Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib
-Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -ldl -lm -lc -lcrypt
perllibs=-ldl -lm -lc -lcrypt
libc=/lib/libc-2.2.5.so, so=so, useshrplib=true,
libperl=libperl.so.5.6.1
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):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Dec 23 2004 16:34:22
@INC:
/usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.6.1
/usr/share/perl/5.6.1
/usr/local/lib/site_perl
.

Google only found one reference to 5.6/darwin related to Slim, and it
didn't make sense to me as a fix.

Any help getting around this would be appreciated.

-Michael




__________________________________
Do you Yahoo!?
Yahoo! Personals - Better first dates. More second dates.
http://personals.yahoo.com