Error compiling PHP/GTK1.x on OSX 10.2
| From: | Benjamin Smith | Date: | Fri, 02 Jun 2006 02:24:48 +0000 |
| Subject: | Error compiling PHP/GTK1.x on OSX 10.2 | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6963@lists.php.net to get a copy of this message | ||
I sent in a message about php-gtk 1.x failing to compile on OSX 10.2. Below is more information that
might be useful... any help would be highly appreciated!
Here's a refresher on the errors displayed:
% ./buildconf; aclocal; ./configure --prefix=/opt/SchoolPathways
rebuilding configure
rebuilding config.h.in
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main
-I/usr/include/php/Zend -I/usr/include/php/TSRM
checking for PHP extension
directory... /usr/lib/php/extensions/no-debug-non-zts-20010901
checking for PHP-GTK support... yes, shared
./configure: line 2083: syntax error near unexpected token
`ext_builddir=PHP_EXT_BUILDDIR(g'
./configure: line 2083: ` ext_builddir=PHP_EXT_BUILDDIR(gtk+)'
As the configure script is essentially just a bash script, I looked for some info on
PHP_EXT_BUILDDIR.
I notice that doing a grep -r for 'PHP_EXT_BUILDDIR' returns no results, except for calls
to the function.
slippy% grep -r PHP_EXT_BUILDDIR *
configure: ext_builddir=PHP_EXT_BUILDDIR(gtk+)
configure: ext_builddir=PHP_EXT_BUILDDIR(canvas)
configure: ext_builddir=PHP_EXT_BUILDDIR(combobutton)
configure: ext_builddir=PHP_EXT_BUILDDIR(extra)
configure: ext_builddir=PHP_EXT_BUILDDIR(gdkpixbuf)
configure: ext_builddir=PHP_EXT_BUILDDIR(gtkhtml)
configure: ext_builddir=PHP_EXT_BUILDDIR(imlib)
configure: ext_builddir=PHP_EXT_BUILDDIR(libglade)
configure: ext_builddir=PHP_EXT_BUILDDIR(piemenu)
configure: ext_builddir=PHP_EXT_BUILDDIR(scintilla)
configure: ext_builddir=PHP_EXT_BUILDDIR(scrollpane)
configure: ext_builddir=PHP_EXT_BUILDDIR(spaned)
configure: ext_builddir=PHP_EXT_BUILDDIR(sqpane)
php_gtk.m4: ext_builddir=[]PHP_EXT_BUILDDIR($1)
The version of autoconf is 2.52.
If it helps any, I'd be HAPPY to provide access to the iMac...
Ben
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978