Now I've got 7.4 working, this upgrade was nice and straightforward. All this took was;
1. download and uncompress squeezeboxserver-7.4.1.tgz
2. this uses a new Audio::Scan so download Audio-Scan-0.44.tar.gz from http://svn.slimdevices.com/repos/slim/7.4/trunk/vendor/CPAN/ .
I'm sticking with blastwave perl 5.8.8 for now, so uncompress the tarball and;
cd Audio-Scan-0.44
/opt/csw/bin/perl Makefile.PL
make
3. cd back to the squeezeserver directory and edit all of the .pl files to use /opt/csw/bin/perl
4. Copy over the CPAN/arch/5.8.8/i86pc-solaris-thread-multi/auto contents from the 7.4 install
5. Copy the */blib/arch/auto/* files from Audio-Scan-0.44 to CPAN/arch/5.8.8/i86pc-solaris-thread-multi/auto . This will give us all the modules required by slimserver but as the versions haven't changed, no need to reinvent the wheel.
6. Copy over current MySQL/errmsg.* to MySQL/
7. cp -pr existing prefs directory
Now just stop current slimserver, change ownership on the new set of files and fire up slimserver.pl and it should all burst into life.
Sunday, October 25, 2009
Monday, October 19, 2009
slimserver 7.4 install on Solaris
I posted this up on the slimserver forum but thought I'd repeat it here as I had a bit of a tussle to get it working using the build scripts. Once I ditched the auto build scripts and ran through the steps below it all worked fine;
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 | gtar xvf -
2. Download the contents of http://svn.slimdevices.com/repos/sli...k/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
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. 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
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 | gtar xvf -
2. Download the contents of http://svn.slimdevices.com/repos/sli...k/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
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. 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
Labels:
slimserver
Subscribe to:
Comments (Atom)
