Cannot install modules from CPAN - ActiveState Perl on Mac OS X

Posted by smackdaddy on 2011-03-27 02:19
Forums: PPM | OS: OS X 10.6 (Snow Leopard)

Hi folks,

I need some assistance. I'm not a programmer. I'm a sysadmin that knows enough to hack around with other peoples code to get the result desired (usually) - enough to be 'dangerous', as they say. I appreciate your patience with stupid questions or plain sheer ignorance on my part.

I'm trying to install certain modules which I require using CPAN. I've tried a number of things to resolve or work around but find I end up with the same or a similar error, and the attempt to update fails.

Below is the full output of the command line I'm running. SOAP::Lite bombs out with the following, which stumps me:

http://cpan.perl.org/authors/id/A/AD/ADAMK/CHECKSUMS
Unrecognized character \x01; marked by <-- HERE after r__;GIF89a<-- HERE near column 20 at (eval 77) line 1.
at /usr/local/ActivePerl-5.12/lib/CPAN/Distribution.pm line 1411

I've also tried installing Bundle::CPAN and Bundle::CPANxxl and both of these came to grief in a similar way - different packages, but eventually something failed with the same "Unrecognized character \x01;" error. Is there a problem with checksums in the repository? Is this a transient failure? Am I doing something wrong? Should I be using ppm instead of cpan?

MY COMMAND LINE:
==================================================================
$ sudo cpan Crypt::SSLeay LWP SOAP::Lite Data::UUID XML::LibXML
==================================================================

THE RESULT:
==================================================================

Set up build environment without MacOSX10.4u SDK (will build i386 binaries)
CPAN: Term::ANSIColor loaded ok (v3.00)
CPAN: Storable loaded ok (v2.22)
Going to read '/Users/stephen/.cpan/Metadata'
  Database was generated on Sun, 27 Mar 2011 03:27:25 GMT
CPAN: Module::CoreList loaded ok (v2.43)
Crypt::SSLeay is up to date (0.58).
LWP is up to date (6.01).
Running install for module 'SOAP::Lite'
Running make for M/MK/MKUTTER/SOAP-Lite-0.712.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
CPAN: Compress::Zlib loaded ok (v2.033)
Checksum for /Users/stephen/.cpan/sources/authors/id/M/MK/MKUTTER/SOAP-Lite-0.712.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.76)
SOAP-Lite-0.712/
SOAP-Lite-0.712/MANIFEST
SOAP-Lite-0.712/ReleaseNotes.txt
SOAP-Lite-0.712/HACKING
SOAP-Lite-0.712/META.yml
SOAP-Lite-0.712/examples/
SOAP-Lite-0.712/examples/COM/
SOAP-Lite-0.712/examples/COM/remote.cs
SOAP-Lite-0.712/examples/COM/states.xls
SOAP-Lite-0.712/examples/COM/states.html
SOAP-Lite-0.712/examples/COM/make-com-minimal.bat
SOAP-Lite-0.712/examples/COM/make-com-standalone.bat
SOAP-Lite-0.712/examples/COM/local.vbs
SOAP-Lite-0.712/examples/COM/soap.asp
SOAP-Lite-0.712/examples/COM/SOAP-Lite-COM-standalone.ctrl
SOAP-Lite-0.712/examples/COM/hash.vbs
SOAP-Lite-0.712/examples/COM/remote.xls
SOAP-Lite-0.712/examples/COM/soap_perl.asp
SOAP-Lite-0.712/examples/COM/hashecho.vbs
SOAP-Lite-0.712/examples/COM/xmlrpc.vbs
SOAP-Lite-0.712/examples/COM/states.vbs
SOAP-Lite-0.712/examples/COM/remote.vba
SOAP-Lite-0.712/examples/COM/SOAP-Lite-COM-minimal.ctrl
SOAP-Lite-0.712/examples/COM/soap.vbs
SOAP-Lite-0.712/examples/COM/temper.vbs
SOAP-Lite-0.712/examples/COM/make-com.args
SOAP-Lite-0.712/examples/COM/states.vba
SOAP-Lite-0.712/examples/COM/states.pl
SOAP-Lite-0.712/examples/COM/service.vbs
SOAP-Lite-0.712/examples/COM/README
SOAP-Lite-0.712/examples/COM/remote.vbs
SOAP-Lite-0.712/examples/oo-apache.pl
SOAP-Lite-0.712/examples/cookie.pl
SOAP-Lite-0.712/examples/WSDL/
SOAP-Lite-0.712/examples/WSDL/stub1.pl
SOAP-Lite-0.712/examples/WSDL/dynamic4.pl
SOAP-Lite-0.712/examples/WSDL/dynamic3.pl
SOAP-Lite-0.712/examples/WSDL/dynamic2.pl
SOAP-Lite-0.712/examples/WSDL/dynamic1.pl
SOAP-Lite-0.712/examples/WSDL/stub3.pl
SOAP-Lite-0.712/examples/WSDL/stub2.pl
SOAP-Lite-0.712/examples/authentication.pl
SOAP-Lite-0.712/examples/terraserver.pl
SOAP-Lite-0.712/examples/tcpclient.pl
SOAP-Lite-0.712/examples/XML/
SOAP-Lite-0.712/examples/XML/customxml.pl
SOAP-Lite-0.712/examples/soapmark.pl
SOAP-Lite-0.712/examples/google.pl
SOAP-Lite-0.712/examples/inline.daemon
SOAP-Lite-0.712/examples/compress.pl
SOAP-Lite-0.712/examples/SOAP/
SOAP-Lite-0.712/examples/SOAP/simple2.pl
SOAP-Lite-0.712/examples/SOAP/Transport/
SOAP-Lite-0.712/examples/SOAP/Transport/HTTP/
SOAP-Lite-0.712/examples/SOAP/Transport/HTTP/Daemon/
SOAP-Lite-0.712/examples/SOAP/Transport/HTTP/Daemon/ForkOnAccept.pm
SOAP-Lite-0.712/examples/SOAP/Transport/HTTP/Daemon/ForkAfterProcessing.pm
SOAP-Lite-0.712/examples/SOAP/simple3.pl
SOAP-Lite-0.712/examples/SOAP/simple1.pl
SOAP-Lite-0.712/examples/My/
SOAP-Lite-0.712/examples/My/Examples.pm
SOAP-Lite-0.712/examples/My/PingPong.pm
SOAP-Lite-0.712/examples/My/SessionIterator.pm
SOAP-Lite-0.712/examples/My/Chat.pm
SOAP-Lite-0.712/examples/My/PersistentIterator.pm
SOAP-Lite-0.712/examples/My/Parameters.pm
SOAP-Lite-0.712/examples/soapsmtp.pl
SOAP-Lite-0.712/examples/getdom.pl
SOAP-Lite-0.712/examples/fullsearch.pl
SOAP-Lite-0.712/examples/joke.pl
SOAP-Lite-0.712/examples/chat.pl
SOAP-Lite-0.712/examples/parametersbyname.pl
SOAP-Lite-0.712/examples/XMLRPC/
SOAP-Lite-0.712/examples/XMLRPC/xmlrpc.daemon
SOAP-Lite-0.712/examples/XMLRPC/simple1.pl
SOAP-Lite-0.712/examples/XMLRPC/xmlrpc.cgi
SOAP-Lite-0.712/examples/XMLRPC/mod_xmlrpc.htaccess
SOAP-Lite-0.712/examples/iterator.pl
SOAP-Lite-0.712/examples/server/
SOAP-Lite-0.712/examples/server/soap.jabber
SOAP-Lite-0.712/examples/server/soap.io
SOAP-Lite-0.712/examples/server/soap.asp
SOAP-Lite-0.712/examples/server/soap.pop3
SOAP-Lite-0.712/examples/server/soap_perl.asp
SOAP-Lite-0.712/examples/server/soap.daemon.forkafterprocessing
SOAP-Lite-0.712/examples/server/soap.fcgi
SOAP-Lite-0.712/examples/server/soap.tcp
SOAP-Lite-0.712/examples/server/soap.daemon.forkonaccept
SOAP-Lite-0.712/examples/server/soap.mq
SOAP-Lite-0.712/examples/server/soap.vbs
SOAP-Lite-0.712/examples/server/soap.mod_cgi
SOAP-Lite-0.712/examples/server/soap.cgi
SOAP-Lite-0.712/examples/server/Apache.pm
SOAP-Lite-0.712/examples/server/mod_soap.htaccess
SOAP-Lite-0.712/examples/server/soap.daemon
SOAP-Lite-0.712/examples/forms/
SOAP-Lite-0.712/examples/forms/style.html
SOAP-Lite-0.712/examples/forms/style.cgi
SOAP-Lite-0.712/examples/pingpong.pl
SOAP-Lite-0.712/examples/weblog.pl
SOAP-Lite-0.712/examples/oneliners
SOAP-Lite-0.712/examples/autoexamples.pl
SOAP-Lite-0.712/examples/allclients.pl
SOAP-Lite-0.712/examples/cookieauth.pl
SOAP-Lite-0.712/examples/customschema.pl
SOAP-Lite-0.712/examples/UDDI/
SOAP-Lite-0.712/examples/UDDI/simple2.pl
SOAP-Lite-0.712/examples/UDDI/syntax2.pl
SOAP-Lite-0.712/examples/UDDI/syntax3.pl
SOAP-Lite-0.712/examples/UDDI/syntax1.pl
SOAP-Lite-0.712/examples/UDDI/simple1.pl
SOAP-Lite-0.712/examples/UDDI/publish1.pl
SOAP-Lite-0.712/examples/UDDI/inquire1.pl
SOAP-Lite-0.712/Makefile.PL
SOAP-Lite-0.712/lib/
SOAP-Lite-0.712/lib/Apache/
SOAP-Lite-0.712/lib/Apache/XMLRPC/
SOAP-Lite-0.712/lib/Apache/XMLRPC/Lite.pm
SOAP-Lite-0.712/lib/Apache/SOAP.pm
SOAP-Lite-0.712/lib/XML/
SOAP-Lite-0.712/lib/XML/Parser/
SOAP-Lite-0.712/lib/XML/Parser/Lite.pm
SOAP-Lite-0.712/lib/SOAP/
SOAP-Lite-0.712/lib/SOAP/Test.pm
SOAP-Lite-0.712/lib/SOAP/Packager.pm
SOAP-Lite-0.712/lib/SOAP/Data.pod
SOAP-Lite-0.712/lib/SOAP/Schema.pod
SOAP-Lite-0.712/lib/SOAP/Lite.pm
SOAP-Lite-0.712/lib/SOAP/Transport.pod
SOAP-Lite-0.712/lib/SOAP/Transport/
SOAP-Lite-0.712/lib/SOAP/Transport/MAILTO.pm
SOAP-Lite-0.712/lib/SOAP/Transport/LOCAL.pm
SOAP-Lite-0.712/lib/SOAP/Transport/LOOPBACK.pm
SOAP-Lite-0.712/lib/SOAP/Transport/TCP.pm
SOAP-Lite-0.712/lib/SOAP/Transport/HTTP.pm
SOAP-Lite-0.712/lib/SOAP/Transport/IO.pm
SOAP-Lite-0.712/lib/SOAP/Transport/POP3.pm
SOAP-Lite-0.712/lib/SOAP/Constants.pm
SOAP-Lite-0.712/lib/SOAP/Header.pod
SOAP-Lite-0.712/lib/SOAP/Utils.pod
SOAP-Lite-0.712/lib/SOAP/Fault.pod
SOAP-Lite-0.712/lib/SOAP/Lite/
SOAP-Lite-0.712/lib/SOAP/Lite/Packager.pm
SOAP-Lite-0.712/lib/SOAP/Lite/Utils.pm
SOAP-Lite-0.712/lib/SOAP/Lite/Deserializer/
SOAP-Lite-0.712/lib/SOAP/Lite/Deserializer/XMLSchema1999.pm
SOAP-Lite-0.712/lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.pm
SOAP-Lite-0.712/lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm
SOAP-Lite-0.712/lib/SOAP/Lite/Deserializer/XMLSchema2001.pm
SOAP-Lite-0.712/lib/SOAP/Client.pod
SOAP-Lite-0.712/lib/SOAP/Serializer.pod
SOAP-Lite-0.712/lib/SOAP/SOM.pod
SOAP-Lite-0.712/lib/SOAP/Server.pod
SOAP-Lite-0.712/lib/SOAP/Trace.pod
SOAP-Lite-0.712/lib/SOAP/Deserializer.pod
SOAP-Lite-0.712/lib/IO/
SOAP-Lite-0.712/lib/IO/SessionData.pm
SOAP-Lite-0.712/lib/IO/SessionSet.pm
SOAP-Lite-0.712/lib/XMLRPC/
SOAP-Lite-0.712/lib/XMLRPC/Test.pm
SOAP-Lite-0.712/lib/XMLRPC/Lite.pm
SOAP-Lite-0.712/lib/XMLRPC/Transport/
SOAP-Lite-0.712/lib/XMLRPC/Transport/TCP.pm
SOAP-Lite-0.712/lib/XMLRPC/Transport/HTTP.pm
SOAP-Lite-0.712/lib/XMLRPC/Transport/POP3.pm
SOAP-Lite-0.712/lib/UDDI/
SOAP-Lite-0.712/lib/UDDI/Lite.pm
SOAP-Lite-0.712/Changes
SOAP-Lite-0.712/bin/
SOAP-Lite-0.712/bin/stubmaker.pl
SOAP-Lite-0.712/bin/SOAPsh.pl
SOAP-Lite-0.712/bin/XMLRPCsh.pl
SOAP-Lite-0.712/t/
SOAP-Lite-0.712/t/14-cgi_apache.t
SOAP-Lite-0.712/t/36-leaks.t
SOAP-Lite-0.712/t/25-uddi.t
SOAP-Lite-0.712/t/17-mod_soap.t
SOAP-Lite-0.712/t/21-public.t
SOAP-Lite-0.712/t/12-cgi_https.t
SOAP-Lite-0.712/t/03-server.t
SOAP-Lite-0.712/t/02-payload.t
SOAP-Lite-0.712/t/16-tcp.t
SOAP-Lite-0.712/t/38-packager.t
SOAP-Lite-0.712/t/23-ppm.t
SOAP-Lite-0.712/t/014_UNIVERSAL_use.t
SOAP-Lite-0.712/t/XML/
SOAP-Lite-0.712/t/XML/Parser/
SOAP-Lite-0.712/t/XML/Parser/Lite.t
SOAP-Lite-0.712/t/XML/Parser/adam.xml
SOAP-Lite-0.712/t/29-uddi_publishing.t
SOAP-Lite-0.712/t/40-loopback.t
SOAP-Lite-0.712/t/012-cloneable.t
SOAP-Lite-0.712/t/098_pod.t
SOAP-Lite-0.712/t/15-daemon.t
SOAP-Lite-0.712/t/08-schema.t
SOAP-Lite-0.712/t/TEST.pl
SOAP-Lite-0.712/t/SOAP/
SOAP-Lite-0.712/t/SOAP/Serializer.t
SOAP-Lite-0.712/t/SOAP/Schema/
SOAP-Lite-0.712/t/SOAP/Schema/WSDL.t
SOAP-Lite-0.712/t/SOAP/Transport/
SOAP-Lite-0.712/t/SOAP/Transport/HTTP/
SOAP-Lite-0.712/t/SOAP/Transport/HTTP/CGI.t
SOAP-Lite-0.712/t/SOAP/Transport/HTTP/CGI/
SOAP-Lite-0.712/t/SOAP/Transport/HTTP/CGI/test_server.pl
SOAP-Lite-0.712/t/SOAP/Transport/MAILTO.t
SOAP-Lite-0.712/t/SOAP/Transport/HTTP.t
SOAP-Lite-0.712/t/SOAP/Transport/IO.xml
SOAP-Lite-0.712/t/SOAP/Transport/POP3.t
SOAP-Lite-0.712/t/SOAP/Transport/IO.t
SOAP-Lite-0.712/t/SOAP/Transport/LOCAL.t
SOAP-Lite-0.712/t/SOAP/Lite/
SOAP-Lite-0.712/t/SOAP/Lite/Packager.t
SOAP-Lite-0.712/t/SOAP/Lite/Deserializer/
SOAP-Lite-0.712/t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.t
SOAP-Lite-0.712/t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.t
SOAP-Lite-0.712/t/SOAP/Lite/Deserializer/XMLSchema2001.t
SOAP-Lite-0.712/t/SOAP/Lite/Deserializer/XMLSchema1999.t
SOAP-Lite-0.712/t/SOAP/Data.t
SOAP-Lite-0.712/t/26-xmlrpc.t
SOAP-Lite-0.712/t/IO/
SOAP-Lite-0.712/t/IO/SessionSet.t
SOAP-Lite-0.712/t/IO/SessionData.t
SOAP-Lite-0.712/t/015_UNIVERSAL_can.t
SOAP-Lite-0.712/t/05-customxml.t
SOAP-Lite-0.712/t/19-apachesoap.t
SOAP-Lite-0.712/t/22-interop_apache.t
SOAP-Lite-0.712/t/XMLRPC/
SOAP-Lite-0.712/t/XMLRPC/Lite.t
SOAP-Lite-0.712/t/097_kwalitee.t
SOAP-Lite-0.712/t/37-mod_xmlrpc.t
SOAP-Lite-0.712/t/096_characters.t
SOAP-Lite-0.712/t/27-xmlparserlite.t
SOAP-Lite-0.712/t/04-attach.t
SOAP-Lite-0.712/t/06-modules.t
SOAP-Lite-0.712/t/28-uddi_search.t
SOAP-Lite-0.712/t/099_pod_coverage.t
SOAP-Lite-0.712/t/010-serializer.t
SOAP-Lite-0.712/t/07-xmlrpc_payload.t
SOAP-Lite-0.712/t/01-core.t
SOAP-Lite-0.712/t/11-cgi.t
SOAP-Lite-0.712/t/013-array-deserialization.t
SOAP-Lite-0.712/t/13-mod_perl.t
SOAP-Lite-0.712/t/24-wsdl.t
SOAP-Lite-0.712/README
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)

  CPAN.pm: Going to build M/MK/MKUTTER/SOAP-Lite-0.712.tar.gz

Set up build environment without MacOSX10.4u SDK (will build i386 binaries)
We are about to install SOAP::Lite and for your convenience will provide
you with list of modules and prerequisites, so you'll be able to choose
only modules you need for your configuration.

XMLRPC::Lite, UDDI::Lite, and XML::Parser::Lite are included by default.
Installed transports can be used for both SOAP::Lite and XMLRPC::Lite.

Press <enter> to see the detailed list.  

Feature                       Prerequisites                Install?
----------------------------- ---------------------------- --------
Core Package                  [*] Scalar::Util             always  
                              [*] URI                              
                              [*] constant                        
                              [*] Test::More                      
                              [*] MIME::Base64                    
                              [ ] Class::Inspector                
                              [*] XML::Parser (v2.23)              
                              [*] Task::Weaken                    
Client HTTP support           [*] LWP::UserAgent           always  
Client HTTPS support          [*] Crypt::SSLeay            [ yes ]
Client SMTP/sendmail support  [ ] MIME::Lite               [ no ]  
Client FTP support            [ ] SOAP::Transport::FTP (v0.712) [ no ]  
Standalone HTTP server        [*] HTTP::Daemon             [ yes ]
Apache/mod_perl server        [ ] Apache                   [ no ]  
FastCGI server                [ ] FCGI                     [ no ]  
POP3 server                   [ ] MIME::Parser             [ no ]  
                              [*] Net::POP3                        
IO server                     [*] IO::File                 [ yes ]
MQ transport support          [ ] SOAP::Transport::MQ (v0.712) [ no ]  
JABBER transport support      [ ] SOAP::Transport::JABBER (v0.712) [ no ]  
MIME messages                 [ ] MIME::Parser             [ no ]  
DIME messages                 [ ] IO::Scalar (v2.105)      [ no ]  
                              [ ] DIME::Tools (v0.03)              
                              [ ] Data::UUID (v0.11)              
SSL Support for TCP Transport [ ] IO::Socket::SSL          [ no ]  
Compression support for HTTP  [*] Compress::Zlib           [ yes ]
MIME interoperability w/ Axis [ ] MIME::Parser (v6.106)    [ no ]  
--- An asterix '[*]' indicates if the module is currently installed.

Do you want to proceed with this configuration? [yes]
Checking if your kit is complete...
Looks good
Warning: prerequisite Class::Inspector 0 not found.
Writing Makefile for SOAP::Lite
---- Unsatisfied dependencies detected during ----
----      MKUTTER/SOAP-Lite-0.712.tar.gz      ----
    Class::Inspector [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Class::Inspector'
Running make for A/AD/ADAMK/Class-Inspector-1.25.tar.gz
CPAN: LWP::UserAgent loaded ok (v6.00)
CPAN: Time::HiRes loaded ok (v1.9721)
CPAN: YAML::XS loaded ok (v0.34)
Fetching with LWP:
http://cpan.perl.org/authors/id/A/AD/ADAMK/CHECKSUMS
Unrecognized character \x01; marked by <-- HERE after r__;GIF89a<-- HERE near column 20 at (eval 77) line 1.
 at /usr/local/ActivePerl-5.12/lib/CPAN/Distribution.pm line 1411
        CPAN::Distribution::CHECKSUM_check_file('CPAN::Distribution=HASH(0x50c6fa0)', '/Users/stephen/.cpan/sources/authors/id/A/AD/ADAMK/CHECKSUMS') called at /usr/local/ActivePerl-5.12/lib/CPAN/Distribution.pm line 1345
        CPAN::Distribution::verifyCHECKSUM('CPAN::Distribution=HASH(0x50c6fa0)') called at /usr/local/ActivePerl-5.12/lib/CPAN/Distribution.pm line 403
        CPAN::Distribution::check_integrity('CPAN::Distribution=HASH(0x50c6fa0)') called at /usr/local/ActivePerl-5.12/lib/CPAN/Distribution.pm line 346
        CPAN::Distribution::get('CPAN::Distribution=HASH(0x50c6fa0)') called at /usr/local/ActivePerl-5.12/lib/CPAN/Distribution.pm line 1696
        CPAN::Distribution::make('CPAN::Distribution=HASH(0x50c6fa0)') called at /usr/local/ActivePerl-5.12/lib/CPAN/Distribution.pm line 2932
        CPAN::Distribution::test('CPAN::Distribution=HASH(0x50c6fa0)') called at /usr/local/ActivePerl-5.12/lib/CPAN/Distribution.pm line 3322
        CPAN::Distribution::install('CPAN::Distribution=HASH(0x50c6fa0)') called at /usr/local/ActivePerl-5.12/lib/CPAN/Module.pm line 479
        eval {...} called at /usr/local/ActivePerl-5.12/lib/CPAN/Module.pm line 478
        CPAN::Module::rematein('CPAN::Module=HASH(0x710d10)', 'install') called at /usr/local/ActivePerl-5.12/lib/CPAN/Module.pm line 578
        CPAN::Module::install('CPAN::Module=HASH(0x710d10)') called at /usr/local/ActivePerl-5.12/lib/CPAN/Shell.pm line 1804
        CPAN::Shell::rematein('CPAN::Shell', 'install', 'SOAP::Lite') called at /usr/local/ActivePerl-5.12/lib/CPAN/Shell.pm line 1984
        CPAN::Shell::__ANON__('CPAN::Shell', 'SOAP::Lite') called at /usr/local/ActivePerl-5.12/lib/App/Cpan.pm line 459
        App::Cpan::__ANON__('SOAP::Lite') called at /usr/local/ActivePerl-5.12/lib/App/Cpan.pm line 468
        App::Cpan::_default('ARRAY(0x825250)', 'HASH(0xa5dc40)') called at /usr/local/ActivePerl-5.12/lib/App/Cpan.pm line 386
        App::Cpan::run('App::Cpan', 'Crypt::SSLeay', 'LWP', 'SOAP::Lite', 'Data::UUID', 'XML::LibXML') called at /usr/local/ActivePerl-5.12/bin/cpan line 11

==================================================================