It seems I can't post attachments to the list, so here's the patch inline: --- ../DBD-Oracle-1.23-3oaWaD/Makefile.PL 2009-04-29 10:04:24.000000000 -0500 +++ Makefile.PL 2009-11-23 16:18:31.000000000 -0600 @@ -1055,14 +1055,19 @@ 'proc/lib/proc.mk', 'proc16/lib/proc16.mk', ); - my @mk_oci = ( + my @mk_oci32 = ( + 'rdbms/demo/demo_rdbms32.mk' + ); + my @mk_oci64 = ( 'rdbms/demo/demo_xe.mk', 'rdbms/lib/oracle.mk', 'rdbms/demo/oracle.mk', 'rdbms/demo/demo_rdbms.mk', + 'rdbms/demo/demo_rdbms64.mk', 'rdbms/lib/ins_rdbms.mk' #Oracle 11 full client for 64 bit and maybe 32 bit??
); + my @mk_oci = perl_is_64bit() ? @mk_oci64 : @mk_oci32; $client_version and push @mk_proc, # Oracle Instant Client "/usr/share/oracle/$client_version/client/demo.mk", "/usr/share/oracle/$client_version/client64/demo.mk"; On 11/24/09, Ralph Doncaster <ralphdoncas...@gmail.com> wrote: > uses the appropriate Oracle makefile (32 or 64-bit). Original version > would use 64-bit Oracle makefile template with 32-bit perl causing > link stage to fail. > > Tested with oracle 10.2.0.1 & perl: > Summary of my perl5 (revision 5 version 8 subversion 9) configuration: > Platform: > osname=aix, osvers=5.3.0.0, archname=aix > uname='aix a-svldrxutil1 3 5 00032fdad400 ' > config_args='-de -Dcc=gcc' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef > usemultiplicity=undef > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc -maix32', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE > -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGE_FILES', > optimize='-O', > cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE > -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe -I/usr/local/include' > ccversion='', gccversion='4.2.0', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='gcc -maix32', ldflags =' -Wl,-brtl -Wl,-bdynamic > -L/usr/local/lib -Wl,-b32 -Wl,-bmaxdata:0x80000000' > libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib > libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc -lbsd > perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd > libc=, so=a, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker > -bE:/usr/local/lib/perl5/5.8.9/aix/CORE/perl.exp' > cccdlflags=' ', lddlflags=' -Wl,-bhalt:4 -Wl,-G > -Wl,-bI:$(PERL_INC)/perl.exp -Wl,-bE:$(BASEEXT).exp -Wl,-bnoentry -lc > -lm -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: PERL_MALLOC_WRAP USE_FAST_STDIO USE_LARGE_FILES > USE_PERLIO > Built under aix > Compiled at Jul 24 2009 13:20:32 > @INC: > /usr/local/lib/perl5/5.8.9/aix > /usr/local/lib/perl5/5.8.9 > /usr/local/lib/perl5/site_perl/5.8.9/aix > /usr/local/lib/perl5/site_perl/5.8.9 > . >