On Thu, Jan 29, 2004 at 08:13:23AM +0100, Vladimir Marek wrote: > Hi > > [...] > > > > Should I be able to compile for Oracle 9/64bit on Solaris? > > > "perl Makefile.PL -r=build64" did not compile. > > > > "did not compile" doesn't help much, but it would only stand any chance if > > perl itself was built with the same 64bit model as Oracle wants to use. > > I've no idea what that is. I've not had time to look and even if I had I > > don't have a 64bit platform to explore. Other brave souls will have to dig > > into those issues. > > Yes > $ file sun4-solaris-thread-multi/auto/DBD/Oracle/Oracle.so > sun4-solaris-thread-multi/auto/DBD/Oracle/Oracle.so: ELF 64-bit MSB > dynamic lib SPARCV9 Version 1, dynamically linked, not stripped > > $ ldd sun4-solaris-thread-multi/auto/DBD/Oracle/Oracle.so > libclntsh.so.9.0 => /export/home/prints/local/lib/libclntsh.so.9.0 > ... > > First of all you have to compile perl itself as 64bit program,
There are at least two different ways to compile perl itself as 64bit program: -Duse64bitint and -Duse64bitall. Which did you use? (The DBD::Oracle 1.15 on CPAN checks for perl being 'use64bitall' and if that's true, and the Oracle makefile being used has a 'build64' target then it uses that to discover the build rules. I'm hoping that'll be reliable.) > then for > me it was enough to build DBI and DBD without any parameters and it > seems to work fine. Using the DBD::Oracle 1.15 from CPAN? (Could you send (just) me a log of the Makefile.PL output?) > ( Well DBD 1.13-1.14 leaks for me when compiled with > oracle 9, could you test that, please ? Could you send me a small simple test case, please? Thanks. Tim.