> Jay Strauss wrote: > Hi, > >Does anyone have a WORKING recipe for building DBD::Oracle against >Instant client? I have followed the recipes: ... >> >I'm doing this on linux >> >thanks >Jay >
Hate replying to my own message. You must edit the Makefile.pl to point at YOUR OWN header files. In my case it looks like: --- Makefile.PL.orig 2005-09-03 22:02:49.723726592 -0500 +++ Makefile.PL 2005-09-03 22:08:34.581300272 -0500 @@ -276,7 +276,7 @@ print "Oracle sysliblist: $syslibs\n"; my $libdir = ora_libdir(); $opts{dynamic_lib} = { OTHERLDFLAGS ="$::opt_g" }; - my @h_dirs = find_headers(); + my @h_dirs; if ($client_version_full =~ /^8.0.6/ && $os eq 'hpux') { $linkwith_msg = "-lextp -l$lib."; $opts{LIBS} = [ "-L$OH/$libdir -lextp -l$lib $syslibs" ]; @@ -286,7 +286,7 @@ $linkwith_msg = "-l$lib."; $opts{LIBS} = [ "-L$OH/$libdir -l$lib $syslibs" ]; } - my $inc = join " ", map { "-I$OH/$_" } @h_dirs; + my $inc = "-I//usr/local/src/instantclient_10_2/include"; $opts{INC} = "$inc -I$dbi_arch_dir"; } else { # --- trawl the guts of Oracle's make files looking the how it wants to link Jay