Re: configure problem now
| From: | Markus Fischer | Date: | Mon, 25 Apr 2005 09:42:37 +0000 |
| Subject: | Re: configure problem now | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1114@lists.php.net to get a copy of this message | ||
Jani Taskinen wrote:
On Mon, 25 Apr 2005, Markus Fischer wrote:Hmm .. so PHP needs two different autoconf version for different parts? How do you switch between those parts? So you set the env variable PHP_AUTOCONF with a full path to the version? Anyway, while writing this mail I purged automake 1.4 and installed 1.9 (I thought that 1.4 was an explicit requirement?) and the ./buildconf step did finish. I'm not stuck with the following: configure: error: PHP-GTK 2.x requires Gtk+ 2.x Here's the complete output: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ rm -Rf php-gtk && cp -a php-gtk.clean/ php-gtk && cd php-gtk && ./buildconf --with-phpize=/home/mfischer/install/php5/bin/phpize && ./configure && make && make install Configuring for:Can you provide the version numbers you're using for successful php-gtk compilatin (or Andrei) ?autoconf 2.13 (the phpize part of the buildconf) autoconf 2.59 (for the rebuild part) automake 1.9.2 (for aclocal part)It works as fine with not setting PHP_AUTOCONF too..for you it's not gonna help. autoconf should point to the latest..
PHP Api Version: 20041225 Zend Module Api No: 20041031Zend Extension Api No: 220041031 rebuilding aclocal.m4 rebuilding configure rebuilding config.h.in checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed 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... /home/mfischer/install/php5 checking for PHP includes... -I/home/mfischer/install/php5/include/php -I/home/mfischer/install/php5/include/php/main -I/home/mfischer/install/php5/include/php/TSRM -I/home/mfischer/install/php5/include/php/Zend checking for PHP extension directory... /home/mfischer/install/php5/lib/php/extensions/no-debug-non-zts-20041031 checking for re2c... no configure: WARNING: You will need re2c 0.94 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for PHP-GTK support... yes, shared checking for PHP executable in /home/mfischer/install/php5/bin... found version 5.1.0-dev checking for gawk... (cached) gawk checking for GtkCanvas support... no checking for GtkComboButton support... yes checking for GtkExtra support... no checking for GdkPixbuf support... no checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.6.0... yes (version 2.6.4) checking for pkg-config... (cached) /usr/bin/pkg-config checking for GTK+ - version >= 2.6.0... yes (version 2.6.4) checking pkg-config is at least version 0.9.0... yes checking for ATK_CFLAGS... checking for ATK_LIBS... configure: error: PHP-GTK 2.x requires Gtk+ 2.x ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thanks, - Markus