OK, I'm up and running. Will test some more, but seems like the server
is working properly with my Squeezebox.

I thought I'd document what I did to get LMS running under a perlbrew
perl build.

- installed perlbrew as root, called "perlbrew init", then used perlbrew
to build a 5.12 release of perl.
- "perlbrew use perl-5.12.4" as root, then in that environment called
the buildme.sh script again to build all the modules for LMS. Moved that
build directory into /usr/share/squeezeboxserver/ (unnecessary?).
- There is some confusion as to where the home directory for the
squeezeboxserver user is. /etc/passwd sets it to be
/usr/share/squeezeboxserver/, but /etc/sysconfig/squeezeboxserver
expects /usr/libexec/. In the end, I changed /etc/passwd. 
- Added a 
export PERL5LIB="/usr/lib/perl5/vendor_perl/"
to the init script.
- Changed the first line of squeezeboxserver to use the perlbrew perl:
#!/root/perl5/perlbrew/perls/perl-5.12.4/bin/perl

There are still some errors in the server log when I start the server:

[12-08-10 16:02:11.9828] main::init (354) Starting Logitech Media Server
(v7.7.2, r33893, Wed Mar 14 06:31:06 MDT 2012) perl 5.012004
[12-08-10 16:02:14.0441] Slim::Utils::PluginManager::load (348) Warning:
Couldn't call Slim::Plugin::Sounds::Plugin->initPlugin: Can't use string
(123Sounds & Effec"...) as a HASH ref while "strict refs" in use at
/usr/lib/perl5/vendor_perl//Slim/Plugin/Sounds/Plugin.pm line 63.
[12-08-10 16:02:14.0868] Slim::Networking::Async::Socket::UDP::mcast_add
(48) Error: While adding multicast membership, UPnP may not work
properly: Protocol not available
[12-08-10 16:02:14.0876] Slim::Networking::Async::Socket::UDP::mcast_add
(56) Error: While setting IP_MULTICAST_IF, UPnP may not work properly:
Protocol not available
[12-08-10 16:02:14.0883] Slim::Networking::Async::Socket::UDP::mcast_add
(64) Error: While setting multicast TTL, UPnP may not work properly:
Protocol not available
[12-08-10 16:02:14.0896] Slim::Networking::Async::Socket::UDP::mcast_add
(48) Error: While adding multicast membership, UPnP may not work
properly: Protocol not available
[12-08-10 16:02:14.0904] Slim::Networking::Async::Socket::UDP::mcast_add
(56) Error: While setting IP_MULTICAST_IF, UPnP may not work properly:
Protocol not available
[12-08-10 16:02:14.0911] Slim::Networking::Async::Socket::UDP::mcast_add
(64) Error: While setting multicast TTL, UPnP may not work properly:
Protocol not available

These at least don't seem to be fatal.


------------------------------------------------------------------------
MattT's Profile: http://forums.slimdevices.com/member.php?userid=56836
View this thread: http://forums.slimdevices.com/showthread.php?t=95988

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

Reply via email to