:-) :-) :-) Can't quite believe it but I have just got it to work :-)
:-) :-)
I had a look at your patches and added the line to
/usr/lib/perl5/vendor_perl/Slim/bootstrap.pm as suggested:
Index: Slim/bootstrap.pm
===================================================================
--- Slim/bootstrap.pm (revision 29510)
+++ Slim/bootstrap.pm (working copy)
@@ -140,6 +140,7 @@
$libPath,
);
+...@inc = grep { $_ !~ /5\.8/ } @INC;
$d_startup && printf("Got \...@inc containing:\n%s\n\n", join("\n",
@INC));
# This works like 'use lib'
Tried to start Squeezeboxserver but it complained about lots of missing
libraries (like DBI, JSON,... etc)
Restarted with:
squeezeboxserver --d_startup --s_stdout >debug.txt
to see what was going on.
Found it was looking in the following paths for the libraries:
/usr/libexec/CPAN
/usr/libexec/CPAN/arch/5.10/i386-linux-thread-multi/auto
/usr/libexec/CPAN/arch/5.10.0/i386-linux-thread-multi
/usr/libexec/CPAN/arch/5.10.0/i386-linux-thread-multi/auto
/usr/libexec/CPAN/arch/5.10/i386-linux-thread-multi
/usr/libexec/CPAN/arch/5.10/i386-linux-thread-multi/auto
/usr/libexec/CPAN/arch/i386-linux-thread-multi
/usr/libexec/lib
/usr/libexec
/usr/libexec
/usr/share/squeezeboxserver/CPAN/arch/5.10//i386-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.10/
/usr/local/perl510/lib/5.10.0/i386-linux-thread-multi
/usr/local/perl510/lib/5.10.0
/usr/local/perl510/lib/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/perl510/lib/site_perl/5.10.0
/usr/lib/perl5/vendor_perl
Now I know that all the CPAN stuff is in
/usr/share/squeezeboxserver/CPAN/ not /usr/libexec/CPAN, so and this is
a tempoary kludge till I work our a nicer way, if I add a file system
link:
ln -s /usr/share/squeezeboxserver/CPAN/ /usr/libexec/CPAN
Then things get much better! :-)
(I also notice the '//' in
/usr/share/squeezeboxserver/CPAN/arch/5.10//i386-linux-thread-multi.
Does perl mind about the double '/'? Might it work without needing the
file system link if this was right?)
Now tried:
sudo -u squeezeboxserver /usr/libexec/squeezeboxserver
--prefsdir=/var/lib/squeezeboxserver/prefs
--logdir=/var/log/squeezeboxserver
--cachedir=/var/lib/squeezeboxserver/cache --charset=utf8
And it works! ;-) and so does:
service squeezeboxserver start
I will let this settle in my mind for a few hours, retest it on a fresh
virtual machine install of SME7 and then create a howto page on
contribs.org.
Thanks Michael for your help, advice and encouragement. Without it I
would not have got this working.
Regards, Mark Leman
--
marklemsn
------------------------------------------------------------------------
marklemsn's Profile: http://forums.slimdevices.com/member.php?userid=34659
View this thread: http://forums.slimdevices.com/showthread.php?t=69507
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix