Thread DBD::Oracle.pm: ActState Perl 5.8.816+Oracle (15 answers)
Opened by galaxy at 2006-04-07 19:11

galaxy
 2006-04-10 21:44
#47796 #47796
User since
2006-04-03
30 Artikel
BenutzerIn
[default_avatar]
Hallo,

ich will ja mal verstehen wie so eine Moduleinbindung grundsÄtzlich funktioniert. Jedoch kommt eine Fehlermeldung nach der anderen.
Habe mir jetzt vc++ heruntergeladen und alles aus diesem Command promt ausgeführt.

1)
--------------------------------------------------------
C:\EIGENE~1\DBD-OR~1.17\DBD-OR~1.17>perl makefile.pl
Using DBI 1.34 installed in C:/Perl/site/lib/auto/DBI

Configuring DBD::Oracle for perl 5.008008 on MSWin32 (MSWin32-x86-multi-thread)

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

Using Oracle in C:/oracle/product/10.1.0/Db_2
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.008008
Compiler: cl -MD -Zi -DNDEBUG -O1 -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DP
ERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
Linker: not found
Sysliblist:

Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for ws2_32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
LD_RUN_PATH=C:/oracle/product/10.1.0/Db_2/lib:C:/oracle/product/10.1.0/Db_2/rdbm
s/lib
Using DBD::Oracle 1.17.
Using DBD::Oracle 1.17.
Using DBI 1.34 installed in C:/Perl/site/lib/auto/DBI
Writing Makefile for DBD::Oracle
---------------------------------------------------------

2) Anschliessend kam aber wieder eine Fehlermeldung mit der ich nicht anfangen kann. Dachte alle c-Dateien würden kompiliert. aber irgendwie funktioniert das doch nicht.

C:\EIGENE~1\DBD-OR~1.17\DBD-OR~1.17>nmake

Microsoft ® Program Maintenance Utility Version 1.50
Copyright © 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
cl -c -IC:/oracle/product/10.1.0/Db_2/OCI/include -IC:/oracle/product/1
0.1.0/Db_2/rdbms/demo -IC:/Perl/site/lib/auto/DBI -nologo -GF -W3 -MD -Zi -DNDE
BUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SI
TECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC
RT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.17\" -DXS_VERSION=\"1.17\" "-
IC:\Perl\lib\CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.2\"
DBDIMP.c
DBDIMP.c
c:\Perl\lib\CORE\win32.h(61) : fatal error C1083: Cannot open include file: 'win
dows.h': No such file or directory
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
---------------------------------------------------------------------------

Woran kann das denn liegen? Danke für Tipps

View full thread DBD::Oracle.pm: ActState Perl 5.8.816+Oracle