37,720
社区成员
发帖
与我相关
我的任务
分享
nolock_cpan> install DBD::Oracle
Use of uninitialized value in string eq at D:/Perl/site/lib/File/Spec/Win32.pm l
ine 152, <STDIN> line 1.
Going to read D:\Perl\cpan\sources\authors\01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v1.4201)
............................................................................DONE
Use of uninitialized value in string eq at D:/Perl/site/lib/File/Spec/Win32.pm l
ine 152.
Going to read D:\Perl\cpan\sources\modules\02packages.details.txt.gz
Database was generated on Sun, 13 Mar 2011 19:27:07 GMT
CPAN: HTTP::Date loaded ok (v1.47)
...............
New CPAN.pm version (v1.9600) available.
[Currently running version is v1.9102]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
CPAN: Time::HiRes loaded ok (v1.9707)
.............................................................DONE
Use of uninitialized value in string eq at D:/Perl/site/lib/File/Spec/Win32.pm l
ine 152.
Going to read D:\Perl\cpan\sources\modules\03modlist.data.gz
............................................................................DONE
Running install for module 'DBD::Oracle'
Running make for P/PY/PYTHIAN/DBD-Oracle-1.27.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.
CPAN: Archive::Tar loaded ok (v1.3201)
DBD-Oracle-1.27/
DBD-Oracle-1.27/README.java.txt
DBD-Oracle-1.27/t/
DBD-Oracle-1.27/t/55nested.t
DBD-Oracle-1.27/t/23wide_db.t
DBD-Oracle-1.27/t/10general.t
。。。。省略
CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build P/PY/PYTHIAN/DBD-Oracle-1.27.tar.gz
Multiple copies of Driver.xst found in: D:/Perl/site/lib/auto/DBI/ D:/Perl/lib/a
uto/DBI/ at Makefile.PL line 37
Using DBI 1.609 (for perl 5.008008 on MSWin32-x86-multi-thread) installed in D:/
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
.
Installing on a MSWin32, Ver#5.00
Using Oracle in d:/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
client_version=9.2
DEFINE= -DUTF8_SUPPORT -DORA_OCI_VERSION=\"9.2.0.1\"
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
RIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPE
RL_MSVCRT_READFIX
Linker: not found
Sysliblist:
WARNING: META_MERGE is not a known parameter.
Checking if your kit is complete...
Looks good
'META_MERGE' is not a known MakeMaker parameter name.
LD_RUN_PATH=d:/oracle/ora92/lib:d:/oracle/ora92/rdbms/lib
Using DBD::Oracle 1.27.
Using DBD::Oracle 1.27.
Multiple copies of Driver.xst found in: D:/Perl/site/lib/auto/DBI/ D:/Perl/lib/a
uto/DBI/ at Makefile.PL line 1720
Using DBI 1.609 (for perl 5.008008 on MSWin32-x86-multi-thread) installed in D:/
Perl/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.txt files.
(Of course, you have read README by now anyway, haven't you?)
CPAN: YAML loaded ok (v0.72)
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. 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/Object.pm blib\lib\DBD\Oracle\Object.pm
cp mk.pm blib\arch\auto\DBD\Oracle/mk.pm
cp lib/DBD/Oracle/GetInfo.pm blib\lib\DBD\Oracle\GetInfo.pm
D:\Perl\bin\perl.exe -p -e "s/~DRIVER~/Oracle/g" D:\Perl\site\lib\auto\D
BI\Driver.xst > Oracle.xsi
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils\xsubpp -typemap D:\Perl\lib\E
xtUtils\typemap -typemap typemap Oracle.xs > Oracle.xsc && D:\Perl\bin\perl.exe
-MExtUtils::Command -e mv Oracle.xsc Oracle.c
cl -c -Id:/oracle/ora92/oci/include -Id:/oracle/ora92/rdbms/demo -ID:\P
erl\site\lib\auto\DBI -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -
DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_I
N_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_REA
DFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.27\" -DXS_VERSION=\"1.27\" "-ID:\Pe
rl\lib\CORE" -DUTF8_SUPPORT -DORA_OCI_VERSION=\"9.2.0.1\" Oracle.c
Oracle.c
cl -c -Id:/oracle/ora92/oci/include -Id:/oracle/ora92/rdbms/demo -ID:\P
erl\site\lib\auto\DBI -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -
DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_I
N_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_REA
DFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.27\" -DXS_VERSION=\"1.27\" "-ID:\Pe
rl\lib\CORE" -DUTF8_SUPPORT -DORA_OCI_VERSION=\"9.2.0.1\" dbdimp.c
dbdimp.c
cl -c -Id:/oracle/ora92/oci/include -Id:/oracle/ora92/rdbms/demo -ID:\P
erl\site\lib\auto\DBI -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -
DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_I
N_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_REA
DFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.27\" -DXS_VERSION=\"1.27\" "-ID:\Pe
rl\lib\CORE" -DUTF8_SUPPORT -DORA_OCI_VERSION=\"9.2.0.1\" oci8.c
oci8.c
oci8.c(689) : error C2065: 'OCI_ATTR_RESERVED_15' : undeclared identifier
oci8.c(689) : error C2051: case expression not constant
oci8.c(690) : error C2065: 'OCI_ATTR_RESERVED_16' : undeclared identifier
oci8.c(690) : error C2051: case expression not constant
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
PYTHIAN/DBD-Oracle-1.27.tar.gz
nmake -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
PYTHIAN/DBD-Oracle-1.27.tar.gz : make NO
nolock_cpan>
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
my $dbh = DBI-> connect( "dbi:Oracle:ora92",'wk','wk');
#ora92 本地ORACLE的SID