r00tuk;434295 Wrote: > Sorry, the cpan install of Class::XSAccessor::Array and > Class::XSAccessor completed successfully, without errors, but when I run > slimserver.pl I get the same error. I did not check the versions, but > will go back and try a couple older version of AutoXS::Header. >
no, no! Don't try older versions of AutoXS::Header. Something like that is actually the culprit. You need the newest version for the newest Class::XSAccessor::Array. And that's what you want. Instead, the problem is that your newly installed modules aren't used by the SqueezeCenter. In general, perl has a set of paths (much like with your shell's $PATH) that it searches for installed modules. This set is available for inspection and modification as the @INC array from Perl. There's (generally speaking) two types of paths in that array. The first type is those paths that were set when your perl was compiled originally. For system-wide installations, this is typically paths like /usr/lib/perl5, etc. Additionally, an application such as SqueezeCenter comes with its own, bundled libraries. One would typically prepend the location of these bundled libraries to the list of paths in @INC. Now, when you try to load a module that has a new version installed into the system and an old one in the application library, the application will have inserted its own library paths *before* the system paths. The old version in the application library will be found first and thus used. Therefore, in order to make SqueezeCenter use your custom Class::XSAccessor::Array, you must make sure it is found before the old version. You can do so by either replacing the old (broken) version in the SqueezeCenter installation, or by making sure your own version comes first in the @INC of SqueezeCenter (which may or may not be possible, I'm not expert wrt. the application). -- tsee ------------------------------------------------------------------------ tsee's Profile: http://forums.slimdevices.com/member.php?userid=7194 View this thread: http://forums.slimdevices.com/showthread.php?t=64767 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
