On Fri, Oct 11, 2002 at 03:13:09PM -0500, Charles Mount wrote:
> I am using Solaris 8 out of the box PERL 5.00503.  I have had several
> packages from cpan fail to install.
> I noted that the Makefile generated by "perl Makefile.PL" had CC=cc and
> LD=cc even though the computer does not have a cc compiler; /usr/ucb/cc
> returns a message that the optional software is not installed.    When I
> change cc to gcc I get a problem apparently because the Makefile contains
> CCCDLFLAGS = -KPIC.   It looks like gcc does not understand the -KPIC
> parameter.
> At this point I am in way over my head.
> Is there a configuration file that I am missing that tells makemaker to use
> gcc rather than cc?

It just takes it all from Config.pm which is the conditions under which Perl
was originally compiled.  Since you don't have the original utilities,
they're going to be wrong.  You'll have to change them when you call
Makefile.PL and I have no idea what the details are.

Alternatively, you can get the Sun compiler or you can compile your own Perl
which will have the correct configuration for your machine.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
That which stirs me, stirs everything.
        -- Squonk Opera, "Spoon"

Reply via email to