Open googites opened 6 years ago
Hello,
The version in GitHub is the same as the version in CPAN.
Please use:
sudo cpan Net::SDP
nick.
Sorry, I am very new to this. What do you want me to do?
There is some documentation for CPAN here: https://linux.die.net/man/1/cpan
But I am not really sure what it is you are trying to do.
I am just trying to install the package for airplay on a raspberry pi project: http://lifehacker.com/how-to-build-your-own-amazon-echo-with-a-raspberry-pi-1787726931
and what does sudo cpan Net::SDP
do?
Then the above command should work. There is no benefit to installing from Git.
Reading '/root/.cpan/Metadata' Database was generated on Fri, 07 Jul 2017 21:54:10 GMT Running install for module 'Net::SDP' Fetching with LWP: http://mirror.ucu.ac.ug/cpan/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz Fetching with LWP: http://mirror.ucu.ac.ug/cpan/authors/id/N/NJ/NJH/CHECKSUMS Checksum for q/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz ok Cannot gzopen q/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz: cannot open file 'q/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz': No such file or directory Cannot gzopen q/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz: cannot open file 'q/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz': No such file or directory 'YAML' not installed, will not store persistent state NJH/Net-SDP-0.07.tar.gz Had problems unarchiving. Please build manually
This is what I got when I ran sudo cpan Net::SDP
on a Raspberry Pi.
$ sudo cpan Net::SDP
[sudo] password for njh:
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes] yes
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Sat, 08 Jul 2017 14:54:11 GMT
.............
New CPAN.pm version (v2.16) available.
[Currently running version is v2.05]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
...............................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running install for module 'Net::SDP'
Fetching with LWP:
http://www.cpan.org/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/N/NJ/NJH/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/N/NJ/NJH/Net-SDP-0.07.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring N/NJ/NJH/Net-SDP-0.07.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Net-SDP' version '0.07'
NJH/Net-SDP-0.07.tar.gz
/usr/bin/perl Build.PL --installdirs site -- OK
Running Build for N/NJ/NJH/Net-SDP-0.07.tar.gz
Building Net-SDP
NJH/Net-SDP-0.07.tar.gz
./Build -- OK
Running Build test
t/00use.t ....... ok
t/10generate.t .. ok
t/10parse.t ..... ok
t/20repeat.t .... ok
t/30asstring.t .. ok
All tests successful.
Files=5, Tests=69, 2 wallclock secs ( 0.26 usr 0.04 sys + 1.12 cusr 0.07 csys = 1.49 CPU)
Result: PASS
NJH/Net-SDP-0.07.tar.gz
./Build test -- OK
Running Build install
Building Net-SDP
Installing /usr/local/man/man1/sdp2rat.1p
Installing /usr/local/share/perl/5.20.2/Net/SDP.pm
Installing /usr/local/share/perl/5.20.2/Net/SDP/Media.pm
Installing /usr/local/share/perl/5.20.2/Net/SDP/Time.pm
Installing /usr/local/man/man3/Net::SDP.3pm
Installing /usr/local/man/man3/Net::SDP::Media.3pm
Installing /usr/local/man/man3/Net::SDP::Time.3pm
Installing /usr/local/bin/sdp2rat
NJH/Net-SDP-0.07.tar.gz
./Build install -- OK
$ perl --version
This is perl 5, version 20, subversion 2 (v5.20.2) built for arm-linux-gnueabihf-thread-multi-64int
(with 95 registered patches, see perl -V for more detail)
Copyright 1987-2015, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
$ sudo cpan --version
/usr/bin/cpan version 1.61 calling Getopt::Std::getopts (version 1.10 [paranoid]),
running under Perl version 5.20.2.
[Now continuing due to backward compatibility and excessive paranoia.
See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.]
$ cat /etc/debian_version
8.0
$ dpkg -l | grep perl
ii libalgorithm-c3-perl 0.09-1 all Perl module for merging hierarchies using the C3 algorithm
ii libalgorithm-diff-perl 1.19.02-3 all module to find differences between files
ii libalgorithm-diff-xs-perl 0.04-3+b1 armhf module to find differences between files (XS accelerated)
ii libalgorithm-merge-perl 0.08-2 all Perl module for three-way merge of textual data
ii libarchive-extract-perl 0.72-1 all generic archive extracting module
ii libarchive-zip-perl 1.39-1 all Perl module for manipulation of ZIP archives
ii libauthen-sasl-perl 2.1600-1 all Authen::SASL - SASL Authentication framework
ii libcgi-fast-perl 1:2.04-1 all CGI subclass for work with FCGI
ii libcgi-pm-perl 4.09-1 all module for Common Gateway Interface applications
ii libclass-c3-perl 0.26-1 all pragma for using the C3 method resolution order
ii libclass-c3-xs-perl 0.13-2+b1 armhf Perl module to accelerate Class::C3
ii libcommon-sense-perl 3.73-2+b9 armhf module that implements some sane defaults for Perl programs
ii libcpan-meta-perl 2.142690-1 all Perl module to access CPAN distributions metadata
ii libcrypt-ssleay-perl 0.58-1+b2 armhf OpenSSL support for LWP
ii libdata-optlist-perl 0.109-1 all module to parse and validate simple name/value option pairs
ii libdata-section-perl 0.200006-1 all module to read chunks of data from a module's DATA section
ii libdpkg-perl 1.17.27 all Dpkg perl modules
ii libencode-locale-perl 1.03-1 all utility to determine the locale encoding
ii liberror-perl 0.17-1.1 all Perl module for error/exception handling in an OO-ish way
ii libfcgi-perl 0.77-1+deb8u1 armhf helper module for FastCGI
ii libfile-copy-recursive-perl 0.38-1 all Perl extension for recursively copying files and directories
ii libfile-fcntllock-perl 0.22-1+b1 armhf Perl module for file locking with fcntl(2)
ii libfile-listing-perl 6.04-1 all module to parse directory listings
ii libfile-slurp-perl 9999.19-4 all single call read & write file routines
ii libfile-stripnondeterminism-perl 0.003-1 all Perl module for stripping non-determinism from files
ii libfont-afm-perl 1.20-1 all Font::AFM - Interface to Adobe Font Metrics files
ii libhtml-form-perl 6.03-1 all module that represents an HTML form element
ii libhtml-format-perl 2.11-1 all module for transforming HTML into various formats
ii libhtml-parser-perl 3.71-1+b4 armhf collection of modules that parse HTML text documents
ii libhtml-tagset-perl 3.20-2 all Data tables pertaining to HTML
ii libhtml-tree-perl 5.03-1 all Perl module to represent and create HTML syntax trees
ii libhttp-cookies-perl 6.01-1 all HTTP cookie jars
ii libhttp-daemon-perl 6.01-1 all simple http server class
ii libhttp-date-perl 6.02-1 all module of date conversion routines
ii libhttp-message-perl 6.06-1 all perl interface to HTTP style messages
ii libhttp-negotiate-perl 6.00-2 all implementation of content negotiation
ii libintl-perl 1.23-1+deb8u1 all Uniforum message translations system compatible i18n library
ii libio-html-perl 1.001-1 all open an HTML file with automatic charset detection
ii libio-socket-inet6-perl 2.72-1 all object interface for AF_INET6 domain sockets
ii libio-socket-ssl-perl 2.002-2+deb8u2 all Perl module implementing object oriented interface to SSL sockets
ii libjson-perl 2.61-1 all module for manipulating JSON-formatted data
ii libjson-xs-perl 2.340-1+b2 armhf module for manipulating JSON-formatted data (C/XS-accelerated)
ii liblocale-gettext-perl 1.05-8+b1 armhf module using libc functions for internationalization in Perl
ii liblog-message-perl 0.8-1 all powerful and flexible message logging mechanism
ii liblog-message-simple-perl 0.10-2 all simplified interface to Log::Message
ii liblwp-mediatypes-perl 6.02-1 all module to guess media type for a file or a URL
ii liblwp-protocol-https-perl 6.06-2 all HTTPS driver for LWP::UserAgent
ii libmail-sendmail-perl 0.79.16-1 all Send email from a perl script
ii libmailtools-perl 2.13-1 all Manipulate email in perl programs
ii libmodule-build-perl 0.421000-2+deb8u1 all framework for building and installing Perl modules
ii libmodule-pluggable-perl 5.1-1 all module for giving modules the ability to have plugins
ii libmodule-signature-perl 0.73-1+deb8u2 all module to manipulate CPAN SIGNATURE files
ii libmro-compat-perl 0.12-1 all mro::* interface compatibility for Perls < 5.9.5
ii libnet-http-perl 6.07-1 all module providing low-level HTTP connection client
ii libnet-smtp-ssl-perl 1.01-3 all Perl module providing SSL support to Net::SMTP
ii libnet-ssleay-perl 1.65-1+deb8u1 armhf Perl module for Secure Sockets Layer (SSL)
ii libpackage-constants-perl 0.04-1 all List constants defined in a package
ii libparams-util-perl 1.07-2+b1 armhf Perl extension for simple stand-alone param checking functions
ii libperl4-corelibs-perl 0.003-1 all libraries historically supplied with Perl 4
ii libpod-latex-perl 0.61-1 all module to convert Pod data to formatted LaTeX
ii libpod-readme-perl 0.11-1 all Perl module to convert POD to README file
ii libregexp-common-perl 2013031301-1 all module with common regular expressions
ii libsocket6-perl 0.25-1+b1 armhf Perl extensions for IPv6
ii libsoftware-license-perl 0.103010-3 all module providing templated software licenses
ii libsub-exporter-perl 0.986-1 all sophisticated exporter for custom-built routines
ii libsub-install-perl 0.928-1 all module for installing subroutines into packages easily
ii libsys-hostname-long-perl 1.4-3 all Figure out the long (fully-qualified) hostname
ii libterm-ui-perl 0.42-1 all Term::ReadLine UI made easy
ii libtext-charwidth-perl 0.04-7+b4 armhf get display widths of characters on the terminal
ii libtext-iconv-perl 1.7-5+b5 armhf converts between character sets in Perl
ii libtext-soundex-perl 3.4-1+b2 armhf implementation of the soundex algorithm
ii libtext-template-perl 1.46-1 all perl module to process text templates
ii libtext-unidecode-perl 1.22-1 all Text::Unidecode -- US-ASCII transliterations of Unicode text
ii libtext-wrapi18n-perl 0.06-7 all internationalized substitute of Text::Wrap
ii libtimedate-perl 2.3000-2 all collection of modules to manipulate date/time information
ii liburi-perl 1.64-1 all module to manipulate and access URI strings
ii libwww-perl 6.08-1 all simple and consistent interface to the world-wide web
ii libwww-robotrules-perl 6.01-1 all database of robots.txt-derived permissions
ii libxml-libxml-perl 2.0116+dfsg-1+deb8u1 armhf Perl interface to the libxml2 library
ii libxml-namespacesupport-perl 1.11-1 all Perl module for supporting simple generic namespaces
ii libxml-parser-perl 2.41-3 armhf Perl module for parsing XML files
ii libxml-sax-base-perl 1.07-1 all base class for SAX drivers and filters
ii libxml-sax-expat-perl 0.40-2 all Perl module for a SAX2 driver for Expat (XML::Parser)
ii libxml-sax-perl 0.99+dfsg-2 all Perl module for using and building Perl SAX2 XML processors
ii perl 5.20.2-3+deb8u7 armhf Larry Wall's Practical Extraction and Report Language
ii perl-base 5.20.2-3+deb8u7 armhf minimal Perl system
ii perl-modules 5.20.2-3+deb8u7 all Core Perl modules
sudo ./Build install
Building Net-SDP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/local/man/man1' mkdir /usr/local/man: File exists at /usr/share/perl/5.20/ExtUtils/Install.pm line 476.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at /usr/share/perl5/Module/Build/Base.pm line 3560.