odw199 wrote: 
> If you type
> 
> > 
Code:
--------------------
  >   > which perl
--------------------
> > 
> 
> at the command line what do you get?
> 
> After installing MacPorts I found I had two versions, one in /opt and
> one in /usr/bin
> 
> My command prompt had /opt earlier in the path than /usr/bin so when I
> manually added the required dependancies with cpan, they were added to
> the /opt version. But slimserver.pl specifies the path to perl as
> /usr/bin/perl, therefore the installed cpan modules were not being
> used.
> 
> To fix this I temporarily removed /opt from my path:
> 
> export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
> 
> Then re-ran the cpan installs which added them to the /usr/bin
> version. Starting slimserver.pl then worked with the shairport plugin
I get : /Users/kim/perl5/perlbrew/perls/perl-5.16.0/bin/perl

So you are saying that I first have to run :
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

And then re-run CPAN with :
$ sudo perl -MCPAN -e ‘install Crypt::OpenSSL::RSA’ 
$ sudo perl -MCPAN -e ‘install IO::Socket::INET6’
$ sudo perl -MCPAN -e ‘install Net::SDP’



MacMini running LMS 7.7.3. 
Duet + 4 Squeezebox Radio's
------------------------------------------------------------------------
Kim.T's Profile: http://forums.slimdevices.com/member.php?userid=15059
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to