Re: RedHat 9 problem
| From: | Alberto Ferrer | Date: | Wed, 11 Jun 2003 13:46:48 +0000 |
| Subject: | Re: RedHat 9 problem | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3528@lists.php.net to get a copy of this message | ||
No buscastes algun rpm?
--
----------------------------------------------
Alberto Ferrer
albertof@barrahome.org
http://www.barrahome.org
----------------------------------------------
Syntax Error in KITCHEN.H: COFFEE not found.
"Ernesto - Webmaster Silva" <silva@ort.edu.uy> escribió en el mensaje
news:3EE67B69.4080904@ort.edu.uy...
> Hi,
> I'm trying to build php-gtk in a new rh9 installation but I have some
"common" problems, I've
> solved a few but there are still some fights....
>
> First: I had the PHP_GTK_ARG_ENABLE but I solved it writing:
> # ./buildconf
> # aclocal
> # ./buildconf
> # ./configure
>
> Second: the make command sais:
> # make
> Making all in ext
> make[1]: Entering directory `/root/software/gnuteca/php-gtk-0.5.2/ext'
> Making all in gtk+
> make[2]: Entering directory
`/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+'
> make[3]: Entering directory
`/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+'
> /usr/bin/php -q
/root/software/gnuteca/php-gtk-0.5.2/generator/generator.php -o
> ext/gtk%2b/gtk.overrides -p Gtk -r
/root/software/gnuteca/php-gtk-0.5.2/ext/gtk%2b/gdk.defs
> ext/gtk%2b/gtk.defs > gen_gtk.c
> Parsing file "ext/gtk+/gtk.defs".
> Parsing file "/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+/gdk.defs".
> Parsing file "ext/gtk+/gtk-extrafuncs.defs".
> make[3]: *** [gen_gtk.c] Error 255
> make[3]: Leaving directory `/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/software/gnuteca/php-gtk-0.5.2/ext'
> make: *** [all-recursive] Error 1
>
> I've tried some "mailing list recomendations" but nothing works, for
example, if I run make again
> I got some more compilations, but it stops when reaches gen_gtk.c which
has some html code (from
> the generator I supouse...):
>
> # cat ext/gtk+/gen_gtk.c
> <br />
> <b>Fatal error</b>: Allowed memory size of 8388608 bytes exhausted (tried
to allocate 131072
> bytes) in <b>/root/software/gnuteca/php-gtk-0.5.2/generator/scheme.php</b>
on line <b>127</b><br />
>
> And the last lines from the make command are:
>
> /bin/sh /root/software/gnuteca/php-gtk-0.5.2/libtool --mode=compile
cc -I.
> -I/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+ -I/root/software/gnuteca/p
hp-gtk-0.5.2/main
> -I/root/software/gnuteca/php-gtk-0.5.2 -I/usr/include/php -I/usr/include/p
hp/main
> -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/gtk-1.2 -I/
usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/u
sr/include/libglade-1.0
> -I/root/software/gnuteca/php-gtk-0.5.2/main -DHAVE_CONFIG_H -g -O2 -c
gen_gtk.c
> gcc -I. -I/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+
> -I/root/software/gnuteca/php-gtk-0.5.2/main -I/root/software/gnuteca/php-g
tk-0.5.2
> -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/
include/php/TSRM
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/
usr/X11R6/include
> -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/root/software/gnut
eca/php-gtk-0.5.2/main
> -DHAVE_CONFIG_H -g -O2 -c gen_gtk.c -fPIC -DPIC -o gen_gtk.lo
> gen_gtk.c:1: parse error before '<' token
> gen_gtk.c:2: too many decimal points in floating constant
> make[3]: *** [gen_gtk.lo] Error 1
> make[3]: Leaving directory `/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/software/gnuteca/php-gtk-0.5.2/ext/gtk+'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/software/gnuteca/php-gtk-0.5.2/ext'
> make: *** [all-recursive] Error 1
>
>
> All libraries are properly installed (like "RedHat properly installed" ;),
including developement
> rpm packages for each one.
>
> I've been "fighting" for the last 5 or 6 hours, starting from a new
"decompression" each time so
> no previous garbage-files were present.
>
> Does anyone have any new ideas? (or at least the same problem, so I don't
feel lonely... ;)
>
> Best regards
> --
> Ernesto Silva - Webmaster - Universidad ORT Uruguay
> Cuareim 1451.
> Montevideo.
> Montevideo - 11100.
> Uruguay.
>
> Email: silva@ort.edu.uy
>
> There are only 10 types of people:
> Those who understand binary and those who don't.
>