Mnyb wrote: 
> Great work :) some Suse user would be happy now .
> 
> I don't know much about perl at all , installing the rpm on ClearOS only
> required the install of one missing perl "something" .
> 
> I did not have to create the symlink to it's perl libraries ( it just
> worked ) .
> 
> I do remember symlinking the libraries when I built my own perl 5.8.8
> for my old server ( who only had 5.8.5 installed ) but that was in 2008
> I have blissfully forgot what I did then .
I hope someone tries this on 12.2 and lets me know if it works:
Just installed a clean openSUSE 11.3 on a server, here's the current
procedure to get it working:
Add YUM release repository in Yast:

http://repos.slimdevices.com/yum/squeezecenter/release/

Then install squeezeboxserver 7.5.3-1 or greater.

Then as root execute:

ln -s /usr/lib/perl5/vendor_perl/Slim/
/usr/lib/perl5/vendor_perl/5.12.1/Slim

Then start it up:

service squeezeboxserver start

And apart from a couple of warnings about the locale all should be
working.


---------------------------------------------------------------------------------------------
After spending some time on this during the weekend, I'm now able to
stream to my Duet receiver in OpenSUSE 11.3. Turns out that my last
hurdle was that my firewall settings had all ports blocked (I know... I
can't believe I didn't check that first thing either). Here's a rundown,
from memory, of the steps I went through to get this running on 11.3 for
anyone who's interested:
1) Download and install the nightly build of squeezebox server (either
7.5.2 or 7.6 should work, but I used 7.5.2):
http://downloads.slimdevices.com/nightly/?ver=7.5The nightly is needed
since it supports Perl 5.12 which OpenSUSE 11.3 ships with.
2) Squeezebox server seems to look for some Perl modules in the wrong
location so make a link to the correct directory:
sudo ln -s /usr/lib/perl5/vendor_perl/Slim
/usr/lib/perl5/vendor_perl/5.14.2/3) Download and install the  package
from the PackMan repository:
http://packman.links2linux.org/package/llvm-gccGet the 11.1 package for
whichever architecture you're on. This is needed since it includes the
libssp.so library that squeezebox server requires.
4) Startup squeezebox server as root with:
sudo -u squeezeboxserver env
LD_LIBRARY_PATH=/usr/lib64/llvm-gcc/lib64/:$LD_LIBRARY_PATH
/usr/libexec/squeezeboxserver &
Note: The portion after 'LD_LIBRARY_PATH' would be different if you're
not on a x86_64 platform.
This command just kicks off the service as the squeezeboxserver user and
puts the newly installed libssp.so file on the library path.
5) Go into YaST's firewall tool and make sure you don't have all of your
ports blocked Hopefully this helps anyone who's been having problems
with squeezebox server and OpenSUSE 11.3. It sounds like there's some
work going into getting rid of the dependency on libssp.so which should
make this all a bit simpler in the future.


Open up the file /etc/init.d/squeezeboxserver and add the 'export
LD_LIBRARY_PATH' line below in start() (make sure you do this in the
SUSE section and not the Red Hat one):
start() {
echo -n "Starting Squeezebox Server: "
export HOME=$SQUEEZEBOX_HOME
export LD_LIBRARY_PATH=/usr/lib64/llvm-gcc/lib64/:$LD_LIBRARY_PATH
startproc -u $SQUEEZEBOX_USER $SQUEEZEBOX_BIN $SQUEEZEBOX_ARGS
rc_status -v
}
This works for me (the service starts on startup), but for some reason I
still can't control it from YaST. If you need to stop it for any reason
you can do it via the command line and it'll work:
sudo /etc/init.d/squeezeboxserver stop
Thanks for that critical piece of the puzzle.
------------
I always do insserv on the things in /etc/init.d, and link them to an
rcxxxx in /usr/sbin, so I can control them from the command line via
sudo or root.

I also had to install Inotify2 using
cpan -i Linux::Inotify2
to get the nice autorescan plugin to work (add
http://www.hickinbottom.com/sc-plugins/repo.xml to your sources at the
bottom).

And I also had to install LAME to get all the audio conversions in the
server.


OpenSUSE 12.1
So the good news is that after just doing:
sudo ln -s /usr/lib/perl5/vendor_perl/Slim
/usr/lib/perl5/vendor_perl/5.14.2/
the server seems to start and work. :-)
But, I can't get any of the things needed to install mplayer and the
various needed codecs and support files.
rpm -ivh MPlayer-1.0rc4_r34327-1.1.x86_64.rpm
error: Failed dependencies:
liba52.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libbluray.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libbs2b.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libcrystalhd.so.3()(64bit) is needed by
MPlayer-1.0rc4_r34327-1.1.x86_64
libdca.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libdirac_decoder.so.0()(64bit) is needed by
MPlayer-1.0rc4_r34327-1.1.x86_64
libesd.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libfaac.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libfaad.so.2()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libmp3lame.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libmpg123.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libopencore-amrnb.so.0()(64bit) is needed by
MPlayer-1.0rc4_r34327-1.1.x86_64
libopencore-amrwb.so.0()(64bit) is needed by
MPlayer-1.0rc4_r34327-1.1.x86_64
librtmp.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libtwolame.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libxvidcore.so.4()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
The 1-click installs all fail too.
Actually, the manual instructions at
http://opensuse-guide.org/codecs.phpseem to work. Doing it right now...
Nope. Still get
jarfx:/home/jar/download # rpm -ivh
MPlayer-1.0rc4_r34327-1.1.x86_64.rpm
error: Failed dependencies:
liba52.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libbluray.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libbs2b.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libcrystalhd.so.3()(64bit) is needed by
MPlayer-1.0rc4_r34327-1.1.x86_64
libdca.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libdirac_decoder.so.0()(64bit) is needed by
MPlayer-1.0rc4_r34327-1.1.x86_64
libesd.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libfaac.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libmpg123.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
libtwolame.so.0()(64bit) is needed by MPlayer-1.0rc4_r34327-1.1.x86_64
I got all but libesd at http://packman.links2linux.org/search which I
found at
http://rpm.pbone.net/index.php3/stat...86_64.rpm.html
And Eureka! MPlayer-1.0rc4_r34327-1.1.x86_64.rpm installs

Add the repository
http://packman.jacobs-university.de/suse/12.1/Essentialsusing yast2 and
Software Repositories, and then install with yast2. Or so I was
told....

---------------------

So things like this are what really worries me about the Logitech move
to dump LMS.


------------------------------------------------------------------------
jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223
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