Re: Building 32bit DBD-Oracle under 64bit Oracle install
On Thu, Feb 05, 2004 at 09:14:13AM -0800, Lin Feng wrote: > Sean, > > I just tried it. It made no difference in my case: the Makefile generated > are exactly the same. > > Env: Solaris 2.8; Oracle 10.1.0.2.0; Perl 5.8.3 > > BTW, 'perl Makefile.PL' reports that it cannot determine correct Oracle version. > I guess it does not know what to do with the two gidit in '10'. > > Any one else seen this? You're the first to mention Oracle 10. Please fix it and send me a patch (diff -u Makefile.PL.old Makefile.PL) Thanks! Tim.
Re: Building 32bit DBD-Oracle under 64bit Oracle install
On Thu, Feb 05, 2004 at 04:21:40PM +, Sean Kelly wrote: > Hi, > > I think I've cracked it. The Makefile.PL in 1.15 is much better than the > one from 1.14 at detecting whether you need the lib32 Oracle directory from > a 64bit Oracle install but I think there is one flaw. > > On line 74 $::opt_r is set to a default value of "build". This value is > causing $build_target to always be set to "build" at line 343 no matter > what the logic on the two preceeding lines decide. > > If I set $::opt_r = '' on line 74 then running "perl Makefile.PL" chooses > the lib32 directory correctly and "make" runs cleanly. Uggh. I changed the logic around a couple of times and obviously left messed up. Well spotted. Fixed now. Thanks. Anyone in a 64bit or mixed 32/64bit environment should try it. Tim.
Re: Building 32bit DBD-Oracle under 64bit Oracle install
Sean, I just tried it. It made no difference in my case: the Makefile generated are exactly the same. Env: Solaris 2.8; Oracle 10.1.0.2.0; Perl 5.8.3 BTW, 'perl Makefile.PL' reports that it cannot determine correct Oracle version. I guess it does not know what to do with the two gidit in '10'. Any one else seen this? Thanks, Lin Sean Kelly <[EMAIL PROTECTED]> wrote: Hi, I think I've cracked it. The Makefile.PL in 1.15 is much better than the one from 1.14 at detecting whether you need the lib32 Oracle directory from a 64bit Oracle install but I think there is one flaw. On line 74 $::opt_r is set to a default value of "build". This value is causing $build_target to always be set to "build" at line 343 no matter what the logic on the two preceeding lines decide. If I set $::opt_r = '' on line 74 then running "perl Makefile.PL" chooses the lib32 directory correctly and "make" runs cleanly. Thanks, -- Sean Kelly - Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online
Building 32bit DBD-Oracle under 64bit Oracle install
Hi, I think I've cracked it. The Makefile.PL in 1.15 is much better than the one from 1.14 at detecting whether you need the lib32 Oracle directory from a 64bit Oracle install but I think there is one flaw. On line 74 $::opt_r is set to a default value of "build". This value is causing $build_target to always be set to "build" at line 343 no matter what the logic on the two preceeding lines decide. If I set $::opt_r = '' on line 74 then running "perl Makefile.PL" chooses the lib32 directory correctly and "make" runs cleanly. Thanks, -- Sean Kelly <[EMAIL PROTECTED]>