Я отримую цю помилку при спробі встановити або оновити Percona за допомогою MacPorts на Max OS X (у моєму випадку Mavericks 10.9)
---> Configuring php55-mysql
Error: Failed to configure php55-mysql, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php55-mysql/work/php-5.5.15/ext/mysql/config.log
Error: org.macports.configure for port php55-mysql returned: configure failure: command execution failed
Please see the log file for port php55-mysql for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php55-mysql/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
ОНОВЛЕННЯ (2014-11-11): @Mark запитав, що було в main.log
. Я не зберігав його спочатку, але у мене була точно така ж проблема на іншій машині, і ось що було у main.log
файлі:
[stuff above snipped]
:info:configure checking for the location of libz... /opt/local
:info:configure configure: error: Cannot find libmysqlclient under /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php54-mysql/work/percona.
:info:configure Note that the MySQL client library is not bundled anymore!
:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php54-mysql/work/php-5.4.34/ext/mysql" && ./configure --prefix=/opt/local --with-php-config=/opt/local/bin/php-config54 --with-zlib-dir=/opt/local --with-mysql=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php54-mysql/work/percona --with-mysqli=/opt/local/lib/percona/bin/mysql_config --with-pdo-mysql=/opt/local/lib/percona/bin/mysql_config --with-mysql-sock=/opt/local/var/run/percona/mysqld.sock
:info:configure Exit code: 1
:error:configure Failed to configure php54-mysql, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php54-mysql/work/php-5.4.34/ext/mysql/config.log
:error:configure org.macports.configure for port php54-mysql returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
while executing
"proc-org.macports.configure-configure-0 org.macports.configure"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for php54-mysql: org.macports.install org.macports.configure org.macports.build org.macports.destroot
:notice:configure Please see the log file for port php54-mysql for details:
Що є у файлі журналу, щоб ми могли побачити деталі
—
Марк