Skip to content
Advertisement

Installing Perl DBI in SUN Solaries

I am trying to install perl DBI on SUN solaries 11 but I always got the following error:

sh: line 1: cc: not found
*** Error code 127
make: Fatal error: Command failed for target `Perl.o'

I did the following steps:

Downloaded and extracted DBI-1.628 then in the shell command:

cd DBI-1.628 
make realclean 
perl Perlfile.PL
meke

Advertisement

Answer

This means it cannot find a compiler on your machine. You should add the path to the compiler to your PATH variable. gcc and cc are not the same thing. You should install cc.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement