OK, here's what I ran through to get the new slimserver working. I built
this today and can listen to both mp3s and the radio through my boom so
it has been a success. 

andyg might not approve though as this avoids running any build scripts
at all  ;-)

My configuration utilises an already running mysql instance and I have
at least one module installed through CPAN (as mentioned below) so YMMV,
but hopefully this will be of use.


1. Unzip tarball
gzcat squeezeboxserver-7.4.0-28672.tgz | tar xvf -

2. Download the contents of
http://svn.slimdevices.com/repos/slim/7.4/trunk/vendor/CPAN/ into a
separate build directory and uncompress each module

3.  Using the following environment - v5.8.8 version of perl (I use the
Blastwave package), Sun Studio 12 C Compiler - build each package. eg;
cd AutoXS-Header-1.02
perl Makefile.PL
make

4. Create our new arch directory and then copy each of the compiled .so
files into the new squeezeserver install.
cd squeezeboxserver-7.4.0-28672
mkdir -p CPAN/arch/5.8.8/i86pc-solaris-thread-multi/auto
cd <newsqueezemodules>
cp -pr */blib/arch/auto/*
../squeezeboxserver-7.4.0-28672/CPAN/arch/5.8.8/i86pc-solaris-thread-multi/auto

5. edit the first line of slimserver.pl so it uses /opt/csw/bin/perl

6. Try and run slimserver.pl. At this point I got an error;
The following CPAN modules were found but cannot work with Squeezebox
Server:
Audio::Scan (loaded 0.38, need 0.41)

I already had version 0.41 installed through cpan so I ran through the
following to fix;
cd CPAN
mv Audio Audio.old
cd ..
vi modules.conf   -> Audio::Scan 0.41

7. Copy over old prefs/server.prefs file

8. Copy old errmsg.sys to MySQL directory
cp /usr/local/slimserver/MySQL/errmsg.* MySQL/

9. Copy over favorites file from Cache/favorites.opml to new install

10. chown -R to slimserver user, move into the usual place (on my
system it is /usr/local/slimserver) then su to the slimserver user and
test.
su - slimserver
./slimserver.pl


-- 
Blue_Atom
------------------------------------------------------------------------
Blue_Atom's Profile: http://forums.slimdevices.com/member.php?userid=7699
View this thread: http://forums.slimdevices.com/showthread.php?t=68589

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

Reply via email to