Problem make'ing PHP-GTK
| From: | Ben Ramsey | Date: | Sat, 05 Jun 2004 03:54:16 +0000 |
| Subject: | Problem make'ing PHP-GTK | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4610@lists.php.net to get a copy of this message | ||
I've downloaded the latest source from CVS for PHP-GTK and I'm running the latest source for PHP 5.0.0RC3RC2.
Running ./configure (without any options) for PHP-GTK seems to work just fine, but when I run 'make' I get the following:
/bin/sh /usr/src/php/cvs/php-gtk/libtool --mode=compile gcc -I/usr/src/php/cvs/php-gtk/main -I. -I/usr/src/php/cvs/php-gtk -DPHP_ATOM_INC -I/usr/src/php/cvs/php-gtk/include -I/usr/src/php/cvs/php-gtk/main -I/usr/src/php/cvs/php-gtk -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_CONFIG_H -g -O2 -prefer-pic -c /usr/src/php/cvs/php-gtk/main/php_gtk.c -o main/php_gtk.lo
gcc -I/usr/src/php/cvs/php-gtk/main -I. -I/usr/src/php/cvs/php-gtk -DPHP_ATOM_INC -I/usr/src/php/cvs/php-gtk/include -I/usr/src/php/cvs/php-gtk/main -I/usr/src/php/cvs/php-gtk -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_CONFIG_H -g -O2 -c /usr/src/php/cvs/php-gtk/main/php_gtk.c -fPIC -DPIC -o main/.libs/php_gtk.o
In file included from /usr/src/php/cvs/php-gtk/main/php_gtk.c:23:
/usr/src/php/cvs/php-gtk/main/php_gtk.h:37:34: zend_default_classes.h: No such file or directory
/usr/src/php/cvs/php-gtk/main/php_gtk.c: In function `zm_activate_gtk':
/usr/src/php/cvs/php-gtk/main/php_gtk.c:126: warning: assignment from incompatible pointer type
make: *** [main/php_gtk.lo] Error 1
Then it stops running.
I successfully compiled PHP-GTK on Fedora Core 1 running PHP 4.3.6. Now, I'm on Fedora Core 2 running PHP 5 (as mentioned earlier), and since this error doesn't tell me much and ./configure seems to run just fine, I'm clueless as where to look.
Any help is appreciated; please point me in the right direction.
--
Regards,
Ben Ramsey
http://benramsey.com
---------------------------------------------------
http://www.phpcommunity.org/
Open Source, Open Community
Visit for more information or to join the movement.
---------------------------------------------------