Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 95752
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: PLICEASE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Makefile.PL should not require rw access to mysql directories on MSWin32
It seems to me that you should be able to install DBD::mysql without having read/write access to the Mysql directories. Makefile.PL actually writes over an existing mysql_config.pl that has the correct values (but uses VC++ style flags) with one that has incorrect values (but uses gcc style flags). This can be a problem if the MySQL development files are being used by other tools. I was able to work around that with this patch: https://github.com/perl5-dbi/DBD-mysql/pull/24 Makefile.PL also tries to copy the .lib files that it needs to .a files. For me this silently fails because it thinks the lib files are in $MYSQL/lib/opt, but they are really in $MYSQL/lib for me.