Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

While i am installing XML-Xalan0.42 I ran perl Makefile.PL,i got warnings as this which throws some errors while make.

WARNING: CC is not a known parameter. WARNING: LD is not a known parameter. perl -v ------ This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) uname -a --------- Linux mach12_lnx.amc.brk.nix.com 2.4.20-31.9 #1 Tue Apr 13 17:41:45 ED +T 2004 i686 athlon i386 GNU/Linux gcc -v ------- Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) ld -v ------- GNU ld version 2.13.90.0.18 20030206

Can anyone can help me to resolve this problem .

Eager of your reply..
Thanks,
Shiva.

20050103 Janitored by Corion: Added formatting

Replies are listed 'Best First'.
Re: Warning on CC and LD..
by dragonchild (Archbishop) on Jan 03, 2005 at 15:30 UTC
    You will need to email the author.

    As for the problem, it looks as if the author is trying to set the CC and LD environment variables by specifying them in parameters to ExtUtils::MakeMaker::WriteMakefile(). I've never seen things done that way, and it may be that things work that way only on certain systems or certain versions of ExtUtils::MakeMaker.

    As for possible solutions until the author emails you back:

    1. Edit the Makefile.PL and comment out the lines that say
      $config{CC} = 'c++'; $config{LD} = 'g++';
    2. You could upgrade your ExtUtils::MakeMaker. I don't know what version you have.

    Good luck!

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.