Clear questions and runnable code
get the best and fastest answer
can't install DBD::mysql under cygwin for mysql5by tphyahoo (Vicar)
|on Feb 08, 2007 at 15:04 UTC||Need Help??|
tphyahoo has asked for the
wisdom of the Perl Monks concerning the following question:
I'm having an issue similar in spirit, if not in every detail, to that described in
(I actually actually tried posting at cpanforum first, but the cpanforum submission feature appears to be broken)
Basically, I followed the instructions for the cygwin install in the documentation at
UPDATE: that was for an old version of DBD::mysql. Maybe that was the problem. The newer version is at
UPDATE: you can probably skip this next bit, as it refers to my attempt to follow the documentation in the out of date DBD::mysql.
Following this to the letter requires the source for mysql version 3.23.54a, which isn't even available any more from mysql.
(they're not even allowing source downloads for mysql4 anymore.)
I attempted the install under cygwin with the latest mysql (mysql5). Makefile.PL went okay.
make failed with
UPDATE: okay, start reading again.
The current documentation of DBD::mysql suggests installation via ppm for win32.
I normally work under activestate, but in this case I thought cygwin would be better, because I had a script that needed to be modified to run on windows, and a number of dependency modules didn't compile easily under Active State to my recollection. So now, it seems I have everything working nicely under cygwin, except DBD::mysql, which I really need.
So, first question: given DBD::mysql installed via ppm, is there a way I can access this from a perl script run under cygwin?
Second question, barring that, has nyone been able to get DBD::mysql to work under cygwin for a recent version, or can point me to a way to download the old source? Or other constructive feedback?
Thanks in advance!