Pessoal,

estou tentando instalar o agata report, mas, sem sucesso.. na verdade o grande
problema � a instala��o do php-gtk 0.5.2...

n�o vai de jeito nenhum...

os parametros para o configure sugeridos pelo site do agata s�o:

ele passa sem problemas mas, no 'make' d� o seguinte erro:

-----inicio------
bash-2.05b# cd /usr/src/php-gtk-0.5.2/
bash-2.05b# make
/bin/sh /usr/src/php-gtk-0.5.2/libtool --mode=compile gcc 
-I./ext/gtk+/-I/usr/src/php-gtk-0.5.2/./ext/gtk+/
-DPHP_ATOM_INC-I/usr/src/php-gtk-0.5.2/include
-I/usr/src/php-gtk-0.5.2/main-I/usr/src/php-gtk-0.5.2
-I/usr/local/include/php-I/usr/local/include/php/main
-I/usr/local/include/php/Zend-I/usr/local/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  -prefer-pic -c /usr/src/php-gtk-0.5.2/./ext/gtk+/php_gtk+.c
-o./ext/gtk+/php_gtk+.logcc -I./ext/gtk+/ -I/usr/src/php-gtk-0.5.2/./ext/gtk+/
-DPHP_ATOM_INC-I/usr/src/php-gtk-0.5.2/include
-I/usr/src/php-gtk-0.5.2/main-I/usr/src/php-gtk-0.5.2
-I/usr/local/include/php-I/usr/local/include/php/main
-I/usr/local/include/php/Zend-I/usr/local/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 /usr/src/php-gtk-0.5.2/./ext/gtk+/php_gtk+.c   -fPIC -DPIC
-o./ext/gtk+/php_gtk+.lo/bin/sh /usr/src/php-gtk-0.5.2/libtool --mode=compile gcc 
-I./ext/gtk+/-I/usr/src/php-gtk-0.5.2/./ext/gtk+/
-DPHP_ATOM_INC-I/usr/src/php-gtk-0.5.2/include
-I/usr/src/php-gtk-0.5.2/main-I/usr/src/php-gtk-0.5.2
-I/usr/local/include/php-I/usr/local/include/php/main
-I/usr/local/include/php/Zend-I/usr/local/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  -prefer-pic -c /usr/src/php-gtk-0.5.2/./ext/gtk+/php_gdk.c
-o./ext/gtk+/php_gdk.logcc -I./ext/gtk+/ -I/usr/src/php-gtk-0.5.2/./ext/gtk+/
-DPHP_ATOM_INC-I/usr/src/php-gtk-0.5.2/include
-I/usr/src/php-gtk-0.5.2/main-I/usr/src/php-gtk-0.5.2
-I/usr/local/include/php-I/usr/local/include/php/main
-I/usr/local/include/php/Zend-I/usr/local/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 /usr/src/php-gtk-0.5.2/./ext/gtk+/php_gdk.c   -fPIC -DPIC
-o./ext/gtk+/php_gdk.lo/bin/sh /usr/src/php-gtk-0.5.2/libtool --mode=compile gcc 
-I./ext/gtk+/-I/usr/src/php-gtk-0.5.2/./ext/gtk+/
-DPHP_ATOM_INC-I/usr/src/php-gtk-0.5.2/include
-I/usr/src/php-gtk-0.5.2/main-I/usr/src/php-gtk-0.5.2
-I/usr/local/include/php-I/usr/local/include/php/main
-I/usr/local/include/php/Zend-I/usr/local/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  -prefer-pic
-c/usr/src/php-gtk-0.5.2/./ext/gtk+/php_gtk+_types.c
-o./ext/gtk+/php_gtk+_types.logcc -I./ext/gtk+/
-I/usr/src/php-gtk-0.5.2/./ext/gtk+/ -DPHP_ATOM_INC-I/usr/src/php-gtk-0.5.2/include
-I/usr/src/php-gtk-0.5.2/main-I/usr/src/php-gtk-0.5.2
-I/usr/local/include/php-I/usr/local/include/php/main
-I/usr/local/include/php/Zend-I/usr/local/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 /usr/src/php-gtk-0.5.2/./ext/gtk+/php_gtk+_types.c   -fPIC
-DPIC-o
./ext/gtk+/php_gtk+_types.lo/usr/src/php-gtk-0.5.2/ext/gtk+/php_gtk+_types.c: In
function`php_gdk_event_new':/usr/src/php-gtk-0.5.2/ext/gtk+/php_gtk+_types.c:103:
warning: passingarg 4 of `add_property_zval_ex' makes pointer from integer without
acast/bin/sh /usr/src/php-gtk-0.5.2/libtool --mode=compile gcc 
-Iext/gtk+/-I/usr/src/php-gtk-0.5.2/ext/gtk+/
-DPHP_ATOM_INC-I/usr/src/php-gtk-0.5.2/include
-I/usr/src/php-gtk-0.5.2/main-I/usr/src/php-gtk-0.5.2
-I/usr/local/include/php-I/usr/local/include/php/main
-I/usr/local/include/php/Zend-I/usr/local/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  -prefer-pic -c ext/gtk+/gen_gtk.c -o ext/gtk+/gen_gtk.logcc
-Iext/gtk+/ -I/usr/src/php-gtk-0.5.2/ext/gtk+/
-DPHP_ATOM_INC-I/usr/src/php-gtk-0.5.2/include
-I/usr/src/php-gtk-0.5.2/main-I/usr/src/php-gtk-0.5.2
-I/usr/local/include/php-I/usr/local/include/php/main
-I/usr/local/include/php/Zend-I/usr/local/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.loext/gtk+/gen_gtk.c:1: syntax error before '<'
tokenext/gtk+/gen_gtk.c:2: too many decimal points in floating
constantext/gtk+/gen_gtk.c:4: too many decimal points in floating constantIn file
included from /usr/include/_G_config.h:44,                 from
/usr/include/libio.h:32,                
from/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/stdio.h:81,                
from /usr/local/include/php/Zend/zend.h:35,                 from
/usr/local/include/php/main/php.h:34,                 from
/usr/src/php-gtk-0.5.2/main/php_gtk.h:26,                 from
ext/gtk+/gen_gtk.c:5:/usr/include/gconv.h:72: syntax error before
"size_t"/usr/include/gconv.h:88: syntax error before
"size_t"/usr/include/gconv.h:97: syntax error before
"size_t"/usr/include/gconv.h:174: syntax error before
"size_t"/usr/include/gconv.h:177: syntax error before '}' tokenIn file included
from /usr/include/libio.h:32,                
from/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/stdio.h:81,                
from /usr/local/include/php/Zend/zend.h:35,                 from
/usr/local/include/php/main/php.h:34,                 from
/usr/src/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 outmake: **
[ext/gtk+/gen_gtk.lo] Erro 1
-----fim------

e, dai n�o passa...
oq pode ser???

a sa�da do configure � a seguinte:

--- inicio ----
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM
checking for PHP extension directory...
/usr/local/lib/php/extensions/no-debug-non-zts-20020429
checking for re2c... (cached) exit 0;
checking for mawk... (cached) gawk
checking for PHP-GTK support... yes, shared
checking for mawk... (cached) gawk
checking for PHP executable in /usr/local/bin... found
checking for GtkComboButton support... yes
checking for GdkPixbuf support... no
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.6... yes
checking for gtkhtml support... no
checking for libglade support... yes
checking for libglade-config... (cached) /usr/bin/libglade-config
checking for libglade... yes
checking for GtkPieMenu support... yes
checking for Scintilla support... no
checking for GtkScrollpane support... yes
checking for GtkSPaned support... yes
checking for GtkSQPane support... yes
checking whether to include debugging symbols... no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... (cached) yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files...
(cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)  -fPIC
checking if gcc PIC flag  -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i486-slackware-linux/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
updating cache ./config.cache
creating ./config.status
creating config.h
config.h is unchanged

--- fim ----


thiago

-- 
GUS-BR - Grupo de Usu�rios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a