Trouble compiling in mysqli under PHP5 -- "mysql_config not found"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux