# [EMAIL PROTECTED] / 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to