PDA

View Full Version : Re: nightly 2003-12-11 slimserver error (on xp atleast...)



Jason Holtzapple
2003-12-11, 09:49
--- Dan Sully <daniel (AT) electricrain (DOT) com> wrote:
> * dean blackketter <dean (AT) slimdevices (DOT) com> shaped the electrons to say...
>
> > I've just patched it back and rebuilt the nightlies.
> >
> > The problem is that we want @INC at the beginning so that the libraries
> > that come with the perl distros get loaded first, most importantly
> > Time::HiRes, then give our modules a chance to load.
> >
> > The problem that Caleb was trying to fix was that if you had CPAN
> > module that we also had installed, but with a different version, it
> > would pick up the system one first and it might be out of sync with the
> > one we had.
> >
> > Suggestions?
>
> use CPANmodule 5.0; (version number or higher)

As in 'use MP3::Info 5.0;'

I thought about this as well, but it may not work well with modules
that are modified and then added to the Squeezebox tarball without
the changes being sent back to CPAN (I think the MP3::Info module
is in this state?) You might have the problem of the CPAN module
version number exceeding the Squeezebox one over time.

Alternatively, you can bundle an entire version of perl that's
guaranteed to work, but that's very large, unwieldy and probably
only sustainable for the 2 or 3 largest Squeezebox OS platforms.

--Jason

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/