#48490 [Opn]: php configure --with-mysql failed with macports
| From: | senz at senz dot su | Date: | Sun, 07 Jun 2009 13:46:48 +0000 |
| Subject: | #48490 [Opn]: php configure --with-mysql failed with macports | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-138078@lists.php.net to get a copy of this message | ||
ID: 48490
User updated by: senz at senz dot su
Reported By: senz at senz dot su
Status: Open
Bug Type: *Configuration Issues
-Operating System: mac
+Operating System: Darwin 9.7.0
PHP Version: 5.2.9
New Comment:
This post helps to resolve the problem:
http://lists.macosforge.org/pipermail/macports-users/2007-December/007567.html
It seems that macports change paths for mysql installation.
Previous Comments:
------------------------------------------------------------------------
[2009-06-07 13:42:55] senz at senz dot su
Description:
------------
php 5.2.9 configure script failed with option
--with-mysql=shared,/opt/local
uname -rs
Darwin 9.7.0
The following ports are currently installed:
mysql5-devel @5.1.34_0 (active)
Reproduce code:
---------------
./configure \
--with-mysql=shared,/opt/local
Actual result:
--------------
checking for MySQL support... yes, shared
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /opt/local.
Note that the MySQL client library is not bundled anymore!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48490&edit=1