DBD::Oracle build failure...

DBD::Oracle build failure...

am 16.12.2005 18:29:38 von amonotod

------=____1134754178196_CVzJvLk5+-
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hey all...
I've previously built DBD::Oracle 1.15 and 1.16 against Oracle 9i and Perl 5.8.0 and 5.8.3; those builds went flawlessly, I seem to recall. But, my internal customer is running 8i on their server, and needs 1.16 compiled for that against 5.8.0. So, I've attempted to build it, and it fails. I'm fairly confident it's a compiler issue, not a code issue, but I'm hoping some one will have seen this before, so my build log is attached. I would appreciate it very much if y'all could review it and hopefully spot the issue...

AS Perl 5.8.0
DBI 1.45
MS VCC 6.0 SP5 w/SDK
WinXP SP2+

Thank you,
amonotod


--

`\|||/ amonotod@ | sun|perl|windows
(@@) charter.net | sysadmin|dba
ooO_(_)_Ooo____________________________________
_____|_____|_____|_____|_____|_____|_____|_____|

------=____1134754178196_CVzJvLk5+-
Content-Type: text/plain;
name="DBD_Ora_1.1.6_build.txt"
Content-Disposition: inline;
filename="DBD_Ora_1.1.6_build.txt"

C:\Perl\Installs\DBD-Oracle-1.16>perl -v

This is perl, v5.8.0 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2002, Larry Wall

Binary build 802 provided by ActiveState Corp. http://www.ActiveState.com
Built 00:54:02 Nov 8 2002


Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.


C:\Perl\Installs\DBD-Oracle-1.16>perl Makefile.pl -v
Using DBI 1.46 (for perl 5.008 on MSWin32-x86-multi-thread) installed in C:/Perl/site/lib/auto/DBI/

Configuring DBD::Oracle ...

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

Using Oracle in T:/Ora8i
Oracle version 8.1.7.0 (8.1)
Found oci directory
Using OCI directory 'oci'
Found oci/lib/MSVC/oci.lib library
Found oci/lib/MSVC/ociw32.lib library
Using oci/lib/MSVC/OCI.lib

Checking for functioning wait.ph


System: perl5.008
Compiler: cl -MD -DNDEBUG -O1 -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPER
L_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
Linker: not found
Sysliblist:


MakeMaker (v6.03)
Checking if your kit is complete...
Looks good
ABSTRACT_FROM => q[Oracle.pm]
AUTHOR => q[Tim Bunce (dbi-users@perl.org)]
DEFINE => q[ -DUTF8_SUPPORT -DORA_OCI_VERSION=\"8.1\"]
DIR => []
EXE_FILES => [q[ora_explain]]
INC => q[-IT:/Ora8i/oci/include -IT:/Ora8i/rdbms/demo -IC:/Perl/site/lib/auto/DBI/]
LIBS => [q[-LT:/Ora8i/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[Oracle.xsi dll.base dll.exp sqlnet.log libOracle.def ora_explain mk.pm] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest tardist], COMPRESS=>q[gzip -v9], PREOP=>q[$(MAKE) -f Makefile.old d
istdir], SUFFIX=>q[gz] }
Using PERL=C:\Perl\bin\perl.exe
Potential libraries are '-LT:/Ora8i/oci/LIB/MSVC OCI oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comd
lg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.l
ib odbc32.lib odbccp32.lib msvcrt.lib':
'OCI' found as 'T:/Ora8i/oci/LIB/MSVC\OCI.lib'
'oldnames.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\oldnames.lib'
'oldnames.lib' not found as 'T:/Perl580/lib/CORE\oldnames.lib'
'oldnames.lib' not found as 'T:\Perl580\lib/CORE\oldnames.lib'
'oldnames.lib' not found as 'C:\Program Files\Microsoft SDK\Lib\.\oldnames.lib'
'oldnames.lib' not found as 'C:\Program Files\Intel\MKL60\ia32\lib\oldnames.lib'
'oldnames.lib' not found as 'C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib\oldnames.lib'
'oldnames.lib' found as 'C:\Program Files\Microsoft Visual Studio\VC98\lib\oldnames.lib'
'kernel32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\kernel32.lib'
'kernel32.lib' not found as 'T:/Perl580/lib/CORE\kernel32.lib'
'kernel32.lib' not found as 'T:\Perl580\lib/CORE\kernel32.lib'
'kernel32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\kernel32.lib'
'user32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\user32.lib'
'user32.lib' not found as 'T:/Perl580/lib/CORE\user32.lib'
'user32.lib' not found as 'T:\Perl580\lib/CORE\user32.lib'
'user32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\user32.lib'
'gdi32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\gdi32.lib'
'gdi32.lib' not found as 'T:/Perl580/lib/CORE\gdi32.lib'
'gdi32.lib' not found as 'T:\Perl580\lib/CORE\gdi32.lib'
'gdi32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\gdi32.lib'
'winspool.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\winspool.lib'
'winspool.lib' not found as 'T:/Perl580/lib/CORE\winspool.lib'
'winspool.lib' not found as 'T:\Perl580\lib/CORE\winspool.lib'
'winspool.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\winspool.lib'
'comdlg32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\comdlg32.lib'
'comdlg32.lib' not found as 'T:/Perl580/lib/CORE\comdlg32.lib'
'comdlg32.lib' not found as 'T:\Perl580\lib/CORE\comdlg32.lib'
'comdlg32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\comdlg32.lib'
'advapi32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\advapi32.lib'
'advapi32.lib' not found as 'T:/Perl580/lib/CORE\advapi32.lib'
'advapi32.lib' not found as 'T:\Perl580\lib/CORE\advapi32.lib'
'advapi32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\advapi32.lib'
'shell32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\shell32.lib'
'shell32.lib' not found as 'T:/Perl580/lib/CORE\shell32.lib'
'shell32.lib' not found as 'T:\Perl580\lib/CORE\shell32.lib'
'shell32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\shell32.lib'
'ole32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\ole32.lib'
'ole32.lib' not found as 'T:/Perl580/lib/CORE\ole32.lib'
'ole32.lib' not found as 'T:\Perl580\lib/CORE\ole32.lib'
'ole32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\ole32.lib'
'oleaut32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\oleaut32.lib'
'oleaut32.lib' not found as 'T:/Perl580/lib/CORE\oleaut32.lib'
'oleaut32.lib' not found as 'T:\Perl580\lib/CORE\oleaut32.lib'
'oleaut32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\oleaut32.lib'
'netapi32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\netapi32.lib'
'netapi32.lib' not found as 'T:/Perl580/lib/CORE\netapi32.lib'
'netapi32.lib' not found as 'T:\Perl580\lib/CORE\netapi32.lib'
'netapi32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\netapi32.lib'
'uuid.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\uuid.lib'
'uuid.lib' not found as 'T:/Perl580/lib/CORE\uuid.lib'
'uuid.lib' not found as 'T:\Perl580\lib/CORE\uuid.lib'
'uuid.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\uuid.lib'
'wsock32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\wsock32.lib'
'wsock32.lib' not found as 'T:/Perl580/lib/CORE\wsock32.lib'
'wsock32.lib' not found as 'T:\Perl580\lib/CORE\wsock32.lib'
'wsock32.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\wsock32.lib'
'mpr.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\mpr.lib'
'mpr.lib' not found as 'T:/Perl580/lib/CORE\mpr.lib'
'mpr.lib' not found as 'T:\Perl580\lib/CORE\mpr.lib'
'mpr.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\mpr.lib'
'winmm.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\winmm.lib'
'winmm.lib' not found as 'T:/Perl580/lib/CORE\winmm.lib'
'winmm.lib' not found as 'T:\Perl580\lib/CORE\winmm.lib'
'winmm.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\winmm.lib'
'version.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\version.lib'
'version.lib' not found as 'T:/Perl580/lib/CORE\version.lib'
'version.lib' not found as 'T:\Perl580\lib/CORE\version.lib'
'version.lib' found as 'C:\Program Files\Microsoft SDK\Lib\.\version.lib'
'odbc32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\odbc32.lib'
'odbc32.lib' not found as 'T:/Perl580/lib/CORE\odbc32.lib'
'odbc32.lib' not found as 'T:\Perl580\lib/CORE\odbc32.lib'
'odbc32.lib' not found as 'C:\Program Files\Microsoft SDK\Lib\.\odbc32.lib'
'odbc32.lib' not found as 'C:\Program Files\Intel\MKL60\ia32\lib\odbc32.lib'
'odbc32.lib' not found as 'C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib\odbc32.lib'
'odbc32.lib' found as 'C:\Program Files\Microsoft Visual Studio\VC98\lib\odbc32.lib'
'odbccp32.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\odbccp32.lib'
'odbccp32.lib' not found as 'T:/Perl580/lib/CORE\odbccp32.lib'
'odbccp32.lib' not found as 'T:\Perl580\lib/CORE\odbccp32.lib'
'odbccp32.lib' not found as 'C:\Program Files\Microsoft SDK\Lib\.\odbccp32.lib'
'odbccp32.lib' not found as 'C:\Program Files\Intel\MKL60\ia32\lib\odbccp32.lib'
'odbccp32.lib' not found as 'C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib\odbccp32.lib'
'odbccp32.lib' found as 'C:\Program Files\Microsoft Visual Studio\VC98\lib\odbccp32.lib'
'msvcrt.lib' not found as 'T:/Ora8i/oci/LIB/MSVC\msvcrt.lib'
'msvcrt.lib' not found as 'T:/Perl580/lib/CORE\msvcrt.lib'
'msvcrt.lib' not found as 'T:\Perl580\lib/CORE\msvcrt.lib'
'msvcrt.lib' not found as 'C:\Program Files\Microsoft SDK\Lib\.\msvcrt.lib'
'msvcrt.lib' not found as 'C:\Program Files\Intel\MKL60\ia32\lib\msvcrt.lib'
'msvcrt.lib' not found as 'C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib\msvcrt.lib'
'msvcrt.lib' found as 'C:\Program Files\Microsoft Visual Studio\VC98\lib\msvcrt.lib'
Result: T:\Ora8i\oci\LIB\MSVC\OCI.lib "C:\Program Files\Microsoft Visual Studio\VC98\lib\oldnames.lib" "C:\Program Files
\Microsoft SDK\Lib\.\kernel32.lib" "C:\Program Files\Microsoft SDK\Lib\.\user32.lib" "C:\Program Files\Microsoft SDK\Lib
\.\gdi32.lib" "C:\Program Files\Microsoft SDK\Lib\.\winspool.lib" "C:\Program Files\Microsoft SDK\Lib\.\comdlg32.lib" "C
:\Program Files\Microsoft SDK\Lib\.\advapi32.lib" "C:\Program Files\Microsoft SDK\Lib\.\shell32.lib" "C:\Program Files\M
icrosoft SDK\Lib\.\ole32.lib" "C:\Program Files\Microsoft SDK\Lib\.\oleaut32.lib" "C:\Program Files\Microsoft SDK\Lib\.\
netapi32.lib" "C:\Program Files\Microsoft SDK\Lib\.\uuid.lib" "C:\Program Files\Microsoft SDK\Lib\.\wsock32.lib" "C:\Pro
gram Files\Microsoft SDK\Lib\.\mpr.lib" "C:\Program Files\Microsoft SDK\Lib\.\winmm.lib" "C:\Program Files\Microsoft SDK
\Lib\.\version.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\odbc32.lib" "C:\Program Files\Microsoft Visual St
udio\VC98\lib\odbccp32.lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib\msvcrt.lib"
LD_RUN_PATH=T:/Ora8i/lib:T:/Ora8i/rdbms/lib
Using DBD::Oracle 1.16.
Using DBD::Oracle 1.16.
Using DBI 1.46 (for perl 5.008 on MSWin32-x86-multi-thread) installed in C:/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 files.
(Of course, you have read README by now anyway, haven't you?)


C:\Perl\Installs\DBD-Oracle-1.16>nmake

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

cp Oracle.h blib\arch\auto\DBD\Oracle/Oracle.h
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 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/DBI//Driver.xst > Oracle.xsi
C:\Perl\bin\perl.exe T:\Perl580\lib\ExtUtils/xsubpp -typemap T:\Perl580\lib\ExtUtils\typemap -typemap typemap
Oracle.xs > Oracle.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv Oracle.xsc Oracle.c
cl -c -IT:/Ora8i/oci/include -IT:/Ora8i/rdbms/demo -IC:/Perl/site/lib/auto/DBI/ -nologo -Gf -W3 -MD -DNDEBUG -
O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC
RT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" "-IC:\Perl\lib\CORE" -DUTF8_SUPPORT -DORA_OCI
_VERSION=\"8.1\" Oracle.c
Oracle.c
Oracle.xs(43) : error C2115: 'function' : incompatible types
Oracle.xs(43) : warning C4024: 'atof' : different types for formal and actual parameter 1
Oracle.xs(44) : error C2115: 'function' : incompatible types
Oracle.xs(44) : warning C4024: 'Perl_sv_setpv' : different types for formal and actual parameter 3
Oracle.c(1520) : error C2115: 'function' : incompatible types
Oracle.c(1520) : warning C4024: 'strcmp' : different types for formal and actual parameter 1
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

C:\Perl\Installs\DBD-Oracle-1.16>
------=____1134754178196_CVzJvLk5+---

Re: DBD::Oracle build failure...

am 21.12.2005 19:25:29 von amonotod

Hey all,
So no ideas, from anyone? I'm not a programmer, I'm just a sysadmin/dba who likes Perl. I've got not a single idea about how to fix this, and all the googling I've done hasn't turned up any fixes, just more mentions of similar errors...

I'd really appreciate any ideas, pointers, and even a flame or two, so feel free to suggest just about anything....

Thanks,
amonotod

> From: amonotod
> Date: 2005/12/20 Tue AM 08:20:26 CST

>
> No responses, maybe because I sent on Friday afternoon, so I'm resending... ;-)
>
> Hey all...
> I've previously built DBD::Oracle 1.15 and 1.16 against Oracle 9i and
> Perl 5.8.0 and 5.8.3; those builds went flawlessly, I seem to recall.
> But, my internal customer is running 8i on their server, and needs 1.16
> compiled for that against 5.8.0. So, I've attempted to build it,
> and it fails. I'm fairly confident it's a compiler issue, not a code
> issue, but I'm hoping some one will have seen this before, so my build
> log is attached. I would appreciate it very much if y'all could review
> it and hopefully spot the issue...
>
> AS Perl 5.8.0
> DBI 1.45
> MS VCC 6.0 SP5 w/SDK
> WinXP SP2+
>
> Thank you,
> amonotod


--

`\|||/ amonotod@ | sun|perl|windows
(@@) charter.net | sysadmin|dba
ooO_(_)_Ooo____________________________________
_____|_____|_____|_____|_____|_____|_____|_____|

Re: DBD::Oracle build failure...

am 06.01.2006 00:09:40 von jkstill

Why not just download from
ftp://ftp.esoftmatic.com/outgoing/DBI/5.8.3 ?


On Fri, 2005-12-16 at 11:29 -0600, amonotod wrote:
> Hey all...
> I've previously built DBD::Oracle 1.15 and 1.16 against Oracle 9i and Perl 5.8.0 and 5.8.3; those builds went flawlessly, I seem to recall. But, my internal customer is running 8i on their server, and needs 1.16 compiled for that against 5.8.0. So, I've attempted to build it, and it fails. I'm fairly confident it's a compiler issue, not a code issue, but I'm hoping some one will have seen this before, so my build log is attached. I would appreciate it very much if y'all could review it and hopefully spot the issue...
>
> AS Perl 5.8.0
> DBI 1.45
> MS VCC 6.0 SP5 w/SDK
> WinXP SP2+
>
> Thank you,
> amonotod
>
>
> --