Re: PHP-GTK 2 Configure help

From: Date: Fri, 22 Apr 2005 19:13:51 +0000
Subject: Re: PHP-GTK 2 Configure help
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1098@lists.php.net to get a copy of this message
Hello Scott I have problems to compile PHP-GTK2 too, I use this version of PHP: php -v PHP 5.1.0-dev (cgi) (built: Apr 18 2005 21:40:41) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.1.0-dev, Copyright (c) 1998-2004 Zend Technologies And PHP-GTK from CVS, but when I run ./buildconf don't work :-( ./buildconf Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20041031 Zend Extension Api No: 220041031 rebuilding aclocal.m4 rebuilding configure autoconf: Undefined macros: configure.in:20: AC_MSG_ERROR(Cannot find php-config. Please use --with-php-config=PATH) make[1]: *** [configure] Error 1 make: *** [all] Error 2 I use version 2.13 of autoconf .... The files are generated but when I run ./configure ... ./configure creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu 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/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend checking for PHP extension directory... /usr/local/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 ./configure: line 6688: syntax error near unexpected token `ATK,atk' ./configure: line 6688: `PKG_CHECK_MODULES(ATK,atk >= atk_required_version,,AC_MSG_ERROR(PHP-GTK 2.x requires Gtk+ 2.x))' Ad I have GTK 2.6.3 installed well .... I don't know why ./buildconf don't works well ... any idea?¿ If I edit the configure file and I edit the line of atk_required_version script configure well but make don't work :( On 4/22/05, Scott Mattocks <scott@crisscott.com> wrote: > Hello, > > I finally got Gtk+ 2.6.7 installed but I still can't get PHP-GTK to > compile. It tells me that even though pkg-config reports version 2.6.7 > version 2.4.0 was found. It says to remove the old version but I don't > know now. I can't even find it. Does anyone have any suggestions? Is > there some config option that I can set to point it in the right place? > > Thanks, > Scott > > -- > PHP-GTK Development Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.gtk.dev (#1098) next »