RE: Errors in DBI installation!!

RE: Errors in DBI installation!!

am 07.02.2007 15:48:17 von Philip.Garrett

Hi,
=20
> From: Goverdhan Reddy [mailto:greddy@cadence.com]=20
> Sent: Tuesday, February 06, 2007 3:00 PM
> To: dbi-users@perl.org
> Subject: Errors in DBI installation!!=20
>=20
> I am getting the errors when trying to install DBI module. Please have
> a look at the attached files and let me know where I am going wrong.

You have a few problems:

> Warning: prerequisite File::Spec 1 not found...

Install File::Spec from CPAN.

> Warning: prerequisite Storable failed to load...

Install Storable from CPAN.

> cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -xO3 -xdepend -
> DVERSION=3D\"1.53\" -DXS_VERSION=3D\"1.53\" -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

The perl you are using (system perl, perhaps?) was built with a
different
compiler than the one you're using to build DBI. Either install the Sun
C compiler, or build a new perl with gcc. The compiler used to build
perl
should match the compiler used to build modules, including DBI.

Regards,
Philip