On Mon, 09 May 2011 14:24 -0400, "Patrick Galbraith" <patg@stripped>
wrote:
> Dear Perl and MySQL enthusiasts,
>
> I’m pleased to announce the release of DBD::mysql 4.019. I’m
> especially pleased because there are some new enhancements and
> features that have been provided by contributions from the community:
And I'm sorry to say that it DOES NOT COMPILE on Strawberry Perl 5.10.x
32-bit or 5.12.x 64-bit:
Putting it in the compilation chain:
http://hg.curtisjewell.name/Perl-Dist-Strawberry/rev/5659321f22fa
Taking it back out:
http://hg.curtisjewell.name/Perl-Dist-Strawberry/rev/6eabb352a96d
Why? (64-bit output, 32-bit is similar)
STDOUT:
cp lib/DBD/mysql.pm blib\lib\DBD\mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib\lib\DBD\mysql\GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib\lib\DBD\mysql\INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib\lib\Bundle\DBD\mysql.pm
gcc -c -IC:\strawberry\perl\vendor\lib\auto\DBI
-IC:\strawberry\c\bin\..\include\mysql_5 -DDBD_MYSQL_INSERT_ID_IS_GOOD
-g -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2
-DVERSION=\"4.019\" -DXS_VERSION=\"4.019\"
"-IC:\strawberry\perl\lib\CORE" dbdimp.c
STDERR:
dbdimp.c:28:20: error: poll.h: No such file or directory
dbdimp.c: In function 'mysql_db_disconnect':
dbdimp.c:2166: warning: cast from pointer to integer of different size
dbdimp.c: In function 'mysql_st_internal_execute':
dbdimp.c:3108: warning: '_errno' redeclared without dllimport attribute:
previous dllimport ignored
dbdimp.c: In function 'mysql_st_execute':
dbdimp.c:3420: warning: cast from pointer to integer of different size
dbdimp.c: In function 'mysql_st_fetch':
dbdimp.c:3717: warning: cast from pointer to integer of different size
dbdimp.c:3862: warning: cast from pointer to integer of different size
dbdimp.c:3870: warning: cast from pointer to integer of different size
dbdimp.c: In function 'mysql_st_STORE_attrib':
dbdimp.c:4180: warning: cast from pointer to integer of different size
dbdimp.c:4190: warning: cast from pointer to integer of different size
dbdimp.c: In function 'mysql_st_FETCH_attrib':
dbdimp.c:4387: warning: cast from pointer to integer of different size
dbdimp.c: In function 'mysql_db_async_ready':
dbdimp.c:5097: error: storage size of 'fds' isn't known
dbdimp.c:5101: error: 'POLLIN' undeclared (first use in this function)
dbdimp.c:5101: error: (Each undeclared identifier is reported only once
dbdimp.c:5101: error: for each function it appears in.)
dmake.exe: Error code 129, while making 'dbdimp.o'
Apparently I don't have the C compiler headers required for the
asynchronous stuff. And I know other compilers may very well be in the
same boat. Anything magic I should do to deactivate it for
5.12.3.1/5.12.4.0 and 5.14.0.0? Or do I wait for 4.020 for the magic to
be provided? (I'm not taking that level of change this late in the game,
sorry. 4.018 it is for the 5.10.1.5 and 5.12.3.0 versions that I'm
building tonight.)
--Curtis
--
Curtis Jewell
csjewell@stripped http://csjewell.dreamwidth.org/
perl@stripped http://csjewell.comyr.org/perl/
"Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c
Strawberry Perl for Windows betas: http://strawberryperl.com/beta/