Clnanderson;316697 Wrote: > Hmmmmm. Squeezecenter on Hardy, trying to install Alienbbc. It is > unzipped in /var/lib/squeezecenter/Plugins (which is linked from > /usr/share/squeezecenter/Plugins). I get a complaint about not locating > Plugin.pm in @inc which doesn't list /var/lib/squeezecenter, but does > list /usr/share/squeezecenter. > > As far as I understand it, the @inc is a perl environment variable > pointing to "includes." Something hinky is happening with the soft link > from /usr/share/squeezecenter. Perl doesn't seem to treat the linked > directory as a place to search for includes. > > Permissions are rwx for owner and rx for group and others. (both from > the /usr and /var side of things) (Owner is root:root). > > I fixed it by deleting the link and placing a copy of the /var plugins > directory under /usr, but I'd appreciate any help setting up the way > the package prefers so I don't break everything next upgrade. > > Any help much appreciated. > > What's the rationale for putting the Plugins over in var? > > > > > > [08-07-02 13:06:07.0462] Slim::bootstrap::tryModuleLoad (271) Warning: > Module [Plugins::Alien::Plugin] failed to load: > Can't locate Plugins/Alien/Plugin.pm in @INC (@INC contains: > CODE(0x8e034a0) > /usr/share/squeezecenter/CPAN/arch/5.8/i386-linux-thread-multi > /usr/share/squeezecenter/CPAN/arch/5.8/i386-linux-thread-multi/auto > /usr/share/squeezecenter/CPAN/arch/5.8.8/i486-linux-gnu-thread-multi > /usr/share/squeezecenter/CPAN/arch/5.8.8/i486-linux-gnu-thread-multi/auto > /usr/share/squeezecenter/CPAN/arch/5.8/i486-linux-gnu-thread-multi > /usr/share/squeezecenter/CPAN/arch/5.8/i486-linux-gnu-thread-multi/auto > /usr/share/squeezecenter/CPAN/arch/i486-linux-gnu-thread-multi > /usr/share/squeezecenter/lib /usr/share/squeezecenter/CPAN > /usr/share/squeezecenter /usr/share/squeezecenter/CPAN > /usr/share/squeezecenter /usr/sbin /etc/perl /usr/local/lib/perl/5.8.8 > /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . > CODE(0x8e035cc)) at (eval 596) line 2. > BEGIN failed--compilation aborted at (eval 596) line 2.
Hi, I believe third party plugins go in "/usr/share/squeezecenter/Plugins" and then change the owner of the plugin to squeezecenter "sudo chown squeezecenter:root -R Alien" then restart sc. hope this helps, Doug. -- Dougal Headless Mini-ITX running Ubuntu 7.1 Server SlimServer Version: SqueezeCenter 7.0 - 17793 - Debian - EN - utf8 Perl Version: 5.8.8 i486-linux-gnu-thread-multi MySQL Version: 5.0.45-Debian_1ubuntu3.1 Platform Architecture: i686-linux MusicMagicServer SB3 > Cambridge Audio P500x2 > Wharfedale Pacific Evo 30 SB3 > Graham Slee Solo > HD650 ------------------------------------------------------------------------ Dougal's Profile: http://forums.slimdevices.com/member.php?userid=5489 View this thread: http://forums.slimdevices.com/showthread.php?t=29951 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
