How to compile?
| From: | Cory Bertsch | Date: | Fri, 30 Nov 2001 20:26:05 +0000 |
| Subject: | How to compile? | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-788@lists.php.net to get a copy of this message | ||
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