Re: Problem make'ing PHP-GTK
| From: | Ben Ramsey | Date: | Sat, 05 Jun 2004 16:16:12 +0000 |
| Subject: | Re: Problem make'ing PHP-GTK | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4617@lists.php.net to get a copy of this message | ||
Apparently not.
I'm running PHP 5.0.0RC3RC2 and I have gtk 1.2.10 and gtk2 2.4.0 installed. Is there currently a way to get PHP-GTK to work with my setup, or am I just out of luck for a while until it's developed.
(*grumbles* Serves me right for upgrading things).
Steph wrote:
1.0.0 is for PHP 4... You're not having a good day there, are you? :I-- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --------------------------------------------------------Original Message----- From: Ben Ramsey [mailto:lists@benramsey.com] Sent: 05 June 2004 17:03 To: php-gtk-general@lists.php.net Subject: Re: [PHP-GTK] Problem make'ing PHP-GTK Okay, so I've downloaded the tar.gz file from http://gtk.php.net, and when I run ./buildconf, I get the following: [root@orome php-gtk-1.0.0]# ./buildconf Configuring for:PHP Api Version: 20031224 Zend Module Api No: 20040412Zend Extension Api No: 220040412 configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR configure.in:33: warning: underquoted definition of PHP_EXT_DIR configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED aclocal: cannot open php_gtk.m4: No such file or directory make: *** [buildmk.stamp] Error 1 What's my problem now? Steph wrote:I'd look for developer movement _after_ we get something like astable PHP5..`zm_activate_gtk':-----Original Message----- From: Ben Ramsey [mailto:lists@benramsey.com] Sent: 05 June 2004 16:21 To: php-gtk-general@lists.php.net Subject: Re: [PHP-GTK] Problem make'ing PHP-GTK That would definitely be why it wasn't working, then. ;-) I'll go back to the tar download for PHP-GTK. BTW, when will PHP-GTK v2 be nearing a stable version? Can we expect that sometime closer to the release of a stable PHP 5, which is estimated for sometime in mid-to-late July? Steph wrote:'head' isn't ready to roll yet.. notice, it's gtk2.work just-----Original Message----- From: Ben Ramsey [mailto:lists@benramsey.com] Sent: 05 June 2004 04:54 To: php-gtk-general@lists.php.net Subject: [PHP-GTK] Problem make'ing PHP-GTK 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-I/usr/include/atk-1.0fine, 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-prefer-pic -c-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -DHAVE_CONFIG_H -g -O2-I/usr/include/atk-1.0/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/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 functionto run just/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-- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --------------------------------------------------- -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. --------------------------------------------------- -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpfine, 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. --------------------------------------------------- -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php