Re: Something strange with files created by generator.php
| From: | Markus Fischer | Date: | Wed, 13 Feb 2002 22:43:44 +0000 |
| Subject: | Re: Something strange with files created by generator.php | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1253@lists.php.net to get a copy of this message | ||
My guess is you're using a not compatibel version of PHP
itself. Try using 4.1.1, if you're using it, you've set up
something wrong.
On Wed, Feb 13, 2002 at 03:21:42PM -0700, Jared Smith wrote :
> I compiled PHP-GTK from CVS, and I got the following error:
>
> gen_gdkpixbuf.c:1: parse error before `-'
>
> In looking at the gen_gdkpixbuf.c file, I noticed that for some reason,
> generator.php is adding a content type to the beginning of the file.
> Here's the first few lines of gen_gdkpixbuf.c:
>
> Content-type: text/html^M
> ^M
> #include "php_gtk.h"
> #if HAVE_PHP_GTK
>
> It seems that this happens with all the files that generator.php
> creates... Is this something peculiar to my particular setup, or is this
> happening to everyone? I can go delete these lines from all the gen_*.c
> files, but I'm wondering if this is something that needs to be fixed.
>
> Also, can somebody (probably James Moore) put this in the
> troubleshooting section of the manual so that it doesn't trip up other
> people?
>
> Thanks!
>
> Jared Smith
> jaredsmith@jaredsmith.net
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc