Subject: | [PATCH] Building with Oracle XE under 32-bit Linux |
Date: | Fri, 26 Feb 2010 21:44:17 +0000 |
To: | bug-DBD-Oracle [...] rt.cpan.org |
From: | Brian Candler <B.Candler [...] pobox.com> |
Platform: Ubuntu Server 9.10 i386 (32-bit)
oracle-xe-10.2.0.1-1.0_i386.deb
ORACLE_SID=XE
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
In order to get DBD-Oracle-1.24 to compile I had to make the following
patch:
--- DBD-Oracle-1.24/Makefile.PL.orig 2010-02-26 16:25:06.349478416 +0000
+++ DBD-Oracle-1.24/Makefile.PL 2010-02-26 16:25:17.945480892 +0000
@@ -1056,6 +1056,7 @@
'proc16/lib/proc16.mk',
);
my @mk_oci32 = (
+ 'rdbms/demo/demo_xe.mk',
'rdbms/demo/demo_rdbms32.mk'
);
my @mk_oci64 = (
That is: I built DBD-Oracle linked against the client libraries bundled
with XE, rather than installation instantclient-basic or any other Oracle
library. With that one-liner, it built successfully and works fine.
Regards,
Brian Candler.