You have put your finger on the problem

I ran the following script (via cron):
#!/bin/bash cd ~/.cpan/build/GAAS-fwrgdL/ /usr/bin/tar -xvvf MIME-Base64-Perl-1.00.tar
with the following result:
/home/washburn/scripts/TestTar.sh: line 5: /usr/bin/tar: No such file +or directory

I then followed the above advice and changed the MyConfig.Pm line:

  'tar' => q[/usr/bin/tar],

to

  'tar' => q[/bin/tar],

and ran (via cron)

cpan MIME::QuotedPrint::Perl

which worked and produced the following email:

CPAN: Storable loaded ok (v2.18) Going to read /home/washburn/.cpan/Metadata Database was generated on Tue, 23 Jun 2009 05:26:58 GMT Running inst +all for module 'MIME::QuotedPrint::Perl' Running make for G/GA/GAAS/MIME-Base64-Perl-1.00.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.017) Checksum for /home/washburn/.cpan/sources/authors/id/G/GA/GAAS/MIME-Ba +se64-Perl-1.00.tar.gz ok drwxr-xr-x gisle/gisle 0 2004-01-14 06:57:14 MIME-Base64-Perl-1. +00/ -rw-r--r-- gisle/gisle 1054 2004-01-14 06:43:17 MIME-Base64-Perl-1. +00/README -rw-r--r-- gisle/gisle 129 2004-01-14 06:22:52 MIME-Base64-Perl-1. +00/MANIFEST drwxr-xr-x gisle/gisle 0 2004-01-14 06:57:14 MIME-Base64-Perl-1. +00/lib/ drwxr-xr-x gisle/gisle 0 2004-01-14 06:57:14 MIME-Base64-Perl-1. +00/lib/MIME/ drwxr-xr-x gisle/gisle 0 2004-01-14 06:57:14 MIME-Base64-Perl-1. +00/lib/MIME/QuotedPrint/ -rw-r--r-- gisle/gisle 6218 2004-01-14 06:52:44 MIME-Base64-Perl-1. +00/lib/MIME/QuotedPrint/Perl.pm drwxr-xr-x gisle/gisle 0 2004-01-14 06:57:14 MIME-Base64-Perl-1. +00/lib/MIME/Base64/ -rw-r--r-- gisle/gisle 4143 2004-01-14 06:52:44 MIME-Base64-Perl-1. +00/lib/MIME/Base64/Perl.pm -rw-r--r-- gisle/gisle 6191 2004-01-14 06:52:21 MIME-Base64-Perl-1. +00/Changes -rw-r--r-- gisle/gisle 206 2004-01-14 06:43:11 MIME-Base64-Perl-1. +00/Makefile.PL drwxr-xr-x gisle/gisle 0 2004-01-14 06:57:14 MIME-Base64-Perl-1. +00/t/ -rw-r--r-- gisle/gisle 453 2004-01-14 06:34:20 MIME-Base64-Perl-1. +00/t/unicode.t -rw-r--r-- gisle/gisle 5926 2004-01-14 06:37:57 MIME-Base64-Perl-1. +00/t/quoted-print.t -rw-r--r-- gisle/gisle 8298 2004-01-14 06:32:40 MIME-Base64-Perl-1. +00/t/base64.t CPAN: File::Temp loaded ok (v0.21) CPAN.pm: Going to build G/GA/GAAS/MIME-Base64-Perl-1.00.tar.gz Checking if your kit is complete... Looks good Writing Makefile for MIME::Base64::Perl cp lib/MIME/QuotedPrint/Perl.pm blib/lib/MIME/QuotedPrint/Perl.pm cp l +ib/MIME/Base64/Perl.pm blib/lib/MIME/Base64/Perl.pm Manifying blib/ma +n3/MIME::QuotedPrint::Perl.3pm Manifying blib/man3/MIME::Base64::Perl.3pm GAAS/MIME-Base64-Perl-1.00.tar.gz /usr/bin/make -- OK CPAN: YAML loaded ok (v0.68) Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/base64.t ........ ok t/qu +oted-print.t .. ok t/unicode.t ....... ok All tests successful. Files=3, Tests=334, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.03 cus +r 0.01 csys = 0.09 CPU) Result: PASS GAAS/MIME-Base64-Perl-1.00.tar.gz /usr/bin/make test -- OK Running make install Prepending /home/washburn/.cpan/build/MIME-Base64-Perl-1.00-YPCdEH/bli +b/arch /home/washburn/.cpan/build/MIME-Base64-Perl-1.00-YPCdEH/blib/l +ib to PERL5LIB for 'install' Installing /home/washburn/lib/perl5/MIME/Base64/Perl.pm Installing /home/washburn/lib/perl5/MIME/QuotedPrint/Perl.pm Installing /home/washburn/share/man/man3/MIME::QuotedPrint::Perl.3pm Installing /home/washburn/share/man/man3/MIME::Base64::Perl.3pm Appending installation info to /home/washburn/lib/perl5/x86_64-linux-t +hread-multi/perllocal.pod GAAS/MIME-Base64-Perl-1.00.tar.gz /usr/bin/make install -- OK No virus found in this incoming message.

I should have run this

ls -lg /usr/bin/tar ls: /usr/bin/tar: No such file or directory
before bothering the perl monks.

In reply to Re^3: non-root CPAN with cPanel does not untar by johnwashburn
in thread non-root CPAN with cPanel does not untar by johnwashburn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.