Re: How to compile?
| From: | Rich Payne | Date: | Fri, 30 Nov 2001 20:33:54 +0000 |
| Subject: | Re: How to compile? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-789@lists.php.net to get a copy of this message | ||
Let me guess, php 4.0.6?
You'll need 4.1.0 or later of PHP to compile php-gtk. Youcan download the
RC snapshots of 4.10 from http://download.php.net/~zeev
--rdp
On 30 Nov 2001, Cory Bertsch wrote:
> Hello,
>
> I'm having a hard time getting php-gtk to compile. Does anyone know
> where I can find a good faq or how-to on this? I'm trying to get the
> current cvs version to work and I'm running Redhat 7.1
>
> Thanks,
>
> -Cory
>
> p.s. Here are the errors I'm getting:
>
> In file included from /home/dls/cvs/php-gtk/main/php_gtk.h:72,
> from php_gtk+.c:23:
> /home/dls/cvs/php-gtk/ext/gtk+/php_gtk+.h:118: parse error before
> `TSRMLS_DC'
> /home/dls/cvs/php-gtk/ext/gtk+/php_gtk+.h:119: parse error before
> `TSRMLS_DC'
> php_gtk+.c:33: parse error before `TSRMLS_DC'
> php_gtk+.c:143: parse error before `TSRMLS_DC'
> php_gtk+.c: In function `release_gtk_object_rsrc':
> php_gtk+.c:145: `rsrc' undeclared (first use in this function)
> php_gtk+.c:145: (Each undeclared identifier is reported only once
> php_gtk+.c:145: for each function it appears in.)
> php_gtk+.c: At top level:
> php_gtk+.c:149: parse error before `TSRMLS_DC'
> php_gtk+.c: In function `php_gtk_xinit_gtk_plus':
> php_gtk+.c:151: `module_number' undeclared (first use in this function)
> php_gtk+.c:154: parse error before `TSRMLS_CC'
> php_gtk+.c:155: parse error before `TSRMLS_CC'
> php_gtk+.c:156: parse error before `TSRMLS_CC'
> make[3]: *** [php_gtk+.lo] Error 1
> make[3]: Leaving directory `/home/dls/cvs/php-gtk/ext/gtk+'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/dls/cvs/php-gtk/ext/gtk+'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dls/cvs/php-gtk/ext'
> make: *** [all-recursive] Error 1
>
>
>
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org