On Mon, Dec 04, 2006 at 10:51:43AM -0800, Bill Moseley wrote:

> =head2 isDebian( )

And if I modify that to always return false, then the server starts
just fine, but when I try to split off an indexing process to scan the
music folder I get:

Can't locate Proc/Background.pm in @INC (@INC contains: 
/usr/share/slimserver/lib /usr/sbin /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 .) at /usr/share/perl5/Slim/Music/Import.pm line 45.
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Music/Import.pm line 
45.
Compilation failed in require at /usr/sbin/slimserver-scanner line 32.
BEGIN failed--compilation aborted at /usr/sbin/slimserver-scanner line 32.
2006-12-04 11:00:47.1320 ERROR: file error - status_header.html: not found

Slim::Music::Import makes another assumption:

        } elsif (-x '/usr/sbin/slimserver-scanner') {

                $command  = '/usr/sbin/slimserver-scanner';
        }

Is that a hack for Debian?  I don't see slimserver-scanner in the
6.5.1 tarball.  I assume scanner.pl is reanamed slimserver-scanner
when installed.

If running from a tarball in some directory wouldn't it make sense to
update PATH and PERL5LIB so any child processes work in the same
environment as the parent slimserver process?  And to name the scanner
"slimserver-scanner" so that's what is run and let PATH do its job?


-- 
Bill Moseley
[EMAIL PROTECTED]

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to