M.W. Koskamp wrote:

>> I was missing
>> oci1.h
>> ociap.h
>> nzt.h
>> nzerror.h
>> oci8dp.h
>> 
>> They were somewhere in the oracle tree, but not in the directories
contained
>> in the include path.
>> It's more likely to be an oracle then a DBD::Oracle problem.

The regular expression pattern match in find_headers() will not match
'nzt.h' or 'nzerror.h'

   return unless /^o(ci...|ratypes)\.h$/i;

find_headers() therefore only returns 'rdbms/demo' (for example) and not any
other
include dirs where other required headers not matching the regexp may exist.

roger


----- Original Message -----
From: Foskett Roger <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 10, 2001 12:38 PM
Subject: DBD::Oracle Makefile.PL problem


>
> Hi - not sure who to direct this at
>
> I've just had a build problem where 'nzt.h' and 'ociextp.h' were missing
> during make.
>
> This occured as the find_headers() function in Makefile.PL did not RE
match
> the files and so does not return 'rdbms/public' as an include path
(building
> on HPUX11).
>
> I therefore modified the find_headers() line from:
>
>     return unless /^o(ci...|ratypes)\.h$/i;
>
> to:
>
>     return unless /^\w+\.h$/i;
>
> which allieviated the problem.  Is this a common problem and if so could
> this be integrated into DBD::Oracle's Makefile.PL if required?
>



Reply via email to