pi@raspberrypi ~/shairport $ ./shairport.pl -a AirPi Can't locate Net/SDP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./shairport.pl line 48. BEGIN failed--compilation aborted at ./shairport.pl line 48.
I read up that
cpan install Net::SDP should fix the problem, but now I get:
pi@raspberrypi ~/shairport $ sudo su root@raspberrypi:/home/pi/shairport# cpan install Net::SDP Going to read '/root/.cpan/Metadata' Database was generated on Tue, 05 Mar 2013 23:41:02 GMT Running install for module 'Net::SDP' Running make for N/NJ/NJH/Net-SDP-0.07.tar.gz Checksum for /root/.cpan/sources/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz ok Uncompressed /root/.cpan/sources/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz successfully Using Tar:/bin/tar xf "Net-SDP-0.07.tar": Couldn't untar Net-SDP-0.07.tar Package seems to come without Makefile.PL. (The test -f "/root/.cpan/build/NJH-yfX4Kv/Makefile.PL" returned false.) Writing one on our own (setting NAME to NetSDP) Had problems unarchiving. Please build manually Running make test Make had some problems, won't test Running make install Make had some problems, won't install
I tried going to
/root/.cpan/sources/authors/id/N/NJ/NJH/ and I could manually untar the file, but it didn't seem to help when I re-ran the command.
I looked in This was the auto-generated one.
/root/.cpan/build/NJH-yfX4Kv/ and I did find a
Makefile.PL, and a tarball, and nothing else. Strange.
I'm stuck. What can I do now?