Tim Bunce wrote:
>here's another release candidate:
>
> http://homepage.eircom.net/~timbunce/DBD-Oracle-1.15-rc2-20040112.tar.gz

Some results I'm sure about:

(Still trying to work out what happened on the Solaris build; best guess so
far is I had a Makefile.old that I'd modified to use $ORACLE_HOME/lib32 from
the previous release candidate. Makefile.PL runs the Makefile.old in
$opts{PREOPT} and so influenced the build process).

--------

Linux, Oracle 9.2.0.4 client & server, Perl 5.8.2, DBI 1.40:
NLS_LANG=ENGLISH_UNITED KINGDOM.WE8ISO8859P15

Build: OK

Tests:

t/base.......ok
t/cursor.....ok
t/general....ok
t/long.......ok
t/meta.......ok
t/ph_type....NOK 12 expected 'trailing' but got 'trailing ' for VARCHAR2
t/ph_type....FAILED test 12
        Failed 1/19 tests, 94.74% okay
t/plsql......ok
t/reauth.....skipped
        all skipped: no reason given
t/select.....ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/ph_type.t               19    1   5.26%  12
1 test skipped.

--------

Windows, Oracle 9.2.0.4 client, 9.2.0.4 Linux server, ActiveState Perl
5.8.2, DBI 1.40:
NLS_LANG=ENGLISH_UNITED KINGDOM.WE8MSWIN1252
(in registry, not environment variable)

Build: OK

Tests:

t\base.......ok
t\cursor.....ok
t\general....ok
t\long.......ok
t\meta.......ok
t\ph_type....ok 11/19 expected 'trailing' but got 'trailing ' for VARCHAR2
t\ph_type....FAILED test 12
        Failed 1/19 tests, 94.74% okay
t\plsql......ok
t\reauth.....skipped
        all skipped: no reason given
t\select.....ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t\ph_type.t               19    1   5.26%  12
1 test skipped.
Failed 1/9 test scripts, 88.89% okay. 1/1535 subtests failed, 99.93% okay.

--------

Cygwin, Oracle 9.2.0.4 client, Perl 5.8.2, DBI 1.40:
(Although I don't use this much, I use the ActiveState Perl if on Windows,
and this is the first time I've tried building DBD::Oracle on it)

Build: Failed

[EMAIL PROTECTED] /cygdrive/d/Temp/DBD-Oracle-1.15
$ make
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
/usr/bin/perl.exe -p -e "s/~DRIVER~/Oracle/g"
/usr/lib/perl5/site_perl/5.8.2/cyg
win-thread-multi-64int/auto/DBI/Driver.xst > Oracle.xsi
/usr/bin/perl.exe /usr/lib/perl5/5.8.2/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/              5.8.2/ExtUtils/typemap -typemap typemap
Oracle.xs > Oracle.xsc && mv Oracle.xsc               Oracle.c
gcc -c  -Id:/Oracle/Ora92/oci/include -Id:/Oracle/Ora92/rdbms/demo -I/usr/li
b/pe













rl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/DBI -DPERL_USE_SAFE_PUTEN
V -f













no-strict-aliasing -DUSEIMPORTLIB -O2   -DVERSION=\"1.15\" -DXS_VERSION=\"1.
15\"





    "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE"  -DUTF8_SUPPORT
Oracle              .c
gcc -c  -Id:/Oracle/Ora92/oci/include -Id:/Oracle/Ora92/rdbms/demo -I/usr/li
b/pe













rl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/DBI -DPERL_USE_SAFE_PUTEN
V -f













no-strict-aliasing -DUSEIMPORTLIB -O2   -DVERSION=\"1.15\" -DXS_VERSION=\"1.
15\"





    "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE"  -DUTF8_SUPPORT
dbdimp              .c
dbdimp.c: In function `ora_db_login6':
dbdimp.c:307: warning: cast to pointer from integer of different size
dbdimp.c:317: warning: cast to pointer from integer of different size
dbdimp.c:321: warning: cast to pointer from integer of different size
dbdimp.c:325: warning: cast to pointer from integer of different size
dbdimp.c: In function `dbd_rebind_ph_char':
dbdimp.c:1145: warning: cast from pointer to integer of different size
gcc -c  -Id:/Oracle/Ora92/oci/include -Id:/Oracle/Ora92/rdbms/demo -I/usr/li
b/pe













rl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/DBI -DPERL_USE_SAFE_PUTEN
V -f













no-strict-aliasing -DUSEIMPORTLIB -O2   -DVERSION=\"1.15\" -DXS_VERSION=\"1.
15\"





    "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE"  -DUTF8_SUPPORT
oci7.c
gcc -c  -Id:/Oracle/Ora92/oci/include -Id:/Oracle/Ora92/rdbms/demo -I/usr/li
b/pe













rl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/DBI -DPERL_USE_SAFE_PUTEN
V -f













no-strict-aliasing -DUSEIMPORTLIB -O2   -DVERSION=\"1.15\" -DXS_VERSION=\"1.
15\"





    "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE"  -DUTF8_SUPPORT
oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.dll
LD_RUN_PATH="d:/Oracle/Ora92/lib:d:/Oracle/Ora92/rdbms/lib"
ld2  -s -L/usr/local              /lib Oracle.o dbdimp.o oci7.o oci8.o  -o
blib/arch/auto/DBD/Oracle/Oracle.dll  /
usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a -L/cygdrive
/d/T              emp/DBD-Oracle-1.15 -loci
gcc -shared -o
 Oracle.dll -Wl,--out-implib=libOracle.dll.a -Wl,--export-all-sym
bols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o
/usr/lib/perl5/5.8.2/cygwin              -thread-multi-64int/CORE/libperl.dl
l.a -L/cygdrive/d/Temp/DBD-Oracle-1.15 -loci
Creating library file: libOracle.dll.a
Oracle.o(.text+0x7961):Oracle.c: undefined reference to `_OCILobWriteAppend'
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 \
-s -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o
/usr/lib/perl5/5.8.2/cygwin              -thread-multi-64int/CORE/libperl.dl
l.a -L/cygdrive/d/Temp/DBD-Oracle-1.15 -loci

make: *** [blib/arch/auto/DBD/Oracle/Oracle.dll] Error 1


-- 
Andy Hassall <[EMAIL PROTECTED]> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>

Reply via email to