Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread Ralph Doncaster
On 11/27/09, H.Merijn Brand h.m.br...@xs4all.nl wrote:
 On Fri, 27 Nov 2009 10:21:05 -0400, Ralph Doncaster
 ralphdoncas...@gmail.com wrote:
 While you're at it, I'd like to see some more changes:
 * make /usr/share/oracle not hardcoded but variable
We're running Oracle  perl on a few Unix boxes without a
/usr/share/oracle, so it seems it's not required in some cases.  Our
install is in /usr/oracle, and there's no oracle link in /usr/share.

 * make Instant Client work on windows too (Windows instant client works
   fine with the current Makefile.PL if installed on
   C:\Oracle\instantclient_11_1, but it does NOT work at all when
   installed in C:\Program Files\Oracle\... due to the space (I tried
   yesterday with the newest Strawberry)

Sorry, I only do perl on Unix.


DBD-Oracle-1.23 Makefile.PL patch

2009-11-24 Thread Ralph Doncaster
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:0x8000'
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
.


Makefile.PL.diff
Description: Binary data