php5-mysql +mysql5 error

Puneet Kishor punk.kish at gmail.com
Wed Oct 26 12:21:03 PDT 2011


two in a day; first, error installing mod_perl2 +perl5_14, now error installing php5-mysql +mysql5

:info:build         ^
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-my
sql/php5-mysql/work/php-5.3.8/ext/mysqli/mysqli_report.c:28:
:info:build In file included from ./php_mysqli_structs.h:81:
:info:build /opt/local/include/mysql5/mysql/m_string.h:253:10: fatal error: 'mysql/plugin.h' file not found
:info:build #include <mysql/plugin.h>
:info:build          ^
:info:build 4 warnings and 1 error generated.
:info:build make: *** [mysqli_nonapi.lo] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build 4 warnings and 4 warnings and 1 error generated.
:info:build 1 error generated.
:info:build 4 warnings and 1 error generated.
:info:build make: *** [mysqli_driver.lo] Error 1
:info:build make: *** [mysqli_report.lo] Error 1
:info:build make: *** [mysqli_fe.lo] Error 1
:info:build 4 warnings and 1 error generated.
:info:build 4 warnings and 1 error generated.
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-mysql/php5-mysql/work/php-5.3.8/ext/mysqli/mysqli_api.c:33:
:info:build In file included from ./php_mysqli_structs.h:81:
:info:build /opt/local/include/mysql5/mysql/m_string.h:253:10: fatal error: 'mysql/plugin.h' file not found
:info:build #include <mysql/plugin.h>
:info:build          ^
:info:build make: *** [mysqli_warning.lo] Error 1
:info:build make: *** [mysqli_prop.lo] Error 1
:info:build 4 warnings and 1 error generated.
:info:build make: *** [mysqli.lo] Error 1
:
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-mysql/php5-mysql/work/php-5.3.8/ext/mysqli'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-mysql/php5-mysql/work/php-5.3.8/ext/mysqli" && /usr/bin/make -j8 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for php5-mysql): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for php5-mysql is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-my
sql/php5-mysql/main.log


suggestions?



--
Puneet Kishor 


More information about the macports-users mailing list