just do a perl -V and see what compiler was used. Then use that compiler's command. Inside the makefile, you can edit the compiler.
Ilya -----Original Message----- From: Antonio Garcia [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 1:45 PM To: Ronald J Kimball Cc: [EMAIL PROTECTED] Subject: Re: Module can't find itself Actually, the /usr/ucb/cc compiler on my system is bizarrely non-functional (hence the error). Would you know what parameter I can pass to Makefile.PL to change what compiler it uses? Thanks, A. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Antonio Garcia-Martinez cryptologia.com On Thu, 5 Jun 2003, Ronald J Kimball wrote: > On Thu, Jun 05, 2003 at 10:02:06AM -0700, Antonio Garcia wrote: > > > > I am intalling DBI on a Sun workstation. Since I don't have root access, I > > simply put DBI.pm in ~/perl, and then add it to @INC at runtime via > > Did you actually install the module, or did you just copy DBI.pm into > ~/perl? DBI has to be installed properly to work, because it includes C > code that must be compiled. > > You can easily install DBI anywhere you like, by running e.g.: > > perl Makefile.PL PREFIX=~/perl > > Ronald >
