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 >
Constants.xsc
"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\vendor\lib/auto/DBI"
-I"C:\STRAWB~1\perl\site\lib/auto/DBI" -I"C:/PROGRA~1/IBM/SQLLIB/include"
-s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-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'?
__in_ecount(cchConnStrIn)
^~~~~~~~~~~
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'?
__out_ecount_opt(cchConnStrOutMax)
^~~~~~~~~~~~~~~~
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_'?
__out_opt
^~~~~~~~~
_Out_opt_
C:/PROGRA~1/IBM/SQLLIB/include/sqlext.h:1865:5: error: unknown type name
'__in_ecount'; did you mean 'SAL__in_ecount'?
__in_ecount(cchConnStrIn)
^~~~~~~~~~~
... and it fails to install. Am I trying to install something out of date?
Thanks for any tips.
Scott