Error compiling PHP/GTK1.x on OSX 10.2
| From: | Benjamin Smith | Date: | Thu, 01 Jun 2006 06:38:00 +0000 |
| Subject: | Error compiling PHP/GTK1.x on OSX 10.2 | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6959@lists.php.net to get a copy of this message | ||
Well,
I'm compiling on OS/X 10.2, to directory /opt/SchoolPathways (the name of my
company)
I've gotten glib, gtk+1.x, libmcrypt, and php-4.4.2 all installed with this
opt directory, so far so good.
But now, I'm having trouble getting php_gtk to pass the ./configure stage.
Here's what I'm doing:
% ./buildconf; aclocal; ./configure --prefix=/opt/SchoolPathways
Below is the result. Numerous google searches have resulted in nothing. Any
idea what I'm doing wrong? In case it helps, here's the ./configure script
for PHP:
php-4.4.2] slippy% ./configure --prefix=/opt/SchoolPathways \
--with-config-file-path=/opt/SchoolPathways/lib \
--enable-cgi \
--with-mcrypt=/opt/SchoolPathways \
--enable-ftp
// Here's where compiling php-gtk fails:
% ./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+)'
Help!
-Ben
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978