Hello esteemed Monks, I'm installing the DBD::DB2 module on Windows 10 with Strawberry Perl v5.28.1 using cpan's install DBD::DB2 and getting a lot of strange "did you mean..." errors, e.g.:
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 na
+me '__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 na
+me '__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 na
+me '__out_opt'; did you mean '_Out_opt_'?
__out_opt
^~~~~~~~~
Any clue what's going on here? Thanks as always for your advice and patience.
p.s. don't know if this is any kind of clue, but when I start the cpan shell I get this:
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call
+ didn't work. The COLUMNS and LINES environment variables didn't work
+. at C:\Strawberry\perl\vendor\lib/Term/ReadLine/readline.pm line 410
+.
cpan shell -- CPAN exploration and modules installation (v2.20)
Enter 'h' for help.
cpan>
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|