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

I'm having a problem installing the MIME::Base64 on solaris 9 via CPAN.
Well, i know what the problem is, it is a flag (-KPIC) that is assigned on the makefile (CCCDLFLAGS = -KPIC) and it seems that is an inválid flag for gcc.

I know i can modify the makefile manually and install the module; but i want know if it is possible to modify this flags using the CPAN shell.
thanks


ignorance, the plague is everywhere
--guttermouth

Replies are listed 'Best First'.
Re: installing a module via CPAN
by jfroebe (Parson) on Mar 25, 2004 at 20:57 UTC
    Hi,

    The -KPIC flag is for the Sun cc compiler. You should be able to change it to "-FPIC" and build.

    Please note that if you using the perl supplied by Sun, you will have to use the Solaris cc compiler or change the resultant Makefile (after you run perl Makefile.PL) to use the correct flags.

    hope this helps
    Jason

      yes, i had the perl supplied by sun, and since it was the 5.6 version i've installed perl 5.8.3 and the modules installed smoothly, thanks.


      ignorance, the plague is everywhere
      --guttermouth