Dne 4.5.2010 18:42, Patrick Galbraith napsal(a): > kmx wrote: >> Dne 4.5.2010 16:10, Patrick Galbraith napsal(a): >> >>> kmx wrote: >>> >>>> Hi, >>>> >>>> could you please add the following 2 items to the list of Projects >>>> successfully using MinGW-w64 >>>> >>>> 1/ "perl (5.12.0 and later)" with link to http://www.perl.org/ >>>> >>> Hi there! So, is it pretty easy to build Perl 5.12.0. now with >>> mingw-w64 ? This is great news! >>> >>> I would like to be able to test DBD::mysql and memcached with Perl. >>> >> >> Prebuilt DBD::mysql module is included in strawberry perl (both >> 32/64bit) but we have not build it from scratch with mingw-w64. We have >> used the libmysql.dll from the original MySQL distribution > then used >> gendef > then dlltool > then link DBD::mysql with libmysql.a generated >> in previous step. >> >> As for memcached AFAIK it is not so easy to build it with mingw-w64 (I >> have tried it couple of months ago) - however I would be happy to hear >> that I am wrong :) >> >> > I'm the maintainer of DBD::mysql and I'd like to start testing it on > Windows, and this sounds like a good route.
Nice :) To start testing DBD::mysql on MS Windows simply download & install strawberry perl 5.12.x (you can choose 32/64 bit) - it delivers 1/ mingw-w64 gcc toolchain = gcc 4.4.3 + mingw-w64 runtime (based on sezero's 20100123 pack) 2/ all necessary MySQL 5.1.44 dev files (= *.dll + *.h + *.a + mysql_config.bat) Building DBD::mysql works in usual "perl-way": 1/ perl Makefile.PL --mysql_config=mysql_config 2/ dmake test 3/ dmake install Note: the part "--mysql_config=mysql_config" is sort of a workaround as Makefile.PL does not have a proper strawberry perl detection routine (yet) > Do you mind if I use you as a resource for asking windows-y type > questions? Thanks! Sure. -- kmx ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public