What you need to successfully install the DBD::Oracle is a full *client*
install of Oracle.  You do not need a full server install and that may be
where the confusion is.

Leonardo Barbosa e Oliveira wrote:

> Sir,
>
> First of all, Thanks!But actually what I've heard
> was that I need some libs and not oracle really installed.
>
> I've got the .mk file and got building a makefile file. However,
> during its creation was a problem and then the make command
> failed. See:
> [root@itabirito DBD-Oracle-1.12]# perl Makefile.PL -m
> /home/oracle/demo/demo_rdbms.m
>
> Attempting to discover Oracle OCI build rules...
> cc -c -I/home/oracle/rdbms/demo -I/home/oracle/rdbms/public
> -I/home/oracle/plsql/public -I/home/oracle/network/public
> -I/home/oracle/rdbms/demo
> -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI -fno-strict-aliasing
> -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math
> -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fpic
> -I/usr/lib/perl5/5.6.0/i386-linux/CORE  DBD_ORA_OBJ.c
> Warning: Oracle build rule discovery failed (512)
> Oracle oci build prolog:
>         make: *** No rule to make target `/home/oracle/lib/libclient8.a',
> needed by `/home/oracle/lib/libclntsh.so'.  Stop.
> Oracle oci build command:
>
> Use of uninitialized value in substitution (s///) at Makefile.PL line 303.
> Use of uninitialized value in substitution (s///) at Makefile.PL line 308.
> Use of uninitialized value in substitution (s///) at Makefile.PL line
> 309.U
>
> [root@itabirito DBD-Oracle-1.12]# make
>
> Oracle.xs:85: dereferencing pointer to incomplete type
> Oracle.xs:85: dereferencing pointer to incomplete type
> Oracle.xs:85: dereferencing pointer to incomplete type
> Oracle.xs:85: dereferencing pointer to incomplete type
> Oracle.xs:85: dereferencing pointer to incomplete type
> Oracle.xs:87: dereferencing pointer to incomplete type
> Oracle.xs:87: dereferencing pointer to incomplete type
> Oracle.xsi: In function `boot_DBD__Oracle':
> Oracle.xsi:18: sizeof applied to an incomplete type
> Oracle.xsi:19: sizeof applied to an incomplete type
> make: *** [Oracle.o] Error 1
>
> []'s!
>
>      Leonardo
>
>       "You are what you eat"
>                  Garfield
>
> --------------------
> Leonardo Barbosa e Oliveira
> Lab. ATM/DCC/UFMG/Brasil - [EMAIL PROTECTED]
> Projeto ReMAV BH2 - http://www.dcc.ufmg.br/~admbh2
> Grupo de Gerencia, Operacao e Manutencao da Rede
>
> On Mon, 14 Jan 2002, Scott Alexander wrote:
>
> > Leonardo,
> >
> > DBD::Oracle does require that Oracle be installed on the system.  Have
> > you tried looking for the .mk files it suggests.  If you can't find any
> > of those on your system,  Launch the oracle universal installer and make
> > sure one of the two products mentioned in the error message is
> > installed.
> >
> > If one or both of the packages are installed and you still can't find
> > the .mk files, Something would appear very wrong with the oracle install
> > that you have on your system.
> >
> > Good luck.
> >
> > Scott
> >
> > On Mon, 14 Jan 2002 21:38:33 -0200 (EDT)
> > "Leonardo Barbosa e Oliveira" <[EMAIL PROTECTED]> wrote:
> >
> > >
> > >
> > > I'm sorry Sir, but I've been trying to install
> > > DBD::oracle for weeks and I found much documentation
> > > saying that I need some oracle software installed. Then
> > > I got some libs and the installation of the module, which
> > > before even start to install, gives the follow error
> > >
> > > [oracle@itabirito DBD-Oracle-1.12]$ !perl
> > > perl Makefile.PL
> > > Using DBI 1.13 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.
> > >
> > > You don't seem to have many Oracle libraries installed. If the
> > > build fails you probably need to install more Oracle software.
> > >
> > >
> > >         Unable to locate an oracle.mk, proc.mk or other suitable *.mk
> > >         file in your Oracle installation.  (I looked in
> >
> > >         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.)
> > >
> >

Reply via email to