develooper Front page | perl.dbi.users | Postings from September 2019

DBD::DB2 install failure

Scott Stark
September 18, 2019 22:03
DBD::DB2 install failure
Message ID:
Hello, I'm new to this list. I'm trying to install DBD::DB2 on a Win 10 
machine running Strawberry Perl v5.28.1, using the cpan tool. I'm getting 
some strange "did you mean...?" errors, e.g.

"C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils/xsubpp" 
 -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap  Constants.xs > 
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- 
Constants.xsc Constants.c
gcc -c -I"C:/PROGRA~1/IBM/SQLLIB/include" 
-I"C:\STRAWB~1\perl\site\lib/auto/DBI" -I"C:\STRAWB~1\perl\lib/auto/DBI" 
-I"C:\STRAWB~1\perl\site\lib/auto/DBI" -I"C:/PROGRA~1/IBM/SQLLIB/include" 
-DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 
-DVERSION=\"1.85\" -DXS_VERSION=\"1.85\"  "-IC:\STRAWB~1\perl\lib\CORE" 
-DDB2_CACHE_FIX    Constants.c
In file included from C:/PROGRA~1/IBM/SQLLIB/include/sqlcli.h:987:0,
                 from Constants.xs:16:
C:/PROGRA~1/IBM/SQLLIB/include/sqlext.h:1748:5: error: unknown type name 
'__in_ecount'; did you mean 'SAL__in_ecount'?
C:/PROGRA~1/IBM/SQLLIB/include/sqlext.h:1751:5: error: unknown type name 
'__out_ecount_opt'; did you mean 'SAL__out_ecount_opt'?
C:/PROGRA~1/IBM/SQLLIB/include/sqlext.h:1754:5: error: unknown type name 
'__out_opt'; did you mean '_Out_opt_'?
C:/PROGRA~1/IBM/SQLLIB/include/sqlext.h:1865:5: error: unknown type name 
'__in_ecount'; did you mean 'SAL__in_ecount'?

... and it fails to install. Am I trying to install something out of date? 
Thanks for any tips.

Scott Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About