Subject: | DBD::1.20 won't install on cygwin |
Installing 1.19 has worked on cygwin, but when i try to install
DBD::Oracle 1.20, i get the following error:
-----------------------------------------------------------------------
CPAN.pm: Going to build P/PY/PYTHIAN/DBD-Oracle-1.20.tar.gz
Using DBI 1.601 (for perl 5.008008 on cygwin-thread-multi-64int)
installed in /u
sr/lib/perl5/site_perl/5.8/cygwin/auto/DBI/
Configuring DBD::Oracle for perl 5.008008 on cygwin
(cygwin-thread-multi-64int)
Remember to actually *READ* the README file! Especially if you have any
problems
.
Using Oracle in C:/oracle/product/10.2.0/client
DEFINE _SQLPLUS_RELEASE = "1002000100" (CHAR)
Oracle version 10.2.0.1 (10.2)
Found oci directory
Using OCI directory 'oci'
Checking for functioning wait.ph
System: perl5.008008 cygwin_nt-5.1 reini 1.5.24(0.15642) 2007-01-31
10:57 i686 c
ygwin
Compiler: gcc -O3 -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-Wdeclarat
ion-after-statement
Linker: /usr/bin/ld
Sysliblist:
Checking if your kit is complete...
Looks good
LD_RUN_PATH=C:/oracle/product/10.2.0/client/lib:C:/oracle/product/10.2.0/client/
rdbms/lib
Using DBD::Oracle 1.20.
Using DBD::Oracle 1.20.
Using DBI 1.601 (for perl 5.008008 on cygwin-thread-multi-64int)
installed in /u
sr/lib/perl5/site_perl/5.8/cygwin/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?)
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp mkta.pl blib/lib/DBD/mkta.pl
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 mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
/usr/bin/perl.exe -p -e "s/~DRIVER~/Oracle/g"
/usr/lib/perl5/site_perl/5.8/cygwi
n/auto/DBI/Driver.xst > Oracle.xsi
/usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.
8/ExtUtils/typemap -typemap typemap Oracle.xs > Oracle.xsc && mv
Oracle.xsc Ora
cle.c
gcc -c -IC:/oracle/product/10.2.0/client/oci/include
-IC:/oracle/product/10.2.0
/client/rdbms/demo -I/usr/lib/perl5/site_perl/5.8/cygwin/auto/DBI
-DPERL_USE_SAF
E_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-DUSEIMPORTLIB
-O3 -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\"
"-I/usr/lib/perl5/5.8/cygwin/CO
RE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT
-DORA_OCI_VERSION=\"10.2.0
.1\" Oracle.c
gcc -c -IC:/oracle/product/10.2.0/client/oci/include
-IC:/oracle/product/10.2.0
/client/rdbms/demo -I/usr/lib/perl5/site_perl/5.8/cygwin/auto/DBI
-DPERL_USE_SAF
E_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-DUSEIMPORTLIB
-O3 -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\"
"-I/usr/lib/perl5/5.8/cygwin/CO
RE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT
-DORA_OCI_VERSION=\"10.2.0
.1\" dbdimp.c
dbdimp.c: In function `ora_db_login6':
dbdimp.c:398: warning: cast to pointer from integer of different size
dbdimp.c:412: warning: cast to pointer from integer of different size
dbdimp.c:422: warning: cast to pointer from integer of different size
dbdimp.c:426: warning: cast to pointer from integer of different size
dbdimp.c: In function `dbd_rebind_ph_char':
dbdimp.c:2091: warning: cast from pointer to integer of different size
gcc -c -IC:/oracle/product/10.2.0/client/oci/include
-IC:/oracle/product/10.2.0
/client/rdbms/demo -I/usr/lib/perl5/site_perl/5.8/cygwin/auto/DBI
-DPERL_USE_SAF
E_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-DUSEIMPORTLIB
-O3 -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\"
"-I/usr/lib/perl5/5.8/cygwin/CO
RE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT
-DORA_OCI_VERSION=\"10.2.0
.1\" oci8.c
oci8.c: In function `get_attr_val':
oci8.c:1359: warning: long int format, int arg (arg 3)
oci8.c:1359: warning: long int format, int arg (arg 3)
oci8.c:1361: warning: long int format, int arg (arg 3)
oci8.c:1361: warning: long int format, int arg (arg 3)
oci8.c:1364: warning: long int format, int arg (arg 3)
oci8.c:1364: warning: long int format, int arg (arg 3)
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.dll
LD_RUN_PATH="C:/oracle/product/10.2.0/client/lib:C:/oracle/product/10.2.0/client
/rdbms/lib" ld2 -s -L/usr/local/lib Oracle.o dbdimp.o oci8.o -o
blib/arch/auto
/DBD/Oracle/Oracle.dll \
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a
-L/home/Administrator/.cp
an/build/DBD-Oracle-1.20-vWbORz -loci \
gcc -shared -o Oracle.dll -Wl,--out-implib=libOracle.dll.a
-Wl,--export-all-sym
bols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-base \
-s -L/usr/local/lib Oracle.o dbdimp.o oci8.o
/usr/lib/perl5/5.8/cygwin/CORE/lib
perl.dll.a -L/home/Administrator/.cpan/build/DBD-Oracle-1.20-vWbORz -loci
dbdimp.o:dbdimp.c:(.text+0xc7d1): undefined reference to `_OCIStmtFetch2'
oci8.o:oci8.c:(.text+0x59eb): undefined reference to `_OCIDateTimeToText'
oci8.o:oci8.c:(.text+0x5b42): undefined reference to `_OCIIntervalToText'
oci8.o:oci8.c:(.text+0x5f5b): undefined reference to
`_OCIDateTimeGetTimeZoneOff
set'
oci8.o:oci8.c:(.text+0xf6b5): undefined reference to `_OCIStmtFetch2'
Creating library file: libOracle.dll.a
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o Oracle.dll -Wl,--out-implib=libOracle.dll.a
-Wl,--export-all-sym
bols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-base \
-s -L/usr/local/lib Oracle.o dbdimp.o oci8.o
/usr/lib/perl5/5.8/cygwin/CORE/lib
perl.dll.a -L/home/Administrator/.cpan/build/DBD-Oracle-1.20-vWbORz -loci
make: *** [blib/arch/auto/DBD/Oracle/Oracle.dll] Error 2
PYTHIAN/DBD-Oracle-1.20.tar.gz
/usr/bin/make -- 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.20.tar.gz : make NO