Re: Trouble compiling in mysqli under PHP5 -- "mysql_config not found"
| From: | Roman Neuhauser | Date: | Wed, 03 Jan 2007 02:55:11 +0000 |
| Subject: | Re: Trouble compiling in mysqli under PHP5 -- "mysql_config not found" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246407@lists.php.net to get a copy of this message | ||
# westonc@gmail.com / 2007-01-02 18:23:33 -0700:
> I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
> X. When I invoke configure, I get the following error message:
>
> "checking whether to enable embedded MySQLi support... no
> mysql_config not found
> configure: error: Please reinstall the mysql distribution"
>
> Now, mysql (4.1.22) is in fact installed, and it looks to me like the
> headers are in fact there (and mysql_config seems to be under ./bin),
> and I did give it the path with the config option
> (--with-mysqli=/usr/local/mysql -- yes, I know this isn't the
> conventional Mac OS X path, but I like these things under /usr/local,
> so....).
>
> Curiously, I note that a build using --with-mysql=/usr/local/mysql
> works just fine.
>
> Any ideas what I'm doing wrong here?
It wants "--with-mysql=/usr/local/mysql/mysql_config", see
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/config.m4?revision=1.25&view=markup
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991