Opened 19 years ago
Closed 19 years ago
#5844 closed defect (fixed)
BUG: php5 won't install OS X 10.4.3
Reported by: | ian.w.white@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Hi there
Can't get php5 to install, php4 installs fine. Seems to be a problem with oniguruma extension.
Here's the output from the install
xenon:~ ian$ sudo port -v install php5 ---> Building php5 with target all gcc -DNOT_RUBY -DHAVE_CONFIG_H -Iext/mbstring/ -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/ -DPHP_ATOM_INC -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/include -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/main -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include/c-client -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/libmbfl -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/libmbfl/mbfl -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/TSRM -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/Zend
-no-cpp-precomp -I/opt/local/include/c-client -c
/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c -o ext/mbstring/oniguruma/regerror.o && echo > ext/mbstring/oniguruma/regerror.lo In file included from /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:37: /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>." /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>." /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c: In function 'onig_error_code_to_str': /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:194: error: parse error before 'va_dcl' /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:212: error: parse error before 'OnigErrorInfo' /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:214: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:245: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c: In function 'onig_snprintf_with_pattern': /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:269: error: parse error before 'va_dcl' /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:285: warning: pointer targets in passing argument 2 of 'onigenc_str_bytelen_null' differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:285: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:287: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:308: warning: pointer targets in passing argument 2 of 'onigenc_str_bytelen_null' differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:309: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:317: warning: pointer targets in passing argument 2 of 'onigenc_str_bytelen_null' differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:318: warning: pointer targets in assignment differ in signedness make: * [ext/mbstring/oniguruma/regerror.lo] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5" && make all" returned error 2 Command output: gcc -DNOT_RUBY -DHAVE_CONFIG_H -Iext/mbstring/ -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/ -DPHP_ATOM_INC -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/include -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/main -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include/c-client -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/libmbfl -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/libmbfl/mbfl -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/TSRM -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/Zend
-no-cpp-precomp -I/opt/local/include/c-client -c
/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c -o ext/mbstring/oniguruma/regerror.o && echo > ext/mbstring/oniguruma/regerror.lo In file included from /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:37: /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>." /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>." /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c: In function 'onig_error_code_to_str': /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:194: error: parse error before 'va_dcl' /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:212: error: parse error before 'OnigErrorInfo' /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:214: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:245: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c: In function 'onig_snprintf_with_pattern': /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:269: error: parse error before 'va_dcl' /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:285: warning: pointer targets in passing argument 2 of 'onigenc_str_bytelen_null' differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:285: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:287: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:308: warning: pointer targets in passing argument 2 of 'onigenc_str_bytelen_null' differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:309: warning: pointer targets in assignment differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:317: warning: pointer targets in passing argument 2 of 'onigenc_str_bytelen_null' differ in signedness /opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_php5/work/php-5.0.5/ext/mbstring/oniguruma/regerror.c:318: warning: pointer targets in assignment differ in signedness make: * [ext/mbstring/oniguruma/regerror.lo] Error 1
Warning: the following items did not execute (for php5): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install
Change History (3)
comment:1 Changed 19 years ago by jberry@…
comment:2 Changed 19 years ago by mww@…
Summary: | php5 won't install OS X 10.4.3 → BUG: php5 won't install OS X 10.4.3 |
---|
comment:3 Changed 19 years ago by mww@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
just updated version 5.1.1 works just fine here on 10.4.3; if problem still persists though, please re-open this bug-report!
Hi Ian,
It looks like you need to update your ports tree. php5 is up to version 5.1. Can you update your tree and try again? Thx.