Did you build your own perl, or is this the 64-bit ubuntu perl? What does perl -V show? FWIW, I have no problems installing modules on 64-bit ubuntu:
cpan[1]> test List::MoreUtils CPAN: Storable loaded ok (v2.15) Going to read /home/ysth/.cpan/Metadata Database was generated on Wed, 11 Jun 2008 15:06:57 GMT CPAN: LWP::UserAgent loaded ok (v2.036) CPAN: Time::HiRes loaded ok (v1.86) I would like to connect to one of the following sites to get 'authors/ +01mailrc.txt.gz': http://www.perl.org/CPAN/ ftp://ftp.perl.org/pub/CPAN/ Is it OK to try to connect to the Internet? [yes] Fetching with LWP: http://www.perl.org/CPAN/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v0.62) Going to read /home/ysth/.cpan/sources/authors/01mailrc.txt.gz ...................................................................... +......DONE Fetching with LWP: http://www.perl.org/CPAN/modules/02packages.details.txt.gz Going to read /home/ysth/.cpan/sources/modules/02packages.details.txt. +gz Database was generated on Sun, 03 Aug 2008 19:02:47 GMT ...................................................................... +......DONE Fetching with LWP: http://www.perl.org/CPAN/modules/03modlist.data.gz Going to read /home/ysth/.cpan/sources/modules/03modlist.data.gz ...................................................................... +......DONE Going to write /home/ysth/.cpan/Metadata Running test for module 'List::MoreUtils' Running make for V/VP/VPARSEVAL/List-MoreUtils-0.22.tar.gz Fetching with LWP: http://www.perl.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-0. +22.tar.gz CPAN: checksum security checks disabled because Digest::SHA not inst +alled. Please consider installing the Digest::SHA module. Scanning cache /home/ysth/.cpan/build for sizes .....................................................................- +------DONE DEL(1/1): /home/ysth/.cpan/build/Test-Harness-3.10 List-MoreUtils-0.22/ List-MoreUtils-0.22/Changes List-MoreUtils-0.22/dhash.h List-MoreUtils-0.22/lib/ List-MoreUtils-0.22/lib/List/ List-MoreUtils-0.22/lib/List/MoreUtils.pm List-MoreUtils-0.22/Makefile.PL List-MoreUtils-0.22/MANIFEST List-MoreUtils-0.22/META.yml List-MoreUtils-0.22/MoreUtils.xs List-MoreUtils-0.22/multicall.h List-MoreUtils-0.22/README List-MoreUtils-0.22/t/ List-MoreUtils-0.22/t/0_pod.t List-MoreUtils-0.22/t/0_pod_coverage.t List-MoreUtils-0.22/t/List-MoreUtils-pp.t List-MoreUtils-0.22/t/List-MoreUtils.t CPAN: File::Temp loaded ok (v0.20) CPAN.pm: Going to build V/VP/VPARSEVAL/List-MoreUtils-0.22.tar.gz Checking if your kit is complete... Looks good Writing Makefile for List::MoreUtils Testing if you have a C compiler cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-s +trict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE +_OFFSET_BITS=64 -O2 -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC +"-I/usr/lib/perl/5.8/CORE" -DPERL_EXT test.c cp lib/List/MoreUtils.pm blib/lib/List/MoreUtils.pm /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/pe +rl/5.8/ExtUtils/typemap MoreUtils.xs > MoreUtils.xsc && mv MoreUtils +.xsc MoreUtils.c cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-s +trict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE +_OFFSET_BITS=64 -O2 -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC +"-I/usr/lib/perl/5.8/CORE" -DPERL_EXT MoreUtils.c Running Mkbootstrap for List::MoreUtils () chmod 644 MoreUtils.bs rm -f blib/arch/auto/List/MoreUtils/MoreUtils.so cc -shared -L/usr/local/lib MoreUtils.o -o blib/arch/auto/List/MoreU +tils/MoreUtils.so \ \ chmod 755 blib/arch/auto/List/MoreUtils/MoreUtils.so cp MoreUtils.bs blib/arch/auto/List/MoreUtils/MoreUtils.bs chmod 644 blib/arch/auto/List/MoreUtils/MoreUtils.bs Manifying blib/man3/List::MoreUtils.3pm VPARSEVAL/List-MoreUtils-0.22.tar.gz /usr/bin/make -- OK 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/0_pod..................ok t/0_pod_coverage.........ok t/List-MoreUtils-pp......ok t/List-MoreUtils.........ok All tests successful. Files=4, Tests=264, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.90 cus +r 0.15 csys = 1.10 CPU) Result: PASS VPARSEVAL/List-MoreUtils-0.22.tar.gz /usr/bin/make test -- OK

In reply to Re: Cannot install CPAN modules by ysth
in thread [SOLVED] Cannot install CPAN modules by azredwing

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.