problem compiling gtk-php
| From: | Bruno Depero | Date: | Tue, 20 Nov 2001 10:31:00 +0000 |
| Subject: | problem compiling gtk-php | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-630@lists.php.net to get a copy of this message | ||
Hi !
I'm always had problems trying compiling gtk-php from early betas to 0.1
up to 0.1.1.
I'm using Linux Mandrake 8.1.
I have php 4.06 working as cgi.
./buildconf runs smooth.
./configure runs either fine, I guess I have all libraries needed.
With gtk-php 0.1.1:
Make starts compiling, and after few files reports some errors and exits..
.../main/php_gtk+.h: parse error before 'TSRMLS_DC'
In file included from .../main/php_gtk+.h: 65,
from php_gtk+.h:23:
.../ext/gtk+/php_gtk+.h:116: parse error before 'TSRMLS_DC'
.../ext/gtk+/php_gtk+.h:117: parse error before 'TSRMLS_DC'
php_gtk+.c:33: parse error before 'TSRMLS_DC'
php_gtk+.c:140: parse error before 'TSRMLS_DC'
php_gtk+.c: In function 'release_gtk_object_rsrc':
php_gtk+.c:142: 'rsrc' undeclared (first use in this function)
.... a lot of parse error before 'TSRMLS_DC'
in function 'php_gtk_xinit_gtk_plus':
'module_number' undeclared (first use in this function)
So how can have it compiling ? I miss some declarations or libraries ?
Why configure doesn't reports it ?
Thank for every kinda of help !
Bruno