Aruneesh Salhotra wrote: > Finding help for a particular problem on solaris box, on which started > working on few days back. Basically i am trying to build a perl module > for BerkeleyDB on solaris. It works on cygwin i have for windows. > > On solaris, it complained about cc: optional language software package > not installed, after which i linked the gcc to /usr/local/bin/cc by > using the command > ln -s gcc /usr/local/bin/cc > > It solved the problem. > Then it complained about the flags FPIC, for which i changed it to > -fPIC. Now it complains that > > cc: language depend not recognized.
Solaris 8, no doubt? This is a FAQ; an answer is in the FAQ. That version of Perl is compiled with the SUNWspro C compiler; to extend it, you need the SUNWspro compiler. Since you don't have that at the moment, your only realistic option is to rebuild Perl with the GCC compiler you do have, and then install the extensions. This gives you the chance to upgrade to perl 5.8.0 too. -- Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED]) #include <disclaimer.h> Guardian of DBD::Informix 1.00.PC2 -- http://dbi.perl.org/
