FW: [PHP-GTK] Problem make'ing PHP-GTK

From: Date: Sat, 05 Jun 2004 16:47:44 +0000
Subject: FW: [PHP-GTK] Problem make'ing PHP-GTK
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4619@lists.php.net to get a copy of this message
nb that branch should work with GTK 1.2 -----Original Message----- From: Ben Ramsey [mailto:lists@benramsey.com] Sent: 05 June 2004 17:16 To: php-gtk-general@lists.php.net Subject: Re: [PHP-GTK] Problem make'ing PHP-GTK 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 > > >>-----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: 20040412 >>Zend 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 a >> >>stable PHP >> >>>5.. >>> >>> >>> >>>>-----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. >>>>> >>>>> >>>>> >>>>> >>>>>>-----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 >>>> >>>>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. >>>>>>--------------------------------------------------- >>>>>> >>>>>>-- >>>>>>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.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.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.php

« previous php.gtk.general (#4619) next »