Hi,

under Solaris 9 with Perl 5.6.1 pre-installed, I just fought with these infamous error messages

cc: unrecognized option `-KPIC'
cc: language depend not recognized

which are quite resistant against all tricks like linking cc to gcc and so on.

The underlying reason is that Perl was installed with the Sun "C" compiler.

There are several hints in the internet (and this forum) how to patch Makefile.

An more elegant way is to give Makefile.PL the correct parameters:

perl Makefile.PL CC=gcc LD=gcc OPTIMIZE=-O CCCDLFLAGS=-fpic

Not a s sexy as patching, though ;-)

Cheers,

Thomas G.


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to