Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this scrip

[root@localhost gd]# /usr/local/bin/phpize 

Configuring for:

PHP Api Version:         20090626

Zend Module Api No:      20090626

Zend Extension Api No:   220090626

Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script.

这是什么情况???经过各种尝试,终于发现,少安装了一个软件包

[root@localhost gd]# yum install autoconf

[root@localhost gd]# /usr/local/bin/phpize 

Configuring for:

PHP Api Version:         20090626

Zend Module Api No:      20090626

Zend Extension Api No:   220090626

[root@localhost gd]# ls

CREDITS          config.h.in   gd.dsp      missing

Makefile.global  config.m4     gd_ctx.c    mkinstalldirs

acinclude.m4     config.sub    gdcache.c   php_gd.h

aclocal.m4       config.w32    gdcache.h   run-tests.php

autom4te.cache   configure     install-sh  tests

build            configure.in  libgd

config.guess     gd.c          ltmain.sh

问题解决了

你可能感兴趣的:(Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this scrip)