> At 2:46 PM +0300 7/23/04, [EMAIL PROTECTED] wrote:
> >When trying to add package DBD-oracle-1.15 to Perl version 5.6.1 (with update ) and 
> >DBI-1.43 i get this
> >
> >$ perl makefile.pl
> >*** Warning: Path separator characters (`|') in the current directory path 
> >(PERL_ROOT:[LIB.DBD-ORACLE-1_15]) may cause problems
> >
> >Unable to locate Driver.xst in perl_root:[lib.VMS_AXP.5_6_1]/auto/DBI 
> >perl_root:[lib]/auto/DBI perl_root:[lib.site_perl.VMS_AXP]/auto/DBI 
> >perl_root:[lib.site_perl]/auto/DBI /perl_root/lib/site_perl/auto/DBI ./auto/DBI at 
> >makefile.pl line 37
> >%SYSTEM-F-ABORT, abort
> 
> Well, I think the fundamental problem here is a syntax error as well,
> as you can see from the occurrences of "]/".  I've never built this
> extension, so I'm not sure what's up.  One thing I would try, though,
> would be to install a later version of ExtUtils::MakeMaker (the
> package that handles extension building) and then try again.  See
> 
> http://search.cpan.org/~mschwern/ExtUtils-MakeMaker-6.21/
> 

Well, I did try jour suggestion, but did not have much luck. I the end I 
fetched the whole makemaker history and tried several, and really didn't get
success.

Then i did something else.

I ran 'perl -d makemaker.pl' and stepped through until I found the code where
it went awry, in DBD.PM, and edited shamelessly until it succeded...
Maybe not the best way of doing things, but at least I got wiser ...

Then I tried to compile, and found out - at least, it looks so to me - that
DBD-ORACLE not yet is oracle 9.2 compliant ...

PERL_ROOT:[LIB.DBD-ORACLE-1_15] mms

CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/NOANSI_ALIA
S/Define=(UTF8_SUPPORT,"VERSION=""1.15""","XS_VERSION=""1.15""")/Include=(perl_r
oot:[lib.VMS_AXP.5_6_1.CORE],SAM103:[ORACLE92.rdbms],SAM103:[ORACLE92.rdbms.demo
],PERL_ROOT:-
[LIB.SITE_PERL.VMS_AXP.auto.DBI],ora_progint_incl)/Optimize  DBDIMP.c

#include <ociextp.h>
.^
%CC-F-NOINCLFILEF, Cannot find file <ociextp.h> specified in #include directive.
at line number 2159 in file SAM103:[oracle92.rdbms.demo]oci.h;3
%MMS-F-ABORT, For target DBDIMP.OBJ, CLI returned abort status: %X10B91264.

It is possible for me to compile against a oracle 8.1.7 tree, but the database 
is 9ir2, and it is a pain to have to switch between oracle homes, to have perl 
accessing oracle. 

What made me start this is the fact that Oracle, in their release of 10g for the 
win32 platform supplies perl with dbd and dbi that works with 10g, so i thougt
it would be easy...

Regards
Jakob Snoer
Nordic Processor
Data Warehouse Handel Drift / 8612
Tlf 436736 
[EMAIL PROTECTED]


Reply via email to