Problems compiling php-gtk

From: Date: Tue, 16 Jul 2002 08:06:15 +0000
Subject: Problems compiling php-gtk
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2254@lists.php.net to get a copy of this message
I got a problem compiling php-gtk, I have been checking some docs, but see no solution. That's my configuration line: ./configure --enable-scintilla --enable-gtkhtml --enable-gdkpixbuf I already have installed: Scintilla, GTK-html and gdkpixbuf. Binary and dev files. Configure just works fine but when I try a make, I get a few errors: debian:/home/src/php-gtk-0.5.1# make install Making install in ext make[1]: Entering directory `/home/src/php-gtk-0.5.1/ext' Making install in gtk+ make[2]: Entering directory `/home/src/php-gtk-0.5.1/ext/gtk+' make[3]: Entering directory `/home/src/php-gtk-0.5.1/ext/gtk+' make[3]: Leaving directory `/home/src/php-gtk-0.5.1/ext/gtk+' make[2]: Leaving directory `/home/src/php-gtk-0.5.1/ext/gtk+' Making install in combobutton make[2]: Entering directory `/home/src/php-gtk-0.5.1/ext/combobutton' make[3]: Entering directory `/home/src/php-gtk-0.5.1/ext/combobutton' make[3]: Leaving directory `/home/src/php-gtk-0.5.1/ext/combobutton' make[2]: Leaving directory `/home/src/php-gtk-0.5.1/ext/combobutton' Making install in gdkpixbuf make[2]: Entering directory `/home/src/php-gtk-0.5.1/ext/gdkpixbuf' make[3]: Entering directory `/home/src/php-gtk-0.5.1/ext/gdkpixbuf' /bin/sh /home/src/php-gtk-0.5.1/libtool --mode=compile gcc -I. -I/home/src/php-gtk-0.5.1/ext/gdkpixbuf -I/home/src/php-gtk-0.5.1/main -I/home/src/php-gtk-0.5.1 -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/gdk-pixbuf-1.0 -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-1.0 -I/usr/include/freetype2 -I/usr/lib/gnome-libs/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/home/src/php-gtk-0.5.1/main -DHAVE_CONFIG_H -g -O2 -c gen_gdkpixbuf.c gcc -I. -I/home/src/php-gtk-0.5.1/ext/gdkpixbuf -I/home/src/php-gtk-0.5.1/main -I/home/src/php-gtk-0.5.1 -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/gdk-pixbuf-1.0 -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-1.0 -I/usr/include/freetype2 -I/usr/lib/gnome-libs/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/home/src/php-gtk-0.5.1/main -DHAVE_CONFIG_H -g -O2 -c gen_gdkpixbuf.c -fPIC -DPIC -o gen_gdkpixbuf.lo gen_gdkpixbuf.c: In function `php_gdk_pixbuf_register_constants': gen_gdkpixbuf.c:10: `GDK_COLORSPACE_RGB' undeclared (first use in this function) gen_gdkpixbuf.c:10: (Each undeclared identifier is reported only once gen_gdkpixbuf.c:10: for each function it appears in.) gen_gdkpixbuf.c:13: `GDK_PIXBUF_ALPHA_BILEVEL' undeclared (first use in this function) gen_gdkpixbuf.c:14: `GDK_PIXBUF_ALPHA_FULL' undeclared (first use in this function) gen_gdkpixbuf.c:17: `GDK_INTERP_NEAREST' undeclared (first use in this function) gen_gdkpixbuf.c:18: `GDK_INTERP_TILES' undeclared (first use in this function) gen_gdkpixbuf.c:19: `GDK_INTERP_BILINEAR' undeclared (first use in this function) gen_gdkpixbuf.c:20: `GDK_INTERP_HYPER' undeclared (first use in this function) gen_gdkpixbuf.c:23: `GDK_PIXBUF_FRAME_RETAIN' undeclared (first use in this function) gen_gdkpixbuf.c:24: `GDK_PIXBUF_FRAME_DISPOSE' undeclared (first use in this function) gen_gdkpixbuf.c:25: `GDK_PIXBUF_FRAME_REVERT' undeclared (first use in this function) gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_new': gen_gdkpixbuf.c:34: `GdkColorspace' undeclared (first use in this function) gen_gdkpixbuf.c:34: parse error before `colorspace' gen_gdkpixbuf.c:38: `GdkPixbuf' undeclared (first use in this function) gen_gdkpixbuf.c:38: `wrapped_obj' undeclared (first use in this function) gen_gdkpixbuf.c:47: `colorspace' undeclared (first use in this function) gen_gdkpixbuf.c:52: parse error before `)' gen_gdkpixbuf.c:60: `le_gdk_pixbuf' undeclared (first use in this function) gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_get_pixels': gen_gdkpixbuf.c:154: warning: assignment makes pointer from integer without a cast gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_copy': gen_gdkpixbuf.c:212: warning: assignment makes pointer from integer without a cast gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_add_alpha': gen_gdkpixbuf.c:227: warning: assignment makes pointer from integer without a cast gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_render_to_drawable_alpha': gen_gdkpixbuf.c:298: `GdkPixbufAlphaMode' undeclared (first use in this function) gen_gdkpixbuf.c:298: parse error before `alpha_mode' gen_gdkpixbuf.c:316: `alpha_mode' undeclared (first use in this function) gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_get_from_drawable': gen_gdkpixbuf.c:367: warning: assignment makes pointer from integer without a cast gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_scale': gen_gdkpixbuf.c:377: `GdkInterpType' undeclared (first use in this function) gen_gdkpixbuf.c:377: parse error before `interp_type' gen_gdkpixbuf.c:384: `interp_type' undeclared (first use in this function) gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_composite': gen_gdkpixbuf.c:398: `GdkInterpType' undeclared (first use in this function) gen_gdkpixbuf.c:398: parse error before `interp_type' gen_gdkpixbuf.c:405: `interp_type' undeclared (first use in this function) gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_composite_color': gen_gdkpixbuf.c:419: `GdkInterpType' undeclared (first use in this function) gen_gdkpixbuf.c:419: parse error before `interp_type' gen_gdkpixbuf.c:426: `interp_type' undeclared (first use in this function) gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_scale_simple': gen_gdkpixbuf.c:438: `GdkInterpType' undeclared (first use in this function) gen_gdkpixbuf.c:438: parse error before `interp_type' gen_gdkpixbuf.c:446: `interp_type' undeclared (first use in this function) gen_gdkpixbuf.c:450: warning: assignment makes pointer from integer without a cast gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_composite_color_simple': gen_gdkpixbuf.c:458: `GdkInterpType' undeclared (first use in this function) gen_gdkpixbuf.c:458: parse error before `interp_type' gen_gdkpixbuf.c:466: `interp_type' undeclared (first use in this function) gen_gdkpixbuf.c:470: warning: assignment makes pointer from integer without a cast gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_new_from_file': gen_gdkpixbuf.c:482: warning: assignment makes pointer from integer without a cast gen_gdkpixbuf.c: In function `zif_gdk_pixbuf_new_from_data': gen_gdkpixbuf.c:489: `GdkColorspace' undeclared (first use in this function) gen_gdkpixbuf.c:489: parse error before `colorspace' gen_gdkpixbuf.c:500: `colorspace' undeclared (first use in this function) gen_gdkpixbuf.c:504: `GdkPixbufDestroyNotify' undeclared (first use in this function) gen_gdkpixbuf.c:504: parse error before `php_gtk_destroy_notify' make[3]: *** [gen_gdkpixbuf.lo] Error 1 make[3]: Leaving directory `/home/src/php-gtk-0.5.1/ext/gdkpixbuf' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/src/php-gtk-0.5.1/ext/gdkpixbuf' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/src/php-gtk-0.5.1/ext' make: *** [install-recursive] Error 1 Dunno if it can be useful, but I'm on Debian SID (unstable) and I have installed gnome 2.0.

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