DBI-1.47 build/install error on solaris 9
moneesingh_at_yahoo.com
Date: 03/02/05
- Next message: Jenda Krynicky: "RE: [dbi] YA Stored Procedure Question"
- Previous message: Jonathan Gillespie: "RE: Problem installing DBD::ODBC 1.13"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Jenda Krynicky: "RE: [dbi] YA Stored Procedure Question"
- Previous message: Jonathan Gillespie: "RE: Problem installing DBD::ODBC 1.13"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|