Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Problems installing DBI module on perl
August 9, 2004, 2:40 pm
rate this thread
I'm trying to install the DBI-1.13 module on perl 5.005_03. I first
# perl Makefile.PL
And it works alright, but when i execute the 'make' command i get this
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'
The problem that i've is that i don't want to install the cc compiler
because it's not a freeware tool. I've tried to compile the module whith
gcc (modifying 'Makefile') but the arguments for cc aren't valid for gcc,
so it won't compile.
I'd like to know if the last version of perl (5.8.5) includes the DBI
module. In that case i would solve the problem just reinstalling it.
Anyone could help?
Re: Problems installing DBI module on perl
> I'm trying to install the DBI-1.13 module on perl 5.005_03. I first
> # 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
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.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum