Re: Buildconf failing: undefined macro
| From: | Rajesh Kumar | Date: | Tue, 22 Mar 2005 19:33:43 +0000 |
| Subject: | Re: Buildconf failing: undefined macro | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5689@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
Try running your PHP5 phpize manually like this: sh - x <path-to-php5-phpize> and see if it invokes aclocal in the process.It does. Now what? Here's the output: $ sh -x /usr/src/php/php-5.0.3/scripts/phpize + prefix=/usr + phpdir=/usr/lib/php/build + includedir=/usr/include/php ++ pwd + builddir=/home/rajesh/dev/php-gtk + FILES_BUILD='mkdep.awk scan_makefile_in.awk shtool' + FILES='acinclude.m4 Makefile.global' + CLEAN_FILES='acinclude.m4 Makefile.global *.lo *.la *.o .deps .libs/ build/
include/ modules/ install-sh mkinstalldirs missing config.nice config.sub config.guess configure configure.in aclocal.m4 config.h config.h.in conftest* ltmain.sh libtool config.cache config.log config.status Makefile Makefile.fragments Makefile.objects confdefs.h'+ case "$1" in + phpize_check_configm4 0 + test '!' -r config.m4 + phpize_print_api_numbers + phpize_get_api_numbers ++ egrep '#define PHP_API_VERSION' /usr/include/php/main/php.h ++ sed 's/#define PHP_API_VERSION//' + PHP_API_VERSION=' 20031224' ++ egrep '#define ZEND_MODULE_API_NO' /usr/include/php/Zend/zend_modules.h ++ sed 's/#define ZEND_MODULE_API_NO//' + ZEND_MODULE_API_NO=' 20041030' ++ egrep '#define ZEND_EXTENSION_API_NO' /usr/include/php/Zend/zend_extensions.h ++ sed 's/#define ZEND_EXTENSION_API_NO//'
+ ZEND_EXTENSION_API_NO=' 220040412'+ echo 'Configuring for:' Configuring for:
+ echo 'PHP Api Version: ' 20031224 PHP Api Version: 20031224 + echo 'Zend Module Api No: ' 20041030 Zend Module Api No: 20041030+ echo 'Zend Extension Api No: ' 220040412 Zend Extension Api No: 220040412 + phpize_copy_files + test -d build + cd /usr/lib/php/build + cp mkdep.awk scan_makefile_in.awk shtool /home/rajesh/dev/php-gtk/build + cd /usr/lib/php/build + cp acinclude.m4 Makefile.global /home/rajesh/dev/php-gtk + phpize_replace_prefix + sed -e s#/usr#/usr# + touch install-sh mkinstalldirs missing + phpize_autotools + aclocal + autoconf configure.in:22: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:3513: error: possibly undefined macro: AM_PATH_GLIB_2_0
configure:3627: error: possibly undefined macro: AM_PATH_GTK_2_0
+ exit 1
--
[ Rajesh Kumar ]