Skip Menu |
 

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

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

People
Owner: CAPTTOFU [...] cpan.org
Requestors: ulrich.windl [...] rz.uni-regensburg.de
Cc:
AdminCc:

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



Subject: DBD-mysql-4.010: Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.
Date: Thu, 22 Jan 2009 11:09:20 +0100
To: bug-DBD-mysql [...] rt.cpan.org
From: "Ulrich Windl" <ulrich.windl [...] rz.uni-regensburg.de>
Download (untitled) / with headers
text/plain 589b
Hi! For DBD-mysql-4.010 "perl Makefile.PL" reports: Can't exec "mysql_config": No such file or directory at Makefile.PL line 76. Cannot find the file 'mysql_config'! Your execution PATH doesn't seem not contain the path to mysql_config. Resorting to guessed values! Can't exec "mysql_config": No such file or directory at Makefile.PL line 454. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located [...] MySQl 5.0.26 (SLES10 SP2) does not contain a "mysql_config" command. (This is perl, v5.8.8 built for i586-linux-thread-multi) Regards, Ulrich
Download (untitled) / with headers
text/plain 1.1k
On Thu Jan 22 05:09:55 2009, ulrich.windl@rz.uni-regensburg.de wrote: Show quoted text
> Hi! > > For DBD-mysql-4.010 "perl Makefile.PL" reports: > Can't exec "mysql_config": No such file or directory at Makefile.PL > line 76. > > Cannot find the file 'mysql_config'! Your execution PATH doesn't seem > not contain the path to mysql_config. Resorting to guessed values! > Can't exec "mysql_config": No such file or directory at Makefile.PL > line 454. > Can't find mysql_config. Use --mysql_config option to specify where > mysql_config > is located > [...] > > MySQl 5.0.26 (SLES10 SP2) does not contain a "mysql_config" command. > (This is perl, v5.8.8 built for i586-linux-thread-multi) > Regards, > Ulrich >
Wow, that's a really old MySQL 5.0 ;) I would upgrade using source MySQL 5.0 if you can- which would solve the issue this report is made because of. There are many bugs fixed since 5.0.26 that would make it worth your while. If you don't want to go that route, you probably have to install a dev package to get mysql_config. I used to have a 10.2 Suse box to test on, so I have no way to verify. Use YAST to find if there's a dev package, install that and see if it gives you mysql_config.
Download (untitled) / with headers
text/plain 287b
Note: this is not a bug with the driver. It's just a situation that I can't package the client with the driver, so I have to depend on a standard script from MySQL to provide compile flags. I'm going to see if I can get it work work without mysql_config, which is a bit of guessing game.
Subject: Re: [rt.cpan.org #42661] DBD-mysql-4.010: Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.
Date: Mon, 26 Jan 2009 08:25:56 +0100
To: bug-DBD-mysql [...] rt.cpan.org
From: "Ulrich Windl" <ulrich.windl [...] rz.uni-regensburg.de>
Download (untitled) / with headers
text/plain 1.8k
On 23 Jan 2009 at 7:03, Patrick Galbraith via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=42661 > > > On Thu Jan 22 05:09:55 2009, ulrich.windl@rz.uni-regensburg.de wrote:
> > Hi! > > > > For DBD-mysql-4.010 "perl Makefile.PL" reports: > > Can't exec "mysql_config": No such file or directory at Makefile.PL > > line 76. > > > > Cannot find the file 'mysql_config'! Your execution PATH doesn't seem > > not contain the path to mysql_config. Resorting to guessed values! > > Can't exec "mysql_config": No such file or directory at Makefile.PL > > line 454. > > Can't find mysql_config. Use --mysql_config option to specify where > > mysql_config > > is located > > [...] > > > > MySQl 5.0.26 (SLES10 SP2) does not contain a "mysql_config" command. > > (This is perl, v5.8.8 built for i586-linux-thread-multi) > > Regards, > > Ulrich > >
> > > Wow, that's a really old MySQL 5.0 ;) I would upgrade using source MySQL > 5.0 if you can- which would solve the issue this report is made because > of. There are many bugs fixed since 5.0.26 that would make it worth your > while.
Hi! First the package mysql-5.0.26-12.22 is "Build Date: Fri Sep 19 16:47:14 20" (latest version for SUSE Enterprise), and the last problems fixed were: * Wed Sep 17 2008 - really fixed the privilege bypass with DATA/INDEX DIRECTORY (bnc#425079, mysql#32167, CVE-2008-4097) - fixed a crash with empty bit-string literal (bnc#424795, mysql#35658, CVE-2008-3963) Show quoted text
> > If you don't want to go that route, you probably have to install a dev > package to get mysql_config. I used to have a 10.2 Suse box to test on, > so I have no way to verify. Use YAST to find if there's a dev package, > install that and see if it gives you mysql_config.
OK, there exists a mysql_devel, so I may install it. Let me note however that the version of DBD-mysql installed 2006 worked without. Thanks, Ulrich
Download (untitled) / with headers
text/plain 2.5k
On Mon Jan 26 02:27:36 2009, ulrich.windl@rz.uni-regensburg.de wrote: Show quoted text
> On 23 Jan 2009 at 7:03, Patrick Galbraith via RT wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=42661 > > > > > On Thu Jan 22 05:09:55 2009, ulrich.windl@rz.uni-regensburg.de
> wrote:
> > > Hi! > > > > > > For DBD-mysql-4.010 "perl Makefile.PL" reports: > > > Can't exec "mysql_config": No such file or directory at
> Makefile.PL
> > > line 76. > > > > > > Cannot find the file 'mysql_config'! Your execution PATH doesn't
> seem
> > > not contain the path to mysql_config. Resorting to guessed values! > > > Can't exec "mysql_config": No such file or directory at
> Makefile.PL
> > > line 454. > > > Can't find mysql_config. Use --mysql_config option to specify
> where
> > > mysql_config > > > is located > > > [...] > > > > > > MySQl 5.0.26 (SLES10 SP2) does not contain a "mysql_config"
> command.
> > > (This is perl, v5.8.8 built for i586-linux-thread-multi) > > > Regards, > > > Ulrich > > >
> > > > > > Wow, that's a really old MySQL 5.0 ;) I would upgrade using source
> MySQL
> > 5.0 if you can- which would solve the issue this report is made
> because
> > of. There are many bugs fixed since 5.0.26 that would make it worth
> your
> > while.
> > Hi! > > First the package mysql-5.0.26-12.22 is "Build Date: Fri Sep 19 > 16:47:14 20" > (latest version for SUSE Enterprise), and the last problems fixed > were: > * Wed Sep 17 2008 > - really fixed the privilege bypass with DATA/INDEX DIRECTORY > (bnc#425079, mysql#32167, CVE-2008-4097) > - fixed a crash with empty bit-string literal > (bnc#424795, mysql#35658, CVE-2008-3963) >
> > > > If you don't want to go that route, you probably have to install a
> dev
> > package to get mysql_config. I used to have a 10.2 Suse box to test
> on,
> > so I have no way to verify. Use YAST to find if there's a dev
> package,
> > install that and see if it gives you mysql_config.
> > OK, there exists a mysql_devel, so I may install it. Let me note > however that the > version of DBD-mysql installed 2006 worked without. > > Thanks, > Ulrich >
Ulrich, vielen danken. I think I just need to change the configuration to do guessing. As far as the age of the version, I was thinking in terms of MySQL's ChangeLog, but it looks like Suse does some maintaining of their tree for 5.0.26. http://dev.mysql.com/doc/refman/5.0/en/news-5-0-26.html Ok, so only two years old, but in terms of bugs, many things get fixed, but Suse probably fixed the issues I know of in their tree. I really need to fix the config to guess, you bring up a good point. again, thank you, Patrick
Download (untitled) / with headers
text/plain 377b
Happens on Debian testing too.. "Can't exec "mysql_config": No such file or directory at /home/david/.cpanplus/5.10.0/build/DBD-mysql-4.010/Makefile.PL line 454. Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located" mysql_config isn't located on the harddrive. i've got mysql-server running, version 5.0.51a-21 from the debian packages.
Download (untitled) / with headers
text/plain 677b
On Thu Jan 29 14:24:28 2009, cinch wrote: Show quoted text
> Happens on Debian testing too.. > > "Can't exec "mysql_config": No such file or directory at > /home/david/.cpanplus/5.10.0/build/DBD-mysql-4.010/Makefile.PL line 454. > Can't find mysql_config. Use --mysql_config option to specify where > mysql_config is located" > > mysql_config isn't located on the harddrive. i've got mysql-server > running, version 5.0.51a-21 from the debian packages.
Ah i forgot, like a previous poster mentioned: mysql_config is in the following package "libmysqlclient15-dev". Now the installation proceeds properly. I still had to configure the root password and create a schema database called "test".
since fixed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.