Sorry, I was assuming you were using AS perl. If not, do the same thing, but on cpan.pl:

c:\test>perl -d:Trace \perl64\bin\cpan.pl >> [0] \perl64\bin\cpan.pl : 172: cluck 'About to use cpan. +pm'; >> [0] C:/Perl64/lib/Carp.pm : 47: sub cluck { warn longme +ss @_ } >> [0] C:/Perl64/lib/Carp.pm : 28: sub longmess { goto &lon +gmess_jmp } >> [0] C:\Perl64\lib/Carp/Heavy.pm : 46: my $call_pack = calle +r(); >> [0] C:\Perl64\lib/Carp/Heavy.pm : 47: if ($Internal{$call_p +ack} or $CarpInternal{$call_pack}) { >> [0] C:\Perl64\lib/Carp/Heavy.pm : 48: return longmess_hea +vy(@_); >> [0] C:\Perl64\lib/Carp/Heavy.pm : 183: return @_ if ref($_[0]) +; # don't break references as exceptions >> [0] C:\Perl64\lib/Carp/Heavy.pm : 184: my $i = long_error_loc( +); ... >> [0] C:\Perl64\lib/CPAN/Shell.pm : 1469: print $swhat; cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. >> [0] C:/Perl64/lib/CPAN.pm : 323: my($continuation) = " +"; >> [0] C:/Perl64/lib/CPAN.pm : 324: my $last_term_ornamen +ts; >> [0] C:/Perl64/lib/CPAN.pm : 325: SHELLCOMMAND: while () +{ >> [0] C:/Perl64/lib/CPAN.pm : 326: if ($Suppress_rea +dline) { >> [0] C:/Perl64/lib/CPAN.pm : 327: if ($Echo_rea +dline) { >> [0] C:/Perl64/lib/CPAN.pm : 330: print $prompt +; >> [0] C:\Perl64\lib/CPAN/Prompt.pm : 18: my $word = "cpan"; >> [0] C:\Perl64\lib/CPAN/Prompt.pm : 19: unless ($CPAN::META-> +{LOCK}) { >> [0] C:\Perl64\lib/CPAN/Prompt.pm : 22: if ($CPAN::Config->{c +ommandnumber_in_prompt}) { >> [0] C:\Perl64\lib/CPAN/Prompt.pm : 23: sprintf "$word\[% +d]> ", $CPAN::CurrentCommandId; >> [0] C:/Perl64/lib/CPAN.pm : 331: last SHELLCOM +MAND unless defined ($_ = <> ); cpan[1]>

Note:Your output will be somewhat different because I've tweaked my copy a few times.

And once you get to the prompt, attempt your install in the normal way:install the::package.

When it bottles out with the "Can't find your compiler", the last dozen or so lines will show you why. If you have trouble interpreting it, post them (say the last 30 or so) here, and someone maybe able to help you.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"

In reply to Re^7: mysql installation w/cpan by BrowserUk
in thread mysql installation w/cpan by fionbarr

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.