Re: make errors with php-gtk-0.5.2
| From: | Shane Newberg | Date: | Sat, 21 Jun 2003 18:54:12 +0000 |
| Subject: | Re: make errors with php-gtk-0.5.2 | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3561@lists.php.net to get a copy of this message | ||
make is still having errors with known compatible versions of libtool,
automake, and autoconf.
Additional version information
Autoconf version 2.13
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
automake (GNU automake) 1.4
Specific make error.
On Friday 20 June 2003 03:10, Alan Knowles wrote:
> /usr/include/gconv.h:72: parse error before "size_t"
/usr/include/gconv.h:85: parse error before "size_t"
/usr/include/gconv.h:94: parse error before "size_t"
/usr/include/gconv.h:170: parse error before "size_t"
/usr/include/gconv.h:173: parse error before '}' token
In file included from /usr/include/libio.h:32,
from
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/stdio.h:81,
from /usr/local/include/php/Zend/zend.h:35,
from /usr/local/include/php/main/php.h:34,
from /opt/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
Any ideas?
Still using
./buildconf
aclocal
./buildconf
./configure
make
make install (when I get this far)
for installation process.
Shane
Shane Newberg wrote:
> > Version information
> > gcc 3.2.2
> > GNU Make 3.80
> > aclocal (GNU automake) 1.7.3
>
> from http://gtk.php.net/manual/en/installunix.php
>
> " libtool, automake and autoconf. The combination of libtool 1.4.2,
> automake 1.4 and autoconf 2.13 is known to work; mileage may vary with
> other version combinations."
>
> - try downgrading autoconf
>
> you will need to rm buildmk.stamp;./buildconf after doing this.
>
> Regards
> Alan
>
> > libxml-1.8.17
> > libglade-0.5 - also tried 0.17 and 0.7 and 1.99
> > php-gtk-0.5.2
> >
> > Results with only ./buildconf and ./configure
> > ./configure: line 3397: syntax error near unexpected token `debug,'
> > ./configure: line 3397: `PHP_GTK_ARG_ENABLE(debug, whether to include
> > debugging symbols,'
> >
> > Results with
> > ./buildconf
> > aclocal
> > ./buildconf
> > ./configure
> > make
> >
> > unfortunately I am still having problems.
> >
> > AVE_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/bits/types.h:143,
> > from
> > /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/stdio.h:45,
> > from /usr/local/include/php/Zend/zend.h:35,
> > from /usr/local/include/php/main/php.h:34,
> > from /opt/php-gtk-0.5.2/main/php_gtk.h:26,
> > from ext/gtk+/gen_gtk.c:5:
> > /usr/include/bits/pthreadtypes.h:48: parse error before "size_t"
> > /usr/include/bits/pthreadtypes.h:51: parse error before "__stacksize"
> > In file included from /usr/include/_G_config.h:44,
> > from /usr/include/libio.h:32,
> > from
> > /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/stdio.h:81,
> > from /usr/local/include/php/Zend/zend.h:35,
> > from /usr/local/include/php/main/php.h:34,
> > from /opt/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:85: parse error before "size_t"
> > /usr/include/gconv.h:94: parse error before "size_t"
> > /usr/include/gconv.h:170: parse error before "size_t"
> > /usr/include/gconv.h:173: parse error before '}' token
> > In file included from /usr/include/libio.h:32,
> > from
> > /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/stdio.h:81,
> > from /usr/local/include/php/Zend/zend.h:35,
> > from /usr/local/include/php/main/php.h:34,
> > from /opt/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
> >
> >
> > Ideas anyone?
>
> --
> Can you help out?
> Need Consulting Services or Know of a Job?
> http://www.akbkhome.com