On Fri, May 30, 2008 at 3:40 AM, Himanshu Kumar <[EMAIL PROTECTED]> wrote:
> I got a problem when trying to install DBI-1.48 module on a solaris 9 box. > > The error is: > > [EMAIL PROTECTED] # make > > /bin/sh -c true > > cc -c -D_REENTRANT -I/usr/local/include -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" > > -KPIC -I/opt/InfoVista/ivperl/lib/5.6.1/sun4-solaris-thread-multi/CORE Perl.c > > sh: cc: not found > > *** Error code 1 > > make: Fatal error: Command failed for target `Perl.o' > > > > I do have gcc package installed on the system. ?? Anyone having an idea ? > > Many thanks in advance > > To build extensions for Perl, you need the same (or equivalent) C compiler as the one used to build Perl. You don't have the Sun C compiler on the machine. You have two options: 1. Rebuild Perl (5.8.8 or 5.10.0) with GCC 2. Obtain the Sun C compiler. Anything else is fraught with issues. -- Jonathan Leffler <[EMAIL PROTECTED]> #include <disclaimer.h> Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."