> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 28 October 2003 08:51
> To: Garry Ferguson
> Cc: [EMAIL PROTECTED]; 'Tim Harsch'
> Subject: RE: Trouble Installing DBD::Oracle on Red Hat 8
> 
> Hi Gary,
> 
> Where does it say you have to install the RDBMS,

In the e-mail from Tim Harsch part of the diagnostic said:
       "The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
        RDBMS product. The proc.mk (or demo_proc.mk) file is part of
        the Oracle Pro*C product.  You need to build DBD::Oracle on a
        system which has one of these Oracle components installed.
        (Other *.mk files such as the env_*.mk files will not work.)"
(The actual wording here will probably depend on the version of DBD-Oracle.)
I know this says you only need one of Pro*C and RDBMS but my experience
recently on HP required me to install both. It's worth a try if you are
having trouble.
Regards, Garry

> I can only find this and its not too specific:
> 
>    "Install enough Oracle software to enable DBD::Oracle to build.
>     That usually includes Pro*C and SQL*Net. That's not very specific
>     because it varies so much between Oracle releases."
> 
> So I've installed the 9.2 client, plus the programmer packages which
> include Pro*C.  Tnsping and sqlplus work.  The DBI seems to 
> install ok, but
> I cant make the DBD-Oracle:
> 
> cc1: warning: changing search order for system directory
> "/usr/local/include"
> cc1: warning:   as it has already been specified as a 
> non-system directory
> In file included from Oracle.h:20,
>                  from Oracle.xs:1:
> dbdimp.h:44:20: ocidfn.h: Datei oder Verzeichnis nicht gefunden
> dbdimp.h:57:21: ociapr.h: Datei oder Verzeichnis nicht gefunden
> In file included from Oracle.h:20,
>                  from Oracle.xs:1:
> dbdimp.h:107: parse error before "Lda_Def"
> dbdimp.h:107: warning: no semicolon at end of struct or union
> dbdimp.h:108: warning: data definition has no type or storage class
> dbdimp.h:116: parse error before '}' token
> dbdimp.h:140: parse error before "Cda_Def"
> dbdimp.h:140: warning: no semicolon at end of struct or union
> dbdimp.h:141: warning: data definition has no type or storage class
> dbdimp.h:167: parse error before '}' token
> dbdimp.h:297: parse error before "Lda_Def"
> In file included from Oracle.c:53:
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:
>  In function `dbdxst_bind_params':
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:48:
>  dereferencing pointer to incomplete type
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:49:
>  dereferencing pointer to incomplete type
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:53:
>  dereferencing pointer to incomplete type
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:54:
>  dereferencing pointer to incomplete type
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:55:
>  dereferencing pointer to incomplete type
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:
>  In function `dbdxst_fetchall_arrayref':
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:80:
>  dereferencing pointer to incomplete type
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:81:
>  dereferencing pointer to incomplete type
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DB
> I/Driver_xst.h:88:
>  dereferencing pointer to incomplete type
> Oracle.xsi: In function `XS_DBD__Oracle__db_selectall_arrayref':
> Oracle.xsi:135: dereferencing pointer to incomplete type
> Oracle.xsi: In function `XS_DBD__Oracle__db_selectrow_arrayref':
> Oracle.xsi:170: dereferencing pointer to incomplete type
> Oracle.xsi: In function `XS_DBD__Oracle__db_commit':
> Oracle.xsi:249: dereferencing pointer to incomplete type
> 
> and it goes on.
> 
> Any clues?
> 
> Tony
> 
> 
> 
> 
>                                                               
>                                                          
>                       Garry Ferguson                          
>                                                          
>                       <[EMAIL PROTECTED]        To:       
> "'Tim Harsch'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]        
>                       epower.com>               cc:           
>                                                          
>                                                 Subject:  RE: 
> Trouble Installing DBD::Oracle on Red Hat 8              
>                       10/28/2003 09:08                        
>                                                          
>                       AM                                      
>                                                          
>                                                               
>                                                          
>                                                               
>                                                          
> 
> 
> 
> 
> You need to do as it says and install RDBMS and Pro*C
> too.
> 
> Garry Ferguson
> 
> > -----Original Message-----
> > From: Tim Harsch [mailto:[EMAIL PROTECTED]
> > Sent: 27 October 2003 22:01
> > To: [EMAIL PROTECTED]
> > Subject: Trouble Installing DBD::Oracle on Red Hat 8
> >
> >
> > Hi All,
> >     I am trying to install DBD::Oracle for the first time on
> > Linux.  I've
> > had experiences with Solaris, but am not as savvy in Linux.
> > I installed the
> > 9i client librarues for linux, confirmed connectivty by
> > tnsping a database
> > on the network, set my Oracle home, sid, and path variables
> > and try to run
> > perl Makefile.PL and get this:
> >
> > Using DBI 1.30 installed in
> > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
> >
> >  Configuring DBD::Oracle ...
> >
> > >>>     Remember to actually *READ* the README file!
> >         Especially if you have any problems.
> >
> > Using Oracle in /home/harsch/OraHome1
> >
> > WARNING: could not decode oracle version from
> > /home/harsch/OraHome1/orainst/inspdver, or
> > /home/harsch/OraHome1/install/unix.rgs
> > or from ORACLE_HOME path /home/harsch/OraHome1.
> > Oracle version based logic in Makefile.PL may produce
> > erroneous results.
> >
> > Found header files in rdbms/demo.
> >
> >
> > *********************************************************
> > I can't find the header files I need in your Oracle installation.
> > You probably need to install some more Oracle components.
> > I'll keep going, but the compile will probably fail.
> > See README.clients for more information.
> > *********************************************************
> >
> >
> >         Unable to locate an oracle.mk, proc.mk or other 
> suitable *.mk
> >         file in your Oracle installation.  (I looked in
> >         /home/harsch/OraHome1/rdbms/lib/oracle.mk
> > /home/harsch/OraHome1/rdbms/demo/oracle.mk
> > /home/harsch/OraHome1/rdbms/demo/demo_rdbms.mk
> > /home/harsch/OraHome1/otrace/demo/atmoci.mk
> > /home/harsch/OraHome1/precomp/demo/proc/proc.mk
> > /home/harsch/OraHome1/precomp/demo/proc/demo_proc.mk
> > /home/harsch/OraHome1/proc/lib/proc.mk
> > /home/harsch/OraHome1/proc16/lib/proc16.mk)
> >
> >         The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
> >         RDBMS product. The proc.mk (or demo_proc.mk) file is part of
> >         the Oracle Pro*C product.  You need to build 
> DBD::Oracle on a
> >         system which has one of these Oracle components installed.
> >         (Other *.mk files such as the env_*.mk files will not work.)
> >
> >         In the unlikely event that a suitable *.mk file is installed
> >         somewhere non-standard you can specify where it is
> > using the -m
> > option:
> >                 perl Makefile.PL -m /path/to/your.mk
> >
> >         See README.clients for more information and some 
> alternatives.
> >
> >      at Makefile.PL line 903.
> >
> 
> 
> 
> 
> 

Reply via email to