Re: Compile problems

From: Date: Sat, 03 Jan 2004 06:19:57 +0000
Subject: Re: Compile problems
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4331@lists.php.net to get a copy of this message
you need to have the php 'cli', not cgi - that is what causes the HTML in the file.. - Craig Rathbone wrote:
Trevor, have a look at ext/gtk+/gen_gtk.c and you will probalbe see some funky HTML tage line <br /> etc and I also found them in ext/gtk+/gen_gdk.c .. (I am having the same troubles as you!!) I'm now getting a different set of errors though.. It looks like someting (buildconf???) is not liking Redhat...
Not much likes redhat :) Regards Alan
CR Steph wrote:
was that clean before you started?
-----Original Message----- From: Trevor Morrison [mailto:trevor@hailix.com] Sent: 02 January 2004 17:54 To: steph.fox@virgin.net Cc: php-gtk-general@lists.php.net Subject: Re: [PHP-GTK] Compile problems Hi Steph, It got me a little further down the road! When I run make I get the following error: ........... gcc -Iext/gtk+/ -I/root/php-gtk-0.5.2/ext/gtk+/ -DPHP_ATOM_INC -I/root/php-gtk-0.5.2/include -I/root/php-gtk-0.5.2/main -I/root/php-gtk-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 -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_gtk.c -fPIC -DPIC -o ext/gtk+/gen_gtk.lo ext/gtk+/gen_gtk.c:1: parse error before '<' token ext/gtk+/gen_gtk.c:2: too many decimal points in floating constant ext/gtk+/gen_gtk.c:4: too many decimal points in floating constant In file included from /usr/include/_G_config.h:44,
                from /usr/include/libio.h:32,
                from /usr/include/stdio.h:72,
                from /usr/include/php/Zend/zend.h:35,
                from /usr/include/php/main/php.h:34,
                from /root/php-gtk-0.5.2/main/php_gtk.h:26,
                from ext/gtk+/gen_gtk.c:5:
/usr/include/gconv.h:72: parse error before "size_t" /usr/include/gconv.h:88: parse error before "size_t" /usr/include/gconv.h:97: parse error before "size_t" /usr/include/gconv.h:174: parse error before "size_t" /usr/include/gconv.h:177: parse error before '}' token In file included from /usr/include/libio.h:32,
                from /usr/include/stdio.h:72,
                from /usr/include/php/Zend/zend.h:35,
                from /usr/include/php/main/php.h:34,
                from /root/php-gtk-0.5.2/main/php_gtk.h:26,
                from ext/gtk+/gen_gtk.c:5:
/usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:52: confused by earlier errors, bailing out make: *** [ext/gtk+/gen_gtk.lo] Error 1 [root@stud php-gtk-0.5.2]# Any thoughts? Thanks, Trevor Steph wrote:
Thankfully there are linux users who have hit this issue already. I'm quoting csnyder@chxo.com's note from http://gtk.php.net/manual/en/installunix.php
"Simple solution to PHP_GTK_ARG_ENABLE problem detailed below.     
This must be
added to this page and the README, please oh please! ./buildconf aclocal ./buildconf (again!) ./configure make make install"
Please let me know if it works, I'll definitely add it to the     
manual page if
so! - Steph
    
-----Original Message----- From: Trevor Morrison [mailto:trevor@hailix.com] Sent: 02 January 2004 16:59 To: php-gtk-general@lists.php.net Subject: [PHP-GTK] Compile problems Hi, I am trying to install the php-gtk software on my RH 9 box and I am getting the following compile error: .... checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20020429 checking for re2c... exit 0; checking for gawk... gawk checking for PHP-GTK support... yes, shared checking for gawk... (cached) gawk checking for PHP executable in /usr/bin... found ./configure: line 2916: syntax error near unexpected token `debug,' ./configure: line 2916: `PHP_GTK_ARG_ENABLE(debug, whether to include debugging symbols,' [root@stud php-gtk-0.5.2]# I compiled PHP with the --enable-pcntl option and all went fine. The ./buildconf went fine but the ./configure dies with the errors above. Any help is appreciated. thanks, -- Trevor Morrison Hailix, LLC trevor@hailix.com -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
      
    
-- Trevor Morrison Hailix, LLC trevor@hailix.com -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.gtk.general (#4331) next »