DBI-1.47 build/install error on solaris 9

moneesingh_at_yahoo.com
Date: 03/02/05


Date: 2 Mar 2005 13:28:32 -0800

Hi,

I am trying to install DBI 1.47 on Solaris 9. I am using gcc 3.4.2(from
sunfreeware.com), perl 5.6.1(preinstalled on solaris 9). I downloaded
DBI-1.47.tar.gz from CPAN and extracted to a /Temp dir. I followed the
process of installing it, as given in the readme file. When I run make
I get the following error -

# make

/bin/sh -c true
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend
-DVERSION=\"1.47\" -DXS_VERSION=\"1.47\" -KPIC
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DDBI_NO_THREADS Perl.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: Perl.c: linker input file unused because linking not done
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int
-I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc
&& mv DBI.xsc DBI.c
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend
-DVERSION=\"1.47\" -DXS_VERSION=\"1.47\" -KPIC
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DDBI_NO_THREADS DBI.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: DBI.c: linker input file unused because linking not done
rm -f blib/arch/auto/DBI/DBI.so
LD_RUN_PATH="" cc -G DBI.o -o blib/arch/auto/DBI/DBI.so
cc: DBI.o: No such file or directory
cc: no input files
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/DBI/DBI.so'

What should I do to get rid of this problem. Please let me know, If you
have any idea.

Thanks.



Relevant Pages

  • Out of Memory error with DBD-Oracle 1.20, 1.21, 1.22
    ... I have successfully installed and use DBI and DBD-Oracle on a Solaris 9 machine but I am having some problems when using it under ... I get the same error with DBD-Oracle 1.20 and 1.21. ... Installing on a solaris, Ver#2.10 ... If you have problems you may need to rebuild perl with threading enabled. ...
    (perl.dbi.users)
  • Re: How do I install DBD modules
    ... Use the CPAN utility built into Perl. ... Windows, try ppm first]. ... Downloading then installing by hand is really ...
    (perl.beginners)
  • Re: RPM repository for perl modules
    ... but the rpm's there are for perl 5.6.x only. ... > to move away from installing perl modules via CPAN. ... Hmm well installing modules NOT via CPAN is a bad idea. ... as root: perl -MCPAN -e shell ...
    (linux.redhat)
  • Re: How we communicate with each other in a community!
    ... could try installing some perl from hobbes and cpan. ... What do you think the chance was that it had ever ...
    (comp.os.os2.apps)
  • Re: Trouble installing module
    ... I'm having trouble installing a module via ... This is the first time my perl 5.6.1 installation has used CPAN to ... Perl CPAN module asked me for the location of the unix util ...
    (perl.beginners)