Re: Problems installing DBI module on perl

From: patrick (patricksoltani_at_sbcglobal.net)
Date: 08/21/04


Date: Sat, 21 Aug 2004 00:34:53 GMT

Pablo-UAM wrote:
> Hi!
> I'm trying to install the DBI-1.13 module on perl 5.005_03. I first
> execute
>
> # perl Makefile.PL
>
> And it works alright, but when i execute the 'make' command i get this
> error message:
> cc -c -xO3 -xdepend -DVERSION=\"1.13\" -DXS_VERSION=\"1.13\" -KPIC
> -I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS Perl.c
> /usr/ucb/cc: language optional software package not installed
> *** Error code 1
> make: Fatal error: Command failed for target `Perl.o'
>
If I remember correctly, the cc in Solaris is not a compiler, but a
script. If you need a compiler either you have to install the Forte or
gcc.

There are pre-built packages that you can install, do your perl thing
and remove it if you don't want to keep a compiler on the production
server: http://www.blastwave.org/

If you use gcc just remove the /usr/ucb/cc from the path and that should
take care of this.

Regards,
Patrick Soltani.



Relevant Pages