Re: [Fwd: Re: [PHP-GTK] installing from cvs the second]
| From: | Anders Pedersen | Date: | Tue, 27 Nov 2001 11:49:01 +0000 |
| Subject: | Re: [Fwd: Re: [PHP-GTK] installing from cvs the second] | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-704@lists.php.net to get a copy of this message | ||
I've tried to compile php-gtk today, and got the same error.
Inserted the ini_set, but then generator.php fails too.
gen_gtk.c ends up containing a bunch of;
<b>Warning</b>: Invalid argument supplied for foreach() in
<b>/home/andersp/cvs/php-gtk/generator/generator.php</b> on line
<b>65</b><br
/>
+ the same for line 68, 71, 83, 624, 626, 576, 358, 444
Anders
On 01.11.27 03:34 Alan Knowles wrote:
>
>
>
> solved this on icq - (or similar one...)
>
> the issue there was *Fatal error*: Allowed memory size of 8388608
> bytes exhausted (tried to allocate 128 by
> in */usr/src/php-gtk/php-gtk/generator/scheme.php* on line
> *127*
> " in gen_gtk.c
>
> remove all the gen_gtk.c
>
> this could be solved by adding the line at the start of generator/scheme.php
> ini_set("memory_limit, "32M");
>
> if this is not the problem send the first 3 lines of gen_gtk.c
>
>
> regards
> alan
>
> >
> > gcc -I. -I/usr/local/php-gtk/ext/gtk+ -I/usr/local/php-gtk/main
> > -I/usr/local/php-gtk -I/usr/include/php4 -I/usr/include/php4/main
> > -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
> > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> > -I/usr/X11R6/include -I/usr/local/php-gtk/main -DHAVE_CONFIG_H -g -O2
> > -c gen_gtk.c -fPIC -DPIC -o gen_gtk.lo
> > gen_gtk.c:1: parse error before '<' token
> > make[3]: *** [gen_gtk.lo] Error 1
> > make[3]: Leaving directory `/usr/local/php-gtk/ext/gtk+'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/local/php-gtk/ext/gtk+'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/php-gtk/ext'
> > make: *** [all-recursive] Error 1
> >
> >
> > regards
>
>
>
>
>
>
> --
> 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