vaved wrote: 
> Yes, I installed openSUSE 64-bit on my machine.

OK, these steps worked for me after I uninstalled the LMS rpm package
and started from a clean slate. These worked for openSUSE 12.2 64-bit
version.
These are summarized from peoples posts on this thread.

1. install latest 7.8 rpm package

2. make sure you have all necessary build packages (gcc, c++, make,
etc...)

3. checkout the entire CPAN packages needed by LMS from logitech:
cd <my-working-dir>
svn co http://svn.slimdevices.com/repos/slim/7.8/trunk/vendor/CPAN/

4. make sure nasm is installed. This is needed to compile the packages
(netwide asm)

5. download the patched buildme.sh.txt script posted on this thread.

6.  download the following packages from CPAN directly:
a. Class-XSAccessor-1.14.tar.gz
b. YAML-LibYAML-0.38.tar.gz

7. in  <my-working-dir> build the packages:
cd <my-working-dir>
mv buildme.sh.txt buildme.patched.sh
chmod +x  buildme.patched.sh
./buildme.patched.sh

8. copy newly build CPAN modules:
cp -a build/arch/5.16 /usr/share/squeezeboxserver/CPAN/arch

9. fix the Class::XSAccessor issue:
edit /usr/share/squeezeboxserver/CPAN/Class/XSAccessor.pm
and change the version line to 1.14

our $VERSION = '1.14';

10. patch  /usr/lib/perl5/vendor_perl/Slim/Control/Request.pm

# get a parameter by name
sub getParam {
-       return $_[0]->{'_params'}->{ $_[1] };
+       my $r = $_[0]->{'_params'}->{ $_[1] };
+       return ($r ne '') ? $r : undef;
}

11.  still need the perl link:
ln -s /usr/lib/perl5/vendor_perl/Slim/
/usr/lib/perl5/vendor_perl/5.16/Slim

12. open necessary ports as necessary, i.e. TCP 9000, UDP/TCP 3483

13. stop and restart LMS service:

systemctl stop logitechmediaserver.service
systemctl start logitechmediaserver.service



The only thing I see in the start log, other than the depricated array
junk is the locale issue. I saw the fix for openSUSE 11.4 but I have not
tried that yet since 11.4 did not use systemd.
Does anyone else see the local whine?

"Your locale was detected as C, you may have problems with non-Latin
filenames.  Consider changing your LANG variable to the correct locale,
i.e. en_US.utf8"

Seems to work for me otherwise.


------------------------------------------------------------------------
vaved's Profile: http://forums.slimdevices.com/member.php?userid=58267
View this thread: http://forums.slimdevices.com/showthread.php?t=96492

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

Reply via email to