On Thu, Jun 03, 2004 at 03:36:07PM +0100, incansv wrote: > Problem: Makefile always uses gcc compiler > ------------------------------------------ > > Apologies if this is simple for gurus. I'm pretty happy writing Perl, but > building/installing source libraries is a black art to me. > > I'm trying to install DBI on a Solaris 2.9 box. I have the Forte C compiler > installed and in my path. However the Makefile.PL seems to ignore this and > hard-code the use of gcc, which I don't have installed. > > 1) Is DBI actually dependent on gcc?? Do I have no option but to install > the gcc compiler?
The DBI, like all perl extensions, needs to be built with the same compiler as your perl was. That may not be gcc. > 2) If the answer is "no", how and where do I configure the Makefile.PL to > use the Forte compiler. To a relative newbie it's not obvious... You need to build a perl using the Forte compiler if you want to use the Forte compiler for the DBI. Tim.
