[kw-pm] Question regarding cpan
Eric Maki
eric at uc.org
Tue Nov 11 16:56:35 PST 2008
Hard to be a lot of help without all the information. A quick
peek in ExtUtils reveals that the next line after that initial
warning would say what the actual arch mismatch is believed to
be. And then somewhere in those dots would be the actual error
for the make.
But, even with everything carved out, seems likely that you have
one perl in your path, but a PERL5LIB for a different perl.
Is this your server? If so, get rid of one of the Perls.
If it isn't, compare 'perl -V' with your environment. What does
"perl -MConfig -le 'print $Config{archlibexp}'" print? What
about "perldoc -l Config"?
cpan isn't magic, it's not going to be able to figure out how to
deal with entangled conflicting versions of Perl. If you can
start fresh, you will be happier. If -you- aren't sure which
perl is running and should be running, cpan is SOL.
fishbot
---- original message : 2008-11-11 12:23pm : Robert Pike ----
> I'm trying to run cpan from the command prompt to try and
> install Date::Calc but part of the message I get back is this :
> ...
> ...
> Have P:\Perl-5.8\lib\Config.pm expected C:\Perl\lib\Config.pm
> Your perl and your Config.pm seem to have different ideas about the
> architecture they are running on.
> ...
> ...
> Running make test
> Can't test without successful make
> Running make install
> Make had returned bad status, install seems impossible
> Failed during this command:
> STBEY/Date-Calc-5.4.tar.gz : make NO
>
> I noticed that on the server there are 2 directories -> C:/Perl
> and C:/Perl-5.8 (the first I believe is version 5.0 while the
> latter is 5.8). Does anyone have any suggestions to what I can
> try to successfully install Date::Calc? Appreciate any help.
> Thanks.
>
>
>
> _______________________________________________
> kw-pm mailing list
> kw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/kw-pm
>
More information about the kw-pm
mailing list