Try any version instantclient 10 that should work.

There is no benefit in using the 11 instant client with any DBD::Oracle as a matter of fact there are a still few bugs in 11ic the DBD::Oracle hits and with 11ic you cannot connect to an Oracle db earlier than 10g.

cheers


Eric Pancer wrote:
On Wed, Jan 7, 2009 at 05:55, John Scoles <sco...@pythian.com> wrote:
You will have to do with at least DBD 1.17 as it is the first one that can
compile against  the Oracle instant client.

You could also compile 1.16 against an older 9 client or it might even work
with the enterprise 10 client.

One last hope it to get the Makefile.PL from 1.17 and run it against 1.16
DBD::Oracle.  This trick might work.

Thanks John.

Well, it turns out that isn't the only problem I'm bumping into now. I
grabbed DBD-Oracle-1.17 and now I get this:

$ sha1sum Makefile.PL
ae25e59a71e0548a9996762d57f9fdcfcc752598  Makefile.PL

$ perl Makefile.PL -m /usr/share/oracle/11.1/client/demo.mk
Using DBI 1.40 (for perl 5.008005 on i386-linux-thread-multi)
installed in /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBI

Configuring DBD::Oracle for perl 5.008005 on linux (i386-linux-thread-multi)

Remember to actually *READ* the README file! Especially if you have
any problems.

Using Oracle in /usr/lib/oracle/11.1/client
DEFINE _SQLPLUS_RELEASE = "1101000700" (CHAR)
Oracle version 11.1.0.7 (11.1)
Found /usr/share/oracle/11.1/client/demo.mk
Using /usr/share/oracle/11.1/client/demo.mk
Your LD_LIBRARY_PATH env var is set to '/usr/lib/oracle/11.1/client/lib:'
Reading /usr/share/oracle/11.1/client/demo.mk
Use of uninitialized value in substitution (s///) at Makefile.PL line 1333.
Use of uninitialized value in substitution (s///) at Makefile.PL line 1337.
Use of uninitialized value in substitution (s///) at Makefile.PL line 1340.
Use of uninitialized value in substitution (s///) at Makefile.PL line 1341.
Use of uninitialized value in substitution (s///) at Makefile.PL line 1342.
WARNING: Oracle /usr/share/oracle/11.1/client/demo.mk doesn't define a
'build' rule.

WARNING: I will now try to guess how to build and link DBD::Oracle for you.
         This kind of guess work is very error prone and
Oracle-version sensitive.
         It is possible that it won't be supported in future versions
of DBD::Oracle.
         *PLEASE* notify dbi-users about exactly _why_ you had to
build it this way.

invalid top directory at /usr/lib/perl5/5.8.5/File/Find.pm line 585.

Looking at Find.pm, it just looks like the directory isn't being
passed properly(?)

$ vi /usr/lib/perl5/5.8.5/File/Find.pm
[...]
    583 sub _find_opt {
    584     my $wanted = shift;
    585     die "invalid top directory" unless defined $_[0];
    586

$ sha1sum /usr/lib/perl5/5.8.5/File/Find.pm
f5e739a28e64978635f92f74584c4415775d6c9d  /usr/lib/perl5/5.8.5/File/Find.pm

Copying Makefile.PL from 1.17 to 1.16 and trying it yields the same
error. Other ideas are most appreciated!

- Eric

Reply via email to