Andrew Crum wrote:

> Yes.
> gcc does not understand -KPIC. For gcc, substitute -fPIC.
> Look for it in the Makefile.PL or possibly in the Makefile generated by 
> 'make Makefile.PL'.


It isn't that simple, in general.  If you don't have the same compiler 
as was used to build Perl, life is going to get very frustrating. 
Either get the SUNWspro C Compiler that was used, or build your own Perl 
with GCC.  I'd do the latter -- it's cheaper.


T'other question - how did you get DBI installed?  Or was this a prelude

to building DBI?


> At 03:55 PM 6/21/2002 +0200, you wrote:
>> I have tried  to install the Mysql module. By the instruction of
>> http://www.mysql.com/doc/P/e/Perl_installation.html I have a problem in
>> the 3 step:make!!!(I
>> have the sun solaris 8 system.)
>> I have following errors:gcc -c   -xO3 -xdepend     -DVERSION=\"2.101\"
>> -DXS_VERSION=\"2.101\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
>> Dumper.c
>> gcc: unrecognized option `-KPIC'
>> gcc: language depend not recognized
>> gcc: Dumper.c: linker input file unused since linking not done
>> LD_RUN_PATH="" gcc -o blib/arch/auto/Data/Dumper/Dumper.so  -G Dumper.o
>> gcc: Dumper.o: No such file or directory
>> gcc: No input files
>> *** Error code 1
>> make: Fatal error: Command failed for target
>> `blib/arch/auto/Data/Dumper/Dumper.so'
>> I can't understand option `-KPIC'.
>> Can anybody help me?



-- 
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED]) #include 
<disclaimer.h>
Guardian of DBD::Informix 1.00.PC2 -- http://dbi.perl.org/

Reply via email to