Re: problem compiling gtk-php
| From: | Jo Giraerts | Date: | Tue, 20 Nov 2001 10:47:11 +0000 |
| Subject: | Re: problem compiling gtk-php | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-631@lists.php.net to get a copy of this message | ||
Uou need to use the latest version of php because of some macro-changes.
Try the cvs-version of php (http://www.php.net/anoncvs.php). That will work!
On Tue, Nov 20, 2001 at 10:31:00AM +0000, Bruno Depero wrote:
> 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
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
Jo Giraerts
PHP Sorcerer
Life NV
Interleuvenlaan 15A, 3001 LEUVEN, BELGIUM
icq:81939849, email:jo@life.be, ph0ne:+32(0)16 20 89 61
pgp-key available at: http://www.keyserver.net.
fingerprint: 81EE B1FD 88E2 A03A 4F49 6D8A 806E 2220 9C2F 918B
I've got these opium queens that move around my space,
I said it's waste not, want not,
I think I'll take another,
I'm holding all this pain that I'm trying to smother.
<branvan3000 - Afrodisiac>