Re: php-gtk install problems

From: Date: Mon, 04 Aug 2003 10:54:39 +0000
Subject: Re: php-gtk install problems
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3655@lists.php.net to get a copy of this message
> try: > > aclocal > ./buildconf > ./configure > make > make install Well, I think you did not notice that there is an error when "make" So I attach the all logs in this email so you could see what happen. > And in your php.ini the memory_limit value put 64 M and try :-) > ----- Original Message ----- > From: "Decapode Azur" <blue_prawn@tuxfamily.org> > To: <php-gtk-general@lists.php.net> > Sent: Monday, August 04, 2003 11:51 AM > Subject: [PHP-GTK] php-gtk install problems > > > hi > > > > I have this error trying to install on mdk9.1 > > =================================== > > [blue_prawn@localhost php-gtk-0.5.2]$ ./buildconf > > [blue_prawn@localhost php-gtk-0.5.2]$ ./configure > > [blue_prawn@localhost php-gtk-0.5.2]$ make > > [....] > > /PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c:889: `gtk_object_ce' > > undeclared > > > (first use in this function) > > make: *** [main/php_gtk_object.lo] Erreur 1 > > > > > > > > -- > > PHP-GTK General Mailing List (http://gtk.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php

[blue_prawn@localhost php-gtk-0.5.2]$ aclocal aclocal: `configure.ac' or `configure.in' is required [blue_prawn@localhost php-gtk-0.5.2]$ ./buildconf Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 rebuilding configure [blue_prawn@localhost php-gtk-0.5.2]$ ./configure creating cache ./config.cache checking for gcc... 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... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for PHP prefix... /usr 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 checking how to run the C preprocessor... gcc -E checking for PHP-GTK support... yes, shared checking for gawk... gawk checking for PHP executable in /usr/bin... found checking for GtkComboButton support... yes checking for GdkPixbuf support... no checking for gtk-config... /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... /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... no checking for mingw32 environment... no checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/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... no creating libtool checking for gawk... (cached) gawk checking for working mkdir -p... yes updating cache ./config.cache creating ./config.status creating config.h [blue_prawn@localhost php-gtk-0.5.2]$ make ld -shared -soname libphp_common.so.430 -lc -o libphp_common.so /usr/bin/php -f /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/generator/generator.php -- -o ext/gtk%2b/gtk.overrides -p Gtk -r /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/ext/gtk%2b/gdk.defs ext/gtk%2b/gtk.defs > ext/gtk+/gen_gtk.c Parsing file "ext/gtk+/gtk.defs". Parsing file "/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/ext/gtk+/gdk.defs". Parsing file "ext/gtk+/gtk-extrafuncs.defs". make: *** [ext/gtk+/gen_gtk.c] Erreur 1 [blue_prawn@localhost php-gtk-0.5.2]$ su Password: [root@localhost php-gtk-0.5.2]# make install /usr/bin/php -f /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/generator/generator.php -- -o ext/gtk%2b/gdk.overrides -p Gdk ext/gtk%2b/gdk.defs > ext/gtk+/gen_gdk.c Loading cache "ext/gtk+/gdk.defs.cache" Could not write function draw_polygon (parameter type GdkPoint*) Could not write function draw_text_wc (parameter type const-GdkWChar*) Could not write function draw_image (parameter type GdkImage*) Could not write function draw_points (parameter type GdkPoint*) Could not write function draw_segments (parameter type GdkSegment*) Could not write function draw_lines (parameter type GdkPoint*) grep -h "^PHP_GTK_EXPORT_CE" ext/gtk+/gen_gtk.c ext/gtk+/gen_gdk.c | sed -e "s!^!extern !" > ext/gtk+/gen_gtk.h grep -h "PHP_GTK_EXPORT_FUNC" ext/gtk+/gen_gtk.c ext/gtk+/gen_gdk.c | sed -e 's!$!;!' >> ext/gtk+/gen_gtk.h /bin/sh /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/libtool --mode=compile gcc -I./ext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 -prefer-pic -c /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/php_gtk+.c -o ./ext/gtk+/php_gtk+.lo gcc -I./ext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/php_gtk+.c -fPIC -DPIC -o ./ext/gtk+/php_gtk+.lo /bin/sh /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/libtool --mode=compile gcc -I./ext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 -prefer-pic -c /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/php_gdk.c -o ./ext/gtk+/php_gdk.lo gcc -I./ext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/php_gdk.c -fPIC -DPIC -o ./ext/gtk+/php_gdk.lo /bin/sh /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/libtool --mode=compile gcc -I./ext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 -prefer-pic -c /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/php_gtk+_types.c -o ./ext/gtk+/php_gtk+_types.lo gcc -I./ext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/./ext/gtk+/php_gtk+_types.c -fPIC -DPIC -o ./ext/gtk+/php_gtk+_types.lo /bin/sh /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/libtool --mode=compile gcc -Iext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 -prefer-pic -c ext/gtk+/gen_gtk.c -o ext/gtk+/gen_gtk.lo gcc -Iext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 /bin/sh /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/libtool --mode=compile gcc -Iext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 -prefer-pic -c ext/gtk+/gen_gdk.c -o ext/gtk+/gen_gdk.lo gcc -Iext/gtk+/ -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/ext/gtk+/ -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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_gdk.c -fPIC -DPIC -o ext/gtk+/gen_gdk.lo /bin/sh /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/libtool --mode=compile gcc -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I. -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2 -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 -prefer-pic -c /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk.c -o main/php_gtk.lo gcc -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I. -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2 -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk.c -fPIC -DPIC -o main/php_gtk.lo /bin/sh /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/libtool --mode=compile gcc -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I. -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2 -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 -prefer-pic -c /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c -o main/php_gtk_object.lo gcc -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I. -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2 -DPHP_ATOM_INC -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/include -I/home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main -I/home/annexe/Documents-2/Logiciels/PHP_GTK/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 /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c -fPIC -DPIC -o main/php_gtk_object.lo /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c: In function `php_gtk_arg_from_value': /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c:612: `gtk_object_ce' undeclared (first use in this function) /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c:612: (Each undeclared identifier is reported only once /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c:612: for each function it appears in.) /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c: In function `php_gtk_ret_from_value': /home/annexe/Documents-2/Logiciels/PHP_GTK/php-gtk-0.5.2/main/php_gtk_object.c:889: `gtk_object_ce' undeclared (first use in this function) make: *** [main/php_gtk_object.lo] Erreur 1 [root@localhost php-gtk-0.5.2]#
« previous php.gtk.general (#3655) next »