I am having diffuculty getting past the nmake (make) step for installing the 
DBD::Oracle perl module on Windows.

The perl Makefile.PL step completes, but with warnings of missing libraries 
(see below).

It appears I am missing key .lib's, but I can't find them anywhere, execpt that 
they seem to be on the Visual C++ CD. 

Can DBD::Oracle be installed on Windows without the Visual C++ (using Watcom cl 
or Cygwin gcc)?


Thanks,
David
-----------------------------------------------------------------------------------------------------------------------------
C:\dfw\DBD-Oracle-1.16>perl Makefile.PL -v
*** You're using Microsoft Visual C++ compiler but the LIB and INCLUDE environme
nt
    variables are not both set. If you have 'unresolved external symbol'
    errors during linking, run the vcvars32.bat batch file to set up your
    LIB and INCLUDE environment variables, and try again.
    A copy of vcvars32.bat can typically be found in the following
    directories under your Visual Studio install directory:
        Visual C++ 6.0:     vc98\bin
        Visual Studio .NET: vc7\bin

Using DBI 1.46 (for perl 5.008003 on MSWin32-x86-multi-thread) installed in C:/P
erl/site/lib/auto/DBI/

 Configuring DBD::Oracle ...

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

Using Oracle in C:/oracle/ora92
DEFINE _SQLPLUS_RELEASE = "902000100" (CHAR)
Oracle version 9.2.0.1 (9.2)
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/oramts.lib library
Found oci/lib/MSVC/oraocci9.lib library
Using oci/lib/MSVC/OCI.lib

Checking for functioning wait.ph


System: perl5.008003
Compiler:   cl -MD -Zi -DNDEBUG -O1 -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT  -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEX
T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
Linker:     not found
Sysliblist:


MakeMaker (v6.17)
Checking if your kit is complete...
Looks good
  ABSTRACT_FROM => q[Oracle.pm]
  AUTHOR => q[Tim Bunce ([EMAIL PROTECTED])]
  DEFINE => q[ -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.1\"]
  DIR => []
  EXE_FILES => [q[ora_explain]]
  INC => q[-IC:/oracle/ora92/oci/include -IC:/oracle/ora92/rdbms/demo -IC:/Perl/
site/lib/auto/DBI/]
  LIBS => [q[-LC:/oracle/ora92/oci/LIB/MSVC OCI]]
  NAME => q[DBD::Oracle]
  OBJECT => q[$(O_FILES)]
  PREREQ_PM => { DBI=>q[0] }
  VERSION_FROM => q[Oracle.pm]
  clean => { FILES=>q[xstmp.c Oracle.xsi dll.base dll.exp sqlnet.log libOracle.d
ef ora_explain mk.pm] }
  dist => { DIST_DEFAULT=>q[clean distcheck disttest tardist], COMPRESS=>q[gzip
-v9], PREOP=>q[$(MAKE) -f Makefile.old distdir], SUFFIX=>q[gz] }
Using PERL=C:\Perl\bin\perl.exe
Potential libraries are '-LC:/oracle/ora92/oci/LIB/MSVC OCI   oldnames.lib kerne
l32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib
 ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  ve
rsion.lib odbc32.lib odbccp32.lib msvcrt.lib':
'OCI' found as 'C:/oracle/ora92/oci/LIB/MSVC\OCI.lib'
'oldnames.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\oldnames.lib'
'oldnames.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\oldnames.lib'
'oldnames.lib' not found as 'C:\Perl\lib/CORE\oldnames.lib'
Note (probably harmless): No library found for oldnames.lib
'kernel32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\kernel32.lib'
'kernel32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\kernel32.lib'
'kernel32.lib' not found as 'C:\Perl\lib/CORE\kernel32.lib'
Note (probably harmless): No library found for kernel32.lib
'user32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\user32.lib'
'user32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\user32.lib'
'user32.lib' not found as 'C:\Perl\lib/CORE\user32.lib'
Note (probably harmless): No library found for user32.lib
'gdi32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\gdi32.lib'
'gdi32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\gdi32.lib'
'gdi32.lib' not found as 'C:\Perl\lib/CORE\gdi32.lib'
Note (probably harmless): No library found for gdi32.lib
'winspool.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\winspool.lib'
'winspool.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\winspool.lib'
'winspool.lib' not found as 'C:\Perl\lib/CORE\winspool.lib'
Note (probably harmless): No library found for winspool.lib
'comdlg32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\comdlg32.lib'
'comdlg32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\comdlg32.lib'
'comdlg32.lib' not found as 'C:\Perl\lib/CORE\comdlg32.lib'
Note (probably harmless): No library found for comdlg32.lib
'advapi32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\advapi32.lib'
'advapi32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\advapi32.lib'
'advapi32.lib' not found as 'C:\Perl\lib/CORE\advapi32.lib'
Note (probably harmless): No library found for advapi32.lib
'shell32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\shell32.lib'
'shell32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\shell32.lib'
'shell32.lib' not found as 'C:\Perl\lib/CORE\shell32.lib'
Note (probably harmless): No library found for shell32.lib
'ole32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\ole32.lib'
'ole32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\ole32.lib'
'ole32.lib' not found as 'C:\Perl\lib/CORE\ole32.lib'
Note (probably harmless): No library found for ole32.lib
'oleaut32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\oleaut32.lib'
'oleaut32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\oleaut32.lib'
'oleaut32.lib' not found as 'C:\Perl\lib/CORE\oleaut32.lib'
Note (probably harmless): No library found for oleaut32.lib
'netapi32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\netapi32.lib'
'netapi32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\netapi32.lib'
'netapi32.lib' not found as 'C:\Perl\lib/CORE\netapi32.lib'
Note (probably harmless): No library found for netapi32.lib
'uuid.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\uuid.lib'
'uuid.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\uuid.lib'
'uuid.lib' not found as 'C:\Perl\lib/CORE\uuid.lib'
Note (probably harmless): No library found for uuid.lib
'wsock32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\wsock32.lib'
'wsock32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\wsock32.lib'
'wsock32.lib' not found as 'C:\Perl\lib/CORE\wsock32.lib'
Note (probably harmless): No library found for wsock32.lib
'mpr.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\mpr.lib'
'mpr.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\mpr.lib'
'mpr.lib' not found as 'C:\Perl\lib/CORE\mpr.lib'
Note (probably harmless): No library found for mpr.lib
'winmm.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\winmm.lib'
'winmm.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\winmm.lib'
'winmm.lib' not found as 'C:\Perl\lib/CORE\winmm.lib'
Note (probably harmless): No library found for winmm.lib
'version.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\version.lib'
'version.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\version.lib'
'version.lib' not found as 'C:\Perl\lib/CORE\version.lib'
Note (probably harmless): No library found for version.lib
'odbc32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\odbc32.lib'
'odbc32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\odbc32.lib'
'odbc32.lib' not found as 'C:\Perl\lib/CORE\odbc32.lib'
Note (probably harmless): No library found for odbc32.lib
'odbccp32.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\odbccp32.lib'
'odbccp32.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\odbccp32.lib'
'odbccp32.lib' not found as 'C:\Perl\lib/CORE\odbccp32.lib'
Note (probably harmless): No library found for odbccp32.lib
'msvcrt.lib' not found as 'C:/oracle/ora92/oci/LIB/MSVC\msvcrt.lib'
'msvcrt.lib' not found as 'C:/PROGRA~1/MICROS~3/VC98/lib\msvcrt.lib'
'msvcrt.lib' not found as 'C:\Perl\lib/CORE\msvcrt.lib'
Note (probably harmless): No library found for msvcrt.lib
Result: C:\oracle\ora92\oci\LIB\MSVC\OCI.lib
LD_RUN_PATH=C:/oracle/ora92/lib:C:/oracle/ora92/rdbms/lib
Using DBD::Oracle 1.16.
Using DBD::Oracle 1.16.
Using DBI 1.46 (for perl 5.008003 on MSWin32-x86-multi-thread) installed in C:/P
erl/site/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?)

-----------------------------------------------------------------------------------------------------------------------------
C:\dfw\DBD-Oracle-1.16>nmake

Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cp Oracle.pm blib\lib\DBD\Oracle.pm
cp oraperl.ph blib\lib/oraperl.ph
cp dbdimp.h blib\arch\auto\DBD\Oracle/dbdimp.h
cp ocitrace.h blib\arch\auto\DBD\Oracle/ocitrace.h
cp Oraperl.pm blib\lib/Oraperl.pm
cp Oracle.h blib\arch\auto\DBD\Oracle/Oracle.h
cp lib/DBD/Oracle/GetInfo.pm blib\lib\DBD\Oracle\GetInfo.pm
cp mk.pm blib\arch\auto\DBD\Oracle/mk.pm
        C:\Perl\bin\perl.exe -p -e "s/~DRIVER~/Oracle/g" C:/Perl/site/lib/auto/D
BI//Driver.xst > Oracle.xsi
        C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp  -typemap C:\Perl\lib\E
xtUtils\typemap -typemap typemap  Oracle.xs > Oracle.xsc && C:\Perl\bin\perl.exe
 -MExtUtils::Command -e mv Oracle.xsc Oracle.c
        cl -c  -IC:/oracle/ora92/oci/include -IC:/oracle/ora92/rdbms/demo -IC:/P
erl/site/lib/auto/DBI/  -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPL
ICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"
1.16\"  -DXS_VERSION=\"1.16\"  "-IC:\Perl\lib\CORE"  -DUTF8_SUPPORT -DNEW_OCI_IN
IT -DORA_OCI_VERSION=\"9.2.0.1\" Oracle.c
Watcom C/C++ CL Clone for 386  Version 11.0c
Copyright by Sybase, Inc., and its subsidiaries, 1995, 2002.
All rights reserved.  Watcom is a trademark of Sybase, Inc.
Warning: Replacing unsupported /Zi with /Z7
Warning: Using Dwarf debugging information
Warning: Replacing unsupported /Zi with /Z7
Warning: Using Dwarf debugging information
Fatal error: Nothing to do!
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff'
Stop.
-----------------------------------------------------------------------------------------------------------------------------
C:\dfw\DBD-Oracle-1.16>nmake test

Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

        cl -c  -IC:/oracle/ora92/oci/include -IC:/oracle/ora92/rdbms/demo -IC:/P
erl/site/lib/auto/DBI/  -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPL
ICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"
1.16\"  -DXS_VERSION=\"1.16\"  "-IC:\Perl\lib\CORE"  -DUTF8_SUPPORT -DNEW_OCI_IN
IT -DORA_OCI_VERSION=\"9.2.0.1\" Oracle.c
Watcom C/C++ CL Clone for 386  Version 11.0c
Copyright by Sybase, Inc., and its subsidiaries, 1995, 2002.
All rights reserved.  Watcom is a trademark of Sybase, Inc.
Warning: Replacing unsupported /Zi with /Z7
Warning: Using Dwarf debugging information
Warning: Replacing unsupported /Zi with /Z7
Warning: Using Dwarf debugging information
Fatal error: Nothing to do!
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff'
Stop.


Reply via email to