Thanks James.

Tim.

On Tue, Apr 19, 2005 at 04:31:39PM -0500, James D. White wrote:
> I had a slight problem while installing DBD::Oracle 1.16 on a 64-bit Perl 
> 5.8.5 running
> on a Solaris 9 system with Oracle 9i.  "perl Makefile.PL" tried to use the 
> 32-bit Oracle
> libraries.  The Oracle 9 (and 8 IIRC) client uses "*/lib" for the 64-bit 
> libraries and
> "*/lib32" for the 32-bit libraries.  An easy workaround is to use
> "perl Makefile.PL -r=build" to force the use of the 64-bit libraries, but a 
> single change
> to Makefile.PL fixes the problem.
> 
> Without the change, line 331 forces the use of make rule "build32" if it 
> exists, even if
> you are installing on a 64-bit Perl.  The change is to make this line similar 
> to the line
> after it and force "build32" only if it exists and only if you are building 
> on a 32-bit Perl.
> Here is diff output for the change:
> 
> 331c331
> <       $build_target = "build32" if $mk_target_rules{build32};
> ---
> >       $build_target = "build32" if $mk_target_rules{build32} && ! 
> > perl_is_64bit();
> 
> 
> --
> James D. White   ([EMAIL PROTECTED])
> Director of Bioinformatics
> Department of Chemistry and Biochemistry/ACGT
> University of Oklahoma
> 101 David L. Boren Blvd., SRTC 2100
> Norman, OK 73019
> Phone: (405) 325-4912, FAX: (405) 325-7762
> 
> 
> 

Reply via email to