I am trying to install perl DBI on SUN solaries 11 but I always got the following error:
JavaScript
x
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:
JavaScript
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.