On Mon, Dec 04, 2006 at 10:09:27AM +0100, Michael Herger wrote:
> >Sure wish it would give the Perl error message instead of just saying
> >failed to load.
> 
> Start slimserver with the -d_startup parameter to get them. Please give  
> this a try to see what it's complaining about.

Ok, with the nightly tarball (that includes the CPAN directory)
-d_startup shows the @INC path below.

How in the world is it suppose to find modules modules included in the
slimserver package if the CPAN and arch directories are not added to @INC?

    Extended @INC to contain:
    /usr/share/slimserver/lib
    /home/moseley/SlimServer_6.5_v2006-12-04
    /etc/perl
    /usr/local/lib/perl/5.8.8
    /usr/local/share/perl/5.8.8
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.8
    /usr/share/perl/5.8
    /usr/local/lib/site_perl
    /usr/local/lib/perl/5.8.7
    /usr/local/share/perl/5.8.7
    /usr/local/lib/perl/5.8.4
    /usr/local/share/perl/5.8.4
    /usr/local/lib/perl/5.8.2
    /usr/local/share/perl/5.8.2
    /usr/local/lib/perl/5.8.1
    /usr/local/share/perl/5.8.1
    /usr/local/lib/perl/5.8.0
    /usr/local/share/perl/5.8.0
    .


You can see it's not looking in the local CPAN directory:

XML::Simple version 2.15 required--this is only version 2.14 at 
/usr/share/perl/5.8/Exporter/Heavy.pm line 107.
BEGIN failed--compilation aborted at ./slimserver.pl line 102.

The 2.15 version is included in the Slimserver pacakge, though:

[EMAIL PROTECTED]:~/SlimServer_6.5_v2006-12-04$ fgrep VERSION 
CPAN/XML/Simple.pm 
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $PREFERRED_PARSER);
$VERSION           = '2.15';





-- 
Bill Moseley
[EMAIL PROTECTED]

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to