On Tue, 23 Nov 2004, Tim Bunce wrote: > On Tue, Nov 23, 2004 at 12:11:28PM -0500, Rudy Lippan wrote: > > On Sun, 21 Nov 2004, Bruce Martin wrote: > > > > > Hi all, > > > I am new to the list so forgive me if this was just discussed. I am > > > trying to set up PERL under apache to use a mysql database. When I try > > > to install the dbd from cpan I get this message: > > > > > > Can't exec "mysql_config": No such file or directory at Makefile.PL > > > line 174. > > > > This means that your mysql_config is not in your PATH, so Makefile.PL is > > unable > > to find it. Makefile.PL needs mysql_config so that it knows where to find > > libraries and what compile-time options were used when building the mysql > > client > > libraries. > > Couldn't Makefile.PL detect this situation and give a clear message?
I was offline for the holidays. But yes, Makefile.PL can, and it is set to work that way in CVS. In fact, the CVS version will refuse to run unless it can find mysql_config -- although I still want it to prompt the user for the path so CPAN installs don't break. Rudy.