Bug 14593 - 7.4 server fails to start after upgrade or clean install.
: 7.4 server fails to start after upgrade or clean install.
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Mac Preference Pane
: 7.4.0
: Macintosh MacOS X 10.4
: -- major (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-05 23:37 UTC by stroganov.a
Modified: 2012-03-09 04:19 UTC (History)
2 users (show)

See Also:
Category: Task


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stroganov.a 2009-10-05 23:37:04 UTC
This is a log of my problems, and what I had to do to get the server to work. I'm reporting it here for the record, and in hopes that even if it doesn't get fixed, at least it might help someone else with the same problems.

1. Downloaded the dmg and ran the installer. So far so good.
2. Try to click 'start server' in control panel. The button gets dimmed for a minute, then pops back up, server failed to start. Not very surprised, since having similar problem with every version upgrade. Off I go into the shell.

3. cd /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/
4. ./slimserver.pl --d_startup

> The following modules failed to load: YAML::Syck
> 
> To download and compile them, please run: /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/build-perl-modules.pl YAML::Syck

Very well.

5. ./Bin/build-perl-modules.pl YAML::Syck
6. ./slimserver.pl --d_startup

> The following CPAN modules were found but cannot work with Squeezebox Server:
>   Audio::Scan:
> Audio::Scan object version 0.40 does not match bootstrap parameter 0.38 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.

Hmm.
Ok...

7. ./Bin/build-perl-modules.pl Audio::Scan

> Downloading Audio-Scan-0.26.tar.gz to: /Library/PreferencePanes/Squeezebox.prefPane/Contents/server
> Something looks wrong - I couldn't read /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Audio-Scan-0.26.tar.gz, which I just downloaded.

Oh no. Ok, let's go look at build-perl-modules.pl and modules.conf... 

Ok, looks like modules.conf says we want Audio::Scan 0.38, but build-perl-modules.pl says we want Audio::Scan 0.26 [how long ago did anyone test this?]

Fine, changing build-perl-modules.pl to look for 0.38.

8. ./Bin/build-perl-modules.pl Audio::Scan

> Downloading Audio-Scan-0.38.tar.gz to: /Library/PreferencePanes/Squeezebox.prefPane/Contents/server
> Something looks wrong - I couldn't read /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Audio-Scan-0.38.tar.gz, which I just downloaded.

What the?... Ok, let's look at build-perl-modules.pl.
Ok, it tries to fetch it from http://svn.slimdevices.com/repos/slim/7.4/trunk/vendor/CPAN/ (why not straight from CPAN, I'll never know)
Looking at http://svn.slimdevices.com/repos/slim/7.4/trunk/vendor/CPAN/ - yup, no 0.38 in evidence. There is a 0.40 though. Ok, I will assume that's what we want. 
Changed modules.conf and build-perl-modules.pl to 0.40 both.

9. ./Bin/build-perl-modules.pl Audio::Scan

Some C warnings, but nothing fatal. Whew. Maybe now we can start the server...

10. ./slimserver.pl --d_startup

> The following CPAN modules were found but cannot work with Squeezebox Server:
>   Audio::Scan (loaded 0.38, need 0.40)
>   DBIx::Class (loaded <not found>, need 0.08109)

What the...
Oh, it's loading 0.38 again. From where?
Ah, there's one in /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Audio directory. Wonder why it wasn't used by the server in step 6... Ok, I guess since we got it from build-perl-modules.pl already, we can remove the one here.

11. rm -rf ./CPAN/Audio
12. ./slimserver.pl --d_startup

> The following CPAN modules were found but cannot work with Squeezebox Server:
>   DBIx::Class (loaded <not found>, need 0.08109)

Oh good, that's fixed. What's this now? Wait, what do you mean not found?
No entries for that in modules.conf or build-perl-modules.pl

14. sudo cpan DBIx::Class

Ok, should be installed now.

15. ./slimserver.pl --d_startup

> The following CPAN modules were found but cannot work with Squeezebox Server:
>   DBIx::Class (loaded <not found>, need 0.08109)

I... I just installed it...

16. perl -MDBIx::Class\ 999

> DBIx::Class version 999 required--this is only version 0.08112.

And it's right there...

*breaks down and cries* 

I'm ok. I'm ok now.
Maybe it's not _really_ missing.
Grepping for "<not found>" in server directory.
Aha, let's look at Slim/bootstrap.pm

Let's print the $msg var on line 388. Maybe it's lying to us.

17. ./slimserver.pl --d_startup

> Class::C3::XS object version 0.13 does not match bootstrap parameter 0.11 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Compilation failed in require at (eval 62) line 3.
> BEGIN failed--compilation aborted at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Class/C3.pm line 29.
> Compilation failed in require at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/MRO/Compat.pm line 27.
> BEGIN failed--compilation aborted at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/MRO/Compat.pm line 44.
> Compilation failed in require at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/DBIx/Class.pm line 6.
> BEGIN failed--compilation aborted at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/DBIx/Class.pm line 6.
> Compilation failed in require at (eval 61) line 2.
> BEGIN failed--compilation aborted at (eval 61) line 2.
> The following CPAN modules were found but cannot work with Squeezebox Server:
>   DBIx::Class (loaded <not found>, need 0.08109)

Well, really now.

18. ./Bin/build-perl-modules.pl Class::C3::XS
19. ./slimserver.pl --d_startup

It's not exiting right away any more, but web interface doesn't work, and we see this in the startup log

> [09-10-05 22:58:46.5730] Slim::bootstrap::tryModuleLoad (291) Warning: Module [Template::Stash::XS] failed to load:
> Couldn't load Template::Stash::XS 2.21:
> 
Template::Stash::XS object version 2.22 does not match bootstrap parameter 2.21 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.

Ok...

20. ./Bin/build-perl-modules.pl Template
21. ./slimserver.pl --d_startup

I can't believe it. It starts up!

Not cleanly, mind you. Still see troublesome lines like these:

> Module [DBI] failed to load:
> DBI object version 1.609 does not match $DBI::VERSION 1.608 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Removing [DBI] from the symbol table - load failed.
> Module [DBD::mysql] failed to load:
> DBI object version 1.609 does not match $DBI::VERSION 1.608 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Removing [DBD::mysql] from the symbol table - load failed.
> Removing [DBI] from the symbol table - load failed.
> ...
> Module [HTML::Parser] failed to load:
> HTML::Parser object version 3.62 does not match bootstrap parameter 3.60 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Removing [HTML::Parser] from the symbol table - load failed.
> Removing [HTML::Entities] from the symbol table - load failed.
> ...
> Module [JSON::XS] failed to load:
> JSON::XS object version 2.25 does not match bootstrap parameter 2.232 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Removing [JSON::XS] from the symbol table - load failed.
> ...
> The following modules failed to load on the first attempt: [DBI, DBD::mysql, HTML::Parser, JSON::XS] - will try again.
> ...
> Loaded module: [DBI] ok!
> Loaded module: [DBD::mysql] ok!
> Loaded module: [HTML::Parser] ok!
> Loaded module: [JSON::XS] ok!

Ok, let's see if this helps.

22. ./Bin/build-perl-modules.pl JSON::XS
23. ./Bin/build-perl-modules.pl HTML::Parser
24. ./Bin/build-perl-modules.pl DBI
25. ./Bin/build-perl-modules.pl DBD::mysql

> Downloading DBD-mysql-4.011.tar.gz to: /Library/PreferencePanes/Squeezebox.prefPane/Contents/server
> Something looks wrong - I couldn't read /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/DBD-mysql-4.011.tar.gz, which I just downloaded.

Oh great.
Let's see... yup, no 4.011 at svn.slimdevices.com.
http://svn.slimdevices.com/repos/slim/7.4/trunk/vendor/CPAN/ only has DBD-mysql-3.0002.tar.gz

Ok, how about we do

26. sudo cpan DBD::mysql

> DBD::mysql is up to date (4.013).

meh.
1 CPAN search later:

27. sudo cpan install C/CA/CAPTTOFU/DBD-mysql-4.011.tar.gz
28. ./slimserver.pl --d_startup

> Module [DBD::mysql] failed to load:
> DBD::mysql object version 4.011 does not match bootstrap parameter 3.0002 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.

You don't say...

Ok, change modules.conf to require 4.011 instead of 3.0002

29. ./slimserver.pl --d_startup

> Module [DBD::mysql] failed to load:
> DBD::mysql object version 4.011 does not match bootstrap parameter 3.0002 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.

What the...

Oh. There is a 3.0002 in /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/DBD/. Very well.

30. rm -rf ./CPAN/DBD/mysql*
31. ./slimserver.pl --d_startup

Finally, clean startup.

Now, this took about two hours to figure out (I don't use perl, so this took a lot of googling and experimenting), and another hour to redo from scratch so I could write this up. Please, please, maybe just consider making it less painful to use squeezecenter? How hard can it be?

And yes, I did try downloading both http://downloads.slimdevices.com/SqueezeboxServer_v7.4.0/squeezeboxserver-7.4.0-28672-noCPAN.tgz and http://downloads.slimdevices.com/SqueezeboxServer_v7.4.0/squeezeboxserver-7.4.0-28672.tgz and unpacking them into /Library/PreferencePanes/Squeezebox.prefPane/Contents/, and they had the same problems.
Comment 1 stroganov.a 2009-10-05 23:43:04 UTC
btw, it's pretty much the same issue as in bug #6634, this time I just have more experience with resolving it, and more time to write it up, having had to go through the same procedure (if different modules) for upgrades to 7.0, 7.1, 7.2 and 7.3 before.
Comment 2 Michael Herger 2009-10-05 23:54:20 UTC
What exact file/revision have you been trying to install?
Comment 3 Michael Herger 2009-10-05 23:57:33 UTC
> And yes, I did try downloading both
> http://downloads.slimdevices.com/SqueezeboxServer_v7.4.0/squeezeboxserver-7.4.0-28672-noCPAN.tgz
> and
> http://downloads.slimdevices.com/SqueezeboxServer_v7.4.0/squeezeboxserver-7.4.0-28672.tgz

Don't use them on OSX. Download the .dmg file and install the OSX package.
Comment 4 stroganov.a 2009-10-05 23:59:47 UTC
The bulk of this article applies to the 7.4 install from dmg that I downloaded
yesterday
(http://downloads.slimdevices.com/SqueezeboxServer_v7.4.0/SqueezeboxServer-7.4.0.dmg).

I tried the tgz versions, saw that they seemed to have the same problems, and
discarded, them, but did not do it from start to running server state with
either of those, so they may have less problems, or different problems. The
solution for the dmg problems is exactly as I described it, however, I
specifically removed the install and did a clean install again today to write
it up.
Comment 5 stroganov.a 2009-10-06 00:01:28 UTC
Feel free to hit me up on IM if you like, I'm on gtalk with this email address.
Comment 6 Michael Herger 2009-10-06 02:27:13 UTC
I checked the 7.4.0 file again and I can't reproduce your issue. Eg. Audio::Scan has only been updated to 0.40 _after_ the 7.4.0 release. There can't be anything in the original installer which would point to that version.

Please remove all Squeezebox related files and folders, download again, and install from scratch. If this doesn't help, please contact support.
Comment 7 stroganov.a 2009-10-06 02:56:31 UTC
This _was_ from a clean install. I removed all SqueezeCenter files, specifically everything listed at http://wiki.slimdevices.com/index.php/Mac_Installation_Guide#Uninstalling

After I spent my time writing it up, I'd appreciate a little more attention, rather than assuming that I'm making things up. Like I said in the beginning of my post, I got it working, so I don't really need to contact support, this was hopefully to help you fix it so other people don't have these problems.

Here's the exact info of what I was using as installer:

> dmg file: SqueezeboxServer-7.4.0.dmg
> md5 hash: b0b8c391a5f6d41bae5ec6a8c42eeb90
> date modified: Sep 28 18:04

And here's what I see on the dmg itself if you don't believe that I did a clean install.

cd /Volumes/SqueezeboxServer 7.4.0/Install Files/Squeezebox.prefPane/Contents/server
grep Audio modules.conf

> Audio::Scan 0.38

grep Audio Bin/build-perl-modules.pl 

> 'Audio::Scan'              => 'Audio-Scan-0.26.tar.gz',

grep VERSION CPAN/Audio/Scan.pm

> our $VERSION = '0.38';

Look at http://svn.slimdevices.com/repos/slim/7.4/trunk/vendor/CPAN/ (which is where build-perl-modules tries to download packages from), and you will see that it _only_ has Audio-Scan-0.40.tar.gz. So, I'm not sure why the Audio::Scan that came with it is not loading, but I definitely know that trying to fix it with ./Bin/build-perl-modules.pl as supplied will NOT work.

As for the rest of the problems, I have no idea why they were happening, like I said, I know just enough about perl to have been able to get the server to work after much hair-tearing-out.

I mean ok, maybe you can consider this bug invalid, but at least can you tell me what should I do so I can just do a clean install and have it work from get go, instead of having to waste two hours trying to get all the dependencies ironed out? 

Is my environment weird? Do I need to blow away my system CPAN directory? Can you just package everything with SqueezeCenter and tell it to ignore any modules it finds outside install directory? This is rather frustrating.
Comment 8 Michael Herger 2009-10-06 03:36:19 UTC
> After I spent my time writing it up, I'd appreciate a little more attention,
> rather than assuming that I'm making things up.

Thanks for your effort. I don't assume anything. I spent my hour on this report too. I downloaded the file you indicated. It installed and run fine. I looked at the files you're citing. They're fine in there. 

Like I said: if you want your problem solved then you should call support.

I'll try to explain what you're seeing:

> > dmg file: SqueezeboxServer-7.4.0.dmg
> > md5 hash: b0b8c391a5f6d41bae5ec6a8c42eeb90

That's fine, identical to mine.

> cd /Volumes/SqueezeboxServer 7.4.0/Install
> Files/Squeezebox.prefPane/Contents/server
> grep Audio modules.conf
> 
> > Audio::Scan 0.38

That's fine.

> grep Audio Bin/build-perl-modules.pl 

Ok, this script is broken. But you shouldn't need to run this script anyway. We'll remove it in the next release.

> grep VERSION CPAN/Audio/Scan.pm
> 
> > our $VERSION = '0.38';

Matches the modules.conf - fine.
 
> Look at http://svn.slimdevices.com/repos/slim/7.4/trunk/vendor/CPAN/ (which is
> where build-perl-modules tries to download packages from), and you will see
> that it _only_ has Audio-Scan-0.40.tar.gz.

That's the version for 7.4.1. Check it's build date and you'll see it's after the 7.4.0 release. The released version is here:

http://svn.slimdevices.com/slim/7.4/tags/7.4.0/vendor/CPAN/Audio-Scan-0.38.tar.gz?view=log

> So, I'm not sure why the Audio::Scan
> that came with it is not loading, but I definitely know that trying to fix it
> with ./Bin/build-perl-modules.pl as supplied will NOT work.

Agreed. That script is broken. But SBS 7.4.0 doesn't need it.

> I mean ok, maybe you can consider this bug invalid, but at least can you tell
> me what should I do so I can just do a clean install and have it work from get
> go, instead of having to waste two hours trying to get all the dependencies
> ironed out? 

Make sure you've removed any Squeeze*.prefpane from /Library/ and ~/Library/

Install the aforementioned build using the installer. Run again. Post the server.log file if it's still failing.

> Is my environment weird?

Don't know. Did you update your perl installation manually?


QA - please reproduce on a Tiger installation.
Comment 9 stroganov.a 2009-10-06 11:46:09 UTC
(In reply to comment #8)
> Thanks for your effort. I don't assume anything. I spent my hour on this report
> too. I downloaded the file you indicated. It installed and run fine. I looked
> at the files you're citing. They're fine in there. 

Ok, thank you :) Just wanted to know that someone looked at it rather than just dismissing it.
 > > Look at http://svn.slimdevices.com/repos/slim/7.4/trunk/vendor/CPAN/ (which is
> > where build-perl-modules tries to download packages from), and you will see
> > that it _only_ has Audio-Scan-0.40.tar.gz.
> 
> That's the version for 7.4.1. Check it's build date and you'll see it's after
> the 7.4.0 release. The released version is here:
> 
> http://svn.slimdevices.com/slim/7.4/tags/7.4.0/vendor/CPAN/Audio-Scan-0.38.tar.gz?view=log

Fair enough, but build-perl-modules doesn't look in tag directory, it looks in trunk. Though I guess if you're removing it anyway, it doesn't matter.

> Make sure you've removed any Squeeze*.prefpane from /Library/ and ~/Library/

Yup, did that.

> Install the aforementioned build using the installer. Run again. Post the
> server.log file if it's still failing.

I guess I'll get you the server.log when I get home.

> > Is my environment weird?
> 
> Don't know. Did you update your perl installation manually?

Should be stock perl install that came with Tiger, 5.8.8. Even if I did update it manually, I'd guess SC should still default to the packages that come with it, no?
Comment 10 Chris Owens 2010-03-15 18:06:38 UTC
7.4.x milestone is in the past
Comment 11 stroganov.a 2010-05-18 22:21:28 UTC
Update for 7.5

deleted old prefpane, installed from scratch. fails to start.

1. Downloaded the dmg and ran the installer. So far so good.
2. Try to click 'start server' in control panel. The button gets dimmed and stays that way. Not surprised. Off I go into the shell.

3. cd /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/
4. ./slimserver.pl --d_startup

> Module [DBI] failed to load:
> DBI object version 1.609 does not match $DBI::VERSION 1.608 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> BEGIN failed--compilation aborted at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/DBI.pm line 263.
> Compilation failed in require at (eval 17) line 2.
> BEGIN failed--compilation aborted at (eval 17) line 2.

> Removing [DBI] from the symbol table - load failed.
> Module [DBD::mysql] failed to load:
> DBI object version 1.609 does not match $DBI::VERSION 1.608 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> BEGIN failed--compilation aborted at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/DBI.pm line 263.
> Compilation failed in require at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/DBD/mysql.pm line 7.
> BEGIN failed--compilation aborted at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/DBD/mysql.pm line 7.
> Compilation failed in require at (eval 18) line 2.
> BEGIN failed--compilation aborted at (eval 18) line 2.
> 
> Removing [DBD::mysql] from the symbol table - load failed.
> Removing [DBI] from the symbol table - load failed.
> Loaded module: [EV] ok!
> Loaded module: [XML::Parser::Expat] ok!
> Module [HTML::Parser] failed to load:
> HTML::Parser object version 3.62 does not match bootstrap parameter 3.60 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Compilation failed in require at (eval 21) line 2.
> BEGIN failed--compilation aborted at (eval 21) line 2.
> 
> Removing [HTML::Parser] from the symbol table - load failed.
> Removing [HTML::Entities] from the symbol table - load failed.
> Module [JSON::XS] failed to load:
> JSON::XS object version 2.25 does not match bootstrap parameter 2.232 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Compilation failed in require at (eval 22) line 2.
> BEGIN failed--compilation aborted at (eval 22) line 2.
> 
> Removing [JSON::XS] from the symbol table - load failed.
> Loaded module: [Digest::SHA1] ok!
> Module [YAML::Syck] failed to load:
> Can't locate auto/YAML/Syck/DumpYAML.al in @INC (@INC contains: /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8/darwin-2level /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8/darwin-2level/auto /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8.8/darwin-2level /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8.8/darwin-2level/auto /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8/darwin-2level /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8/darwin-2level/auto /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/darwin-2level /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/lib /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN /Library/PreferencePanes/Squeezebox.prefPane/Contents/server /Library/Application Support/Squeezebox /Users/aeon/Library/Application Support/Squeezebox /Library/PreferencePanes/Squeezebox.prefPane/Contents/server /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib/perl5/5.8.8/darwin-2level /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/YAML/Syck.pm line 65
> 
> Removing [YAML::Syck] from the symbol table - load failed.
> Removing [List::Util] from the symbol table - load failed.
> Removing [Scalar::Util] from the symbol table - load failed.
> Loaded module: [GD] ok!
> Loaded module: [Sub::Name] ok!
> Loaded module: [Locale::Hebrew] ok!
> The following modules are loaded after the first attempt:
>         IO/Handle.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/IO/Handle.pm
>         re.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/re.pm
>         File/Spec/Functions.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/File/Spec/Functions.pm
>         POSIX.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/POSIX.pm
>         SelectSaver.pm => /usr/local/lib/perl5/5.8.8/SelectSaver.pm
>         Getopt/Long.pm => /usr/local/lib/perl5/5.8.8/Getopt/Long.pm
>         GD/Polygon.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/GD/Polygon.pm
>         Locale/Hebrew.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Locale/Hebrew.pm
>         Cwd.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Cwd.pm
>         warnings.pm => /usr/local/lib/perl5/5.8.8/warnings.pm
>         Carp/Heavy.pm => /usr/local/lib/perl5/5.8.8/Carp/Heavy.pm
>         Slim/Utils/OSDetect.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/OSDetect.pm
>         Digest/base.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Digest/base.pm
>         Fcntl.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Fcntl.pm
>         Symbol.pm => /usr/local/lib/perl5/5.8.8/Symbol.pm
>         Sub/Name.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Sub/Name.pm
>         UNIVERSAL.pm => /usr/local/lib/perl5/5.8.8/UNIVERSAL.pm
>         Exporter.pm => /usr/local/lib/perl5/5.8.8/Exporter.pm
>         Slim/Utils/OS.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/OS.pm
>         version/vpp.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/version/vpp.pm
>         File/Spec.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/File/Spec.pm
>         File/Path.pm => /usr/local/lib/perl5/5.8.8/File/Path.pm
>         /usr/local/lib/perl5/5.8.8/darwin-2level/auto/POSIX/autosplit.ix => /usr/local/lib/perl5/5.8.8/darwin-2level/auto/POSIX/autosplit.ix
>         FindBin.pm => /usr/local/lib/perl5/5.8.8/FindBin.pm
>         locale.pm => /usr/local/lib/perl5/5.8.8/locale.pm
>         warnings/register.pm => /usr/local/lib/perl5/5.8.8/warnings/register.pm
>         XSLoader.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/XSLoader.pm
>         Slim/bootstrap.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/bootstrap.pm
>         Digest/SHA1.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Digest/SHA1.pm
>         Time/HiRes.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Time/HiRes.pm
>         /usr/local/lib/perl5/5.8.8/darwin-2level/auto/POSIX/load_imports.al => /usr/local/lib/perl5/5.8.8/darwin-2level/auto/POSIX/load_imports.al
>         IO/Seekable.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/IO/Seekable.pm
>         XML/Parser/Expat.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/XML/Parser/Expat.pm
>         version.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/version.pm
>         base.pm => /usr/local/lib/perl5/5.8.8/base.pm
>         GD/Image.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/GD/Image.pm
>         Config.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Config.pm
>         File/Basename.pm => /usr/local/lib/perl5/5.8.8/File/Basename.pm
>         EV.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/EV.pm
>         IO.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/IO.pm
>         Carp.pm => /usr/local/lib/perl5/5.8.8/Carp.pm
>         FileHandle.pm => /usr/local/lib/perl5/5.8.8/FileHandle.pm
>         common/sense.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/common/sense.pm
>         File/Spec/Unix.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/File/Spec/Unix.pm
>         Exporter/Heavy.pm => /usr/local/lib/perl5/5.8.8/Exporter/Heavy.pm
>         vars.pm => /usr/local/lib/perl5/5.8.8/vars.pm
>         strict.pm => /usr/local/lib/perl5/5.8.8/strict.pm
>         constant.pm => /usr/local/lib/perl5/5.8.8/constant.pm
>         IO/File.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/IO/File.pm
>         AutoLoader.pm => /usr/local/lib/perl5/5.8.8/AutoLoader.pm
>         overload.pm => /usr/local/lib/perl5/5.8.8/overload.pm
>         lib.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/lib.pm
>         GD.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/GD.pm
>         DynaLoader.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm
>         Slim/Utils/OS/OSX.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/OS/OSX.pm
> 
> The following modules failed to load on the first attempt: [DBI, DBD::mysql, HTML::Parser, JSON::XS, YAML::Syck] - will try again.
> 
> Loaded module: [DBI] ok!
> Loaded module: [DBD::mysql] ok!
> Loaded module: [HTML::Parser] ok!
> Loaded module: [JSON::XS] ok!
> Module [YAML::Syck] failed to load:
> Undefined subroutine &YAML::Syck::Dump called at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/bootstrap.pm line 310.
> 
> Removing [YAML::Syck] from the symbol table - load failed.
> The following modules are loaded after the second attempt:
>         attributes.pm => /usr/local/lib/perl5/5.8.8/attributes.pm
>         DBI/Const/GetInfo/ODBC.pm => /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBI/Const/GetInfo/ODBC.pm
>         List/Util.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/List/Util.pm
>         POSIX.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/POSIX.pm
>         GD/Polygon.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/GD/Polygon.pm
>         Cwd.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Cwd.pm
>         Carp/Heavy.pm => /usr/local/lib/perl5/5.8.8/Carp/Heavy.pm
>         Slim/Utils/OSDetect.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/OSDetect.pm
>         Digest/base.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Digest/base.pm
>         Fcntl.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Fcntl.pm
>         Symbol.pm => /usr/local/lib/perl5/5.8.8/Symbol.pm
>         Scalar/Util.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Scalar/Util.pm
>         Exporter.pm => /usr/local/lib/perl5/5.8.8/Exporter.pm
>         Slim/Utils/OS.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/OS.pm
>         File/Spec.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/File/Spec.pm
>         /usr/local/lib/perl5/5.8.8/darwin-2level/auto/POSIX/autosplit.ix => /usr/local/lib/perl5/5.8.8/darwin-2level/auto/POSIX/autosplit.ix
>         locale.pm => /usr/local/lib/perl5/5.8.8/locale.pm
>         warnings/register.pm => /usr/local/lib/perl5/5.8.8/warnings/register.pm
>         XSLoader.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/XSLoader.pm
>         Slim/bootstrap.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/bootstrap.pm
>         XML/Parser/Expat.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/XML/Parser/Expat.pm
>         DBI.pm => /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBI.pm
>         GD/Image.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/GD/Image.pm
>         EV.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/EV.pm
>         common/sense.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/common/sense.pm
>         File/Spec/Unix.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/File/Spec/Unix.pm
>         Exporter/Heavy.pm => /usr/local/lib/perl5/5.8.8/Exporter/Heavy.pm
>         vars.pm => /usr/local/lib/perl5/5.8.8/vars.pm
>         strict.pm => /usr/local/lib/perl5/5.8.8/strict.pm
>         AutoLoader.pm => /usr/local/lib/perl5/5.8.8/AutoLoader.pm
>         HTML/Entities.pm => /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/HTML/Entities.pm
>         lib.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/lib.pm
>         GD.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/GD.pm
>         re.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/re.pm
>         IO/Handle.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/IO/Handle.pm
>         HTML/Parser.pm => /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/HTML/Parser.pm
>         File/Spec/Functions.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/File/Spec/Functions.pm
>         Getopt/Long.pm => /usr/local/lib/perl5/5.8.8/Getopt/Long.pm
>         SelectSaver.pm => /usr/local/lib/perl5/5.8.8/SelectSaver.pm
>         Locale/Hebrew.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Locale/Hebrew.pm
>         DBD/mysql.pm => /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBD/mysql.pm
>         warnings.pm => /usr/local/lib/perl5/5.8.8/warnings.pm
>         UNIVERSAL.pm => /usr/local/lib/perl5/5.8.8/UNIVERSAL.pm
>         Sub/Name.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Sub/Name.pm
>         version/vpp.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/version/vpp.pm
>         JSON/XS.pm => /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/JSON/XS.pm
>         File/Path.pm => /usr/local/lib/perl5/5.8.8/File/Path.pm
>         FindBin.pm => /usr/local/lib/perl5/5.8.8/FindBin.pm
>         Digest/SHA1.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/Digest/SHA1.pm
>         Time/HiRes.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Time/HiRes.pm
>         /usr/local/lib/perl5/5.8.8/darwin-2level/auto/POSIX/load_imports.al => /usr/local/lib/perl5/5.8.8/darwin-2level/auto/POSIX/load_imports.al
>         IO/Seekable.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/IO/Seekable.pm
>         version.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/version.pm
>         base.pm => /usr/local/lib/perl5/5.8.8/base.pm
>         File/Basename.pm => /usr/local/lib/perl5/5.8.8/File/Basename.pm
>         Config.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/Config.pm
>         DBI/Const/GetInfoType.pm => /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBI/Const/GetInfoType.pm
>         IO.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/IO.pm
>         Carp.pm => /usr/local/lib/perl5/5.8.8/Carp.pm
>         FileHandle.pm => /usr/local/lib/perl5/5.8.8/FileHandle.pm
>         constant.pm => /usr/local/lib/perl5/5.8.8/constant.pm
>         overload.pm => /usr/local/lib/perl5/5.8.8/overload.pm
>         IO/File.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/IO/File.pm
>         DBI/Const/GetInfo/ANSI.pm => /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/DBI/Const/GetInfo/ANSI.pm
>         Slim/Utils/OS/OSX.pm => /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/OS/OSX.pm
>         DynaLoader.pm => /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm
> 
> The following modules failed to load: YAML::Syck
> 
> 
> *******
> 
> NOTE:
> 
> Please use the buildme.sh script located here:
> http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/
> 
> If 7.5 is outdated by the time you read this, Replace "7.5" with the major version
> of Squeezebox Server you are running.
> 
> *******
> 
> 
> Exiting..
> Can't locate Tie/Cache/LRU.pm in @INC (@INC contains: /Library/Application Support/Squeezebox /Users/aeon/Library/Application Support/Squeezebox /Library/PreferencePanes/Squeezebox.prefPane/Contents/server /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib/perl5/5.8.8/darwin-2level /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/OS/OSX.pm line 311.
> INIT failed--call queue aborted at ./slimserver.pl line 135.


5. curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/buildme.sh && chmod +x ./buildme.sh
6. ./buildme.sh YAML::Syck

> Building for Darwin / darwin-2level
> Building with Perl 5.8.x at /usr/local/bin/perl5.8.8
> tar (child): YAML-Syck-1.05.tar.gz: Cannot open: No such file or directory
> tar (child): Error is not recoverable: exiting now
> tar: Child returned status 2
> tar: Error exit delayed from previous errors
> ./buildme.sh: line 100: cd: YAML-Syck-1.05: No such file or directory
> cp: ../hints: No such file or directory
> Can't open perl script "Makefile.PL": No such file or directory
> make: *** No rule to make target `test'.  Stop.
> make test failed, aborting

7. curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Audio-Scan-0.81.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/AutoXS-Header-1.02.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Class-C3-XS-0.11.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Class-C3-XS-no-ckWARN.patch
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Class-XSAccessor-1.03.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Class-XSAccessor-Array-1.04.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Compress-Raw-Zlib-2.017.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/DBD-mysql-3.0002.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/DBI-1.608.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Data-Dump-1.15.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Digest-SHA1-2.11.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/EV-3.8.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/EV-fixes.patch
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Encode-Detect-1.00.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/ExtUtils-CBuilder-0.260301.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/GD-2.41.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/GD-Makefile.patch
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/HTML-Parser-3.60.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/HTML-Tagset-3.20.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/JSON-XS-2.232.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Locale-Hebrew-1.04.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Module-Build-0.35.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Sub-Name-0.04.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/Template-Toolkit-2.21.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/XML-Parser-2.36.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/XML-Parser-Expat-Makefile.patch
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/YAML-Syck-1.05.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/common-sense-2.0.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/expat-2.0.1.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/fontconfig-2.6.0.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/freetype-2.3.9.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/freetype-arm-asm.patch
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/gd-2.0.35.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/jpegsrc.v6b.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/libpng-1.2.39.tar.gz
   curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/mysql-5.1.37.tar.bz2
8. mkdir hints && cd hints
9. curl -O http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/hints/darwin.pl
10. cd /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/build
let's try again...
11. ./buildme.sh YAML::Syck

> seems to have worked

12. ./slimserver.pl --d_startup
> ...
> Module [YAML::Syck] failed to load:
> Can't locate auto/YAML/Syck/DumpYAML.al in @INC (@INC contains: /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8/darwin-2level /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8/darwin-2level/auto /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8.8/darwin-2level /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8.8/darwin-2level/auto /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8/darwin-2level /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/5.8/darwin-2level/auto /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/arch/darwin-2level /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/lib /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN /Library/PreferencePanes/Squeezebox.prefPane/Contents/server /Library/Application Support/Squeezebox /Users/aeon/Library/Application Support/Squeezebox /Library/PreferencePanes/Squeezebox.prefPane/Contents/server /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib/perl5/5.8.8/darwin-2level /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/YAML/Syck.pm line 65
> 
> Removing [YAML::Syck] from the symbol table - load failed.
>
> ...
> 
> The following modules failed to load: YAML::Syck
> 

13. bizarre. ok. screw it, let's just do it the way that worked last time.
    rm -rf CPAN/YAML
14. ./slimserver.pl --d_startup

> ...
> The following CPAN modules were found but cannot work with Squeezebox Server:
>   Audio::Scan:
> Audio::Scan object version 0.40 does not match bootstrap parameter 0.62 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Compilation failed in require at (eval 40) line 2.
> BEGIN failed--compilation aborted at (eval 40) line 2.
> 
>   DBIx::Class (loaded <not found>, need 0.08109)
> 
> To fix this problem you have several options:
> 1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
> 2. Update the module's package using apt-get, yum, etc.
> 3. Run the .tar.gz version of Squeezebox Server which includes all required CPAN modules.

15. sudo cpan Audio::Scan
> AGRUNDMA/Audio-Scan-0.81.tar.gz
> /usr/bin/make install  -- OK

16. rm -rf CPAN/Audio
17. ./slimserver.pl --d_startup

> The following CPAN modules were found but cannot work with Squeezebox Server:
>   DBIx::Class (loaded <not found>, need 0.08109)

18. That's familiar too. 
19. perl -MDBIx::Class\ 999
> DBIx::Class version 999 required--this is only version 0.08112.

20. Yup. still there.
21. print out $msg on line 410

> Class::C3::XS object version 0.13 does not match bootstrap parameter 0.11 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> Compilation failed in require at (eval 62) line 3.

22. rm -rf CPAN/Class/C3
23. ./slimserver.pl --d_startup

> ...
> [10-05-18 21:50:53.2257] Slim::bootstrap::tryModuleLoad (315) Warning: Module [Template::Stash::XS] failed to load:
> Couldn't load Template::Stash::XS 2.21:
> Template::Stash::XS object version 2.22 does not match bootstrap parameter 2.21 at /usr/local/lib/perl5/5.8.8/darwin-2level/DynaLoader.pm line 253.
> ...

24. rm -rf ./CPAN/DBD/mysql*
    rm -rf ./CPAN/DBI*
    rm -rf ./CPAN/Template*
    rm -rf ./CPAN/JSON/XS*
    rm -rf ./CPAN/HTML
25. sudo cpan JSON::XS
    sudo cpan JSON::XS::VersionOneAndTwo

26. ./slimserver.pl --d_startup

> finally, clean startup.
Comment 12 SVN Bot 2010-05-19 02:00:46 UTC
 == Auto-comment from SVN commit #30787 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=30787 ==

Bug: 14593 (kind of)
Description: only Linux/Unix users should compile modules themselves. We provide everything for OSX/Windows. Compiling manually on one of these platforms might add more trouble than relieve.
Comment 13 Michael Herger 2010-05-19 02:08:13 UTC
I'd like to repeat that you never ever should need to compile anything for OSX/Windows platforms. As mentioned in comment #6 I'm sure there must be some left over from an earlier attempt/installation. This doesn't have to be the pref pane itself, but could be anywhere in the perl search path. 

If you install SBS using our installer, eg. Audio::Scan must match. If it doesn't, then search all perl paths (@INC as listed in the error message) for that file. SBS must be finding it in some place other than you were looking for before. I'm sorry to say that compiling those modules yourself (as told by the misleading message) might have taken you into more trouble. Thus I changed that message earlier today.

I still believe this isn't a general issue. We have thousands of OSX installations out there, and I'm running the installer pretty regularly myself. I never encountered this issue.

Thus I wonder what's different with your setups. Are you using alternative perl installations (eg. from MacPorts)? What OSX versions? What CPUs?