Trying to install Oracle DBD and getting errors

Trying to install Oracle DBD and getting errors

am 06.12.2005 21:43:03 von Mark_Savery

--=_alternative 00724772852570CF_=
Content-Type: text/plain; charset="US-ASCII"

I am working on a windows machine running Windows Server 2003. The
version of Oracle I am trying to build against is 10.2.
and I am using iwperl (also tried with regular perl but had the same
problem).

When I try the command

iwperl Makefile.PL

I get the following sets of errors

C:\DBD-Oracle-1.16>iwperl Makefile.PL
*** Warning: Colons in the current directory path (C:/DBD-Oracle-1.16) may
cause
problems
Using DBI 1.38 installed in C:\iw-home\iw-perl\vendor\lib/auto/DBI

Configuring DBD::Oracle ...

>>> Remember to actually *READ* the README file!
Especially if you have any problems.

Using Oracle in D:/Oracle/product/10.1.0/Client_1
DEFINE _SQLPLUS_RELEASE = "1001000200" (CHAR)
Oracle version 10.1.0.2 (10.1)
Found oci directory
Using OCI directory 'oci'
Found oci/lib/MSVC/oci.lib library
Found oci/lib/MSVC/ociw32.lib library
Found oci/lib/MSVC/oraocci10.lib library
Using oci/lib/MSVC/OCI.lib

Checking for functioning wait.ph


System: perl5.008002
Compiler: cl -MD -DNDEBUG -O1 -nologo -GF -W3 -MD -DNDEBUG -O1 -DWIN32
-D_CONS
OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DUSE_PERLIO
-DPERL_M
SVCRT_READFIX
Linker: not found
Sysliblist:


Warning: If you have problems you may need to rebuild perl with threading
enable
d.

*** Warning: Colons in the current directory path (C:/DBD-Oracle-1.16) may
cause
problems
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for msvcrt.lib
LD_RUN_PATH=D:/Oracle/product/10.1.0/Client_1/lib:D:/Oracle/ product/10.1.0/Clien
t_1/rdbms/lib
Using DBD::Oracle 1.16.
Using DBD::Oracle 1.16.
*** Warning: Colons in the current directory path (C:/DBD-Oracle-1.16) may
cause
problems
*** Warning: Colons in the current directory path (C:/DBD-Oracle-1.16) may
cause
problems
Using DBI 1.38 installed in C:\iw-home\iw-perl\vendor\lib/auto/DBI
Writing Makefile for DBD::Oracle

*** If you have problems...
read all the log printed above, and the README and README.help files.
(Of course, you have read README by now anyway, haven't you?)


Then if i try to run make (actually nmake) I get a number of unresolved
symbols
and LNK2001 and LNK2019 errors.

I have sucessfully installed this on Solaris and on windows XP against
Oracle 8i, so am a bit baffled.

Any help would be greatly appreciated.

Thanks

Mark Savery

--=_alternative 00724772852570CF_=--

Re: Trying to install Oracle DBD and getting errors

am 07.12.2005 13:20:25 von scoles

Your DBI 1.38 is a rather old. The current version is something like 1.49.
You might want to start by getting and installing the latest version of DBI.
Is there any reason you have to use 1.38?

I have also had good sucess using Activeperl and PPM. You may want to try
that product as well.

You might also want to try the Makefile.PL found on the Pythian branch of
the DBD:Oracle

http://svn.perl.org/modules/dbd-oracle/branches/pythian/

It has been proven to work for windows 2000.

Re: Trying to install Oracle DBD and getting errors

am 07.12.2005 14:57:55 von gonzales

On Tue, 6 Dec 2005, Mark_Savery@computerworld.com wrote:

> I am working on a windows machine running Windows Server 2003. The
> version of Oracle I am trying to build against is 10.2.
> and I am using iwperl (also tried with regular perl but had the same
> problem).
>
> When I try the command
>
> iwperl Makefile.PL
>
> I get the following sets of errors
>
> C:\DBD-Oracle-1.16>iwperl Makefile.PL
> *** Warning: Colons in the current directory path (C:/DBD-Oracle-1.16) may
> cause
> problems

Did you look at this line carefully? Immediately after the \lib you have
"\lib/auto/DBI"
Those forward slashes are not Windows/DOS friendly as a path name.
I'd find out where this error exists and correct that.
> Using DBI 1.38 installed in C:\iw-home\iw-perl\vendor\lib/auto/DBI
>




> Configuring DBD::Oracle ...
>
>>>> Remember to actually *READ* the README file!
> Especially if you have any problems.
>
> Using Oracle in D:/Oracle/product/10.1.0/Client_1
> DEFINE _SQLPLUS_RELEASE = "1001000200" (CHAR)
> Oracle version 10.1.0.2 (10.1)
> Found oci directory
> Using OCI directory 'oci'
> Found oci/lib/MSVC/oci.lib library
> Found oci/lib/MSVC/ociw32.lib library
> Found oci/lib/MSVC/oraocci10.lib library
> Using oci/lib/MSVC/OCI.lib
>
> Checking for functioning wait.ph
>
>
> System: perl5.008002
> Compiler: cl -MD -DNDEBUG -O1 -nologo -GF -W3 -MD -DNDEBUG -O1 -DWIN32
> -D_CONS
> OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DUSE_PERLIO
> -DPERL_M
> SVCRT_READFIX
> Linker: not found
> Sysliblist:
>
>
> Warning: If you have problems you may need to rebuild perl with threading
> enable
> d.
>
> *** Warning: Colons in the current directory path (C:/DBD-Oracle-1.16) may
> cause
> problems
> Note (probably harmless): No library found for oldnames.lib
> Note (probably harmless): No library found for msvcrt.lib
> LD_RUN_PATH=D:/Oracle/product/10.1.0/Client_1/lib:D:/Oracle/ product/10.1.0/Clien
> t_1/rdbms/lib
> Using DBD::Oracle 1.16.
> Using DBD::Oracle 1.16.
> *** Warning: Colons in the current directory path (C:/DBD-Oracle-1.16) may
> cause
> problems
> *** Warning: Colons in the current directory path (C:/DBD-Oracle-1.16) may
> cause
> problems
> Using DBI 1.38 installed in C:\iw-home\iw-perl\vendor\lib/auto/DBI
> Writing Makefile for DBD::Oracle
>
> *** If you have problems...
> read all the log printed above, and the README and README.help files.
> (Of course, you have read README by now anyway, haven't you?)
>
>
> Then if i try to run make (actually nmake) I get a number of unresolved
> symbols
> and LNK2001 and LNK2019 errors.
>
> I have sucessfully installed this on Solaris and on windows XP against
> Oracle 8i, so am a bit baffled.
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Mark Savery
>

--
/********** Louis Gonzales ***********\
/****** http://www.linuxlouis.net ****\
/**** louis.gonzales@linuxlouis.net **\
/**** BSCS Eastern Michigan Univ. ****\
/****** HP Certified Professional ****\