Hi Folks,

If memory serves, one thing I had to do when installing the Oracle
database client (and when I wanted to compile DBD::Oracle) was to take
particular care in ensuring the "Oracle9i Development Kit" was installed
(I don't believe it was included in the base installation).

I remember taking similar steps to yours, finding a bunch of .mk files
as well, then going back and scouring the custom installation options to
figure out what might have been missed. I dropped in the package above,
and it off it went...

YMMV 8^)

Steve




> -----Original Message-----
> From: Jeffrey Poore [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 9:02 PM
> To: [EMAIL PROTECTED]
> Subject: DBD on Mandrake Linux 8 with Oracle 9i
> 
> 
> I seem to be having problems installing DBD::Oracle with Oracle 9i
> installed on Linux Mandrake 8.0 on a Pentium III. (I also can't seem
> to get the Oracle 8.1.7 installer working either... argghh...).
> 
> I get this message:
> ----
> 
> Using DBI 1.20 installed in
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI
> 
>  Configuring DBD::Oracle ...
> 
> >>>   Remember to actually *READ* the README file!
>       Especially if you have any problems.
> 
> Using Oracle in /usr/local/oracle
> Found header files in rdbms/demo.
> 
>       Unable to locate an oracle.mk, proc.mk or other suitable *.mk
>       file in your Oracle installation.  (I looked in
>       /usr/local/oracle/rdbms/lib/oracle.mk
> /usr/local/oracle/rdbms/demo/oracle.mk
> /usr/local/oracle/rdbms/demo/demo_rdbms.mk
> /usr/local/oracle/otrace/demo/atmoci.mk
> /usr/local/oracle/precomp/demo/proc/proc.mk
> /usr/local/oracle/precomp/demo/proc/demo_proc.mk
> /usr/local/oracle/proc/lib/proc.mk
> /usr/local/oracle/proc16/lib/proc16.mk)
> ----
> 
> I have done a find, and I have no oracle.mk, proc.mk, but I do have:
> 
> ---
> /usr/local/oracle/ldap/lib/env_ldap.mk
> /usr/local/oracle/ldap/lib/ins_ldap.mk
> /usr/local/oracle/ldap/demo/demo_ldap.mk
> /usr/local/oracle/network/lib/ins_net_client.mk
> /usr/local/oracle/network/lib/env_network.mk
> /usr/local/oracle/network/lib/ins_cman.mk
> /usr/local/oracle/network/lib/ins_names.mk
> /usr/local/oracle/rdbms/lib/ins_rdbms.mk
> /usr/local/oracle/rdbms/lib/env_rdbms.mk
> /usr/local/oracle/plsql/spnc_makefile.mk
> /usr/local/oracle/plsql/lib/env_plsql.mk
> /usr/local/oracle/plsql/lib/ins_plsql.mk
> /usr/local/oracle/precomp/lib/ins_precomp.mk
> /usr/local/oracle/precomp/lib/env_precomp.mk
> /usr/local/oracle/jis/demo/java.mk
> /usr/local/oracle/jis/demo/unix.mk
> /usr/local/oracle/javavm/demo/java.mk
> /usr/local/oracle/javavm/demo/unix.mk
> /usr/local/oracle/ord/im/lib/env_ordim.mk
> /usr/local/oracle/ord/img/demo/demo_ordimg.mk
> /usr/local/oracle/sqlplus/lib/env_sqlplus.mk
> /usr/local/oracle/sqlplus/lib/ins_sqlplus.mk
> ---
> 
> I have tried all that seemed relevant, but eventually, I get these
> errors:
> 
> ---
> Warning: Oracle /usr/local/oracle/network/lib/env_network.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 abut exactly _why_ you had to build it this
> way.
> ---
> 
> and then if I do a make, it breaks with these errors:
> 
> ---
> In file included from Oracle.h:20,
>                  from Oracle.xs:1:
> dbdimp.h:44:20: ocidfn.h: No such file or directory
> dbdimp.h:57:21: ociapr.h: No such file or directory
> In file included from Oracle.h:20,
>                  from Oracle.xs:1:
> dbdimp.h:97: parse error before `Lda_Def'
> dbdimp.h:97: warning: no semicolon at end of struct or union
> dbdimp.h:98: warning: data definition has no type or storage class
> dbdimp.h:105: parse error before `}'
> dbdimp.h:126: parse error before `Cda_Def'
> dbdimp.h:126: warning: no semicolon at end of struct or union
> dbdimp.h:127: warning: data definition has no type or storage class
> dbdimp.h:153: parse error before `}'
> dbdimp.h:279: parse error before `Lda_Def'
> Oracle.xsi: In function `XS_DBD__Oracle__db_commit':
> Oracle.xsi:73: dereferencing pointer to incomplete type
> (continues for a few screens)
> ---
> 
> Does anyone know what mk file I should be using? Gotten around this?
> Any help would be appreciated...
> 
> -Jeffrey Poore 
> [EMAIL PROTECTED]
> 
> 
> 

Reply via email to