in reply to Re^6: mysql installation w/cpan
in thread mysql installation w/cpan
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.
|
|---|