Installing PHP-GTK with PHP 5.3 on OS X

Posted by Shabbyrobe on Server Fault See other posts from Server Fault or by Shabbyrobe
Published on 2010-08-01T13:07:39Z Indexed on 2011/02/05 23:27 UTC
Read the original article Hit count: 326

Filed under:
|

I'm having trouble getting php-gtk installed with php 5.3 on os x. I'm currently using macports to do it and when I try to install php-gtk, it spews 'duplicate static' errors:

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-gtk/work/php-gtk-2.0.1" && /usr/bin/make -j2 all " returned error 2
Command output: ext/gtk+/gen_pango.c:2951: error: duplicate 'static'
ext/gtk+/gen_pango.c:2957: error: duplicate 'static'
ext/gtk+/gen_pango.c:3097: error: duplicate 'static'
ext/gtk+/gen_pango.c:3103: error: duplicate 'static'

Is there a way to coerce it into building, or an alternative way to install it?

© Server Fault or respective owner

Related posts about php

Related posts about macosx