Błędy $ PHP AUTOCONF w systemie mac os X 10.7.3 podczas próby instalacji rozszerzeń pecl

Próbuję skonfigurować mój komputer z pecl_http i memcache i w obu przypadkach dostaję podobne błędy. To jest na MAC OS X 10.7.3 (lion) i mam również zainstalowany XCODE na nim. Zainstalowałem również Zend Server community edition przed uruchomieniem tych poleceń i mam ustawione zmienne środowiskowe cflags=' - arch i386-arch x86_64'. Więc proszę o pomoc w tym, co muszę zrobić

bash-3.2# **sudo pecl install pecl_http-1.7.1**
downloading pecl_http-1.7.1.tgz ...
Starting to download pecl_http-1.7.1.tgz (174,098 bytes)
.....................................done: 174,098 bytes
71 source files, building
running: 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.
ERROR: `phpize' failed
Author: Ares, 2012-02-17

6 answers

brew install autoconf

Znacznie łatwiejsze rozwiązanie

 291
Author: Bob Spryn,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2012-03-02 02:29:53

Musisz zainstalować autoconfig. Zazwyczaj Lubię instalować biblioteki ze źródeł. Możesz więc wykonać następujące czynności:

curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gz
tar xzf autoconf-latest.tar.gz
cd autoconf-*
./configure --prefix=/usr/local
make
sudo make install
Właśnie przechodziłam przez to Z Mountain Lion.
 87
Author: Ares,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2012-12-28 20:28:09

Na Mac OS X 10.8 sytuacja jest nieco inna. Wysoko głosowane rozwiązanie od Boba Spryna nie działa, ponieważ nie tworzy dowiązań symbolicznych, więc po zainstalowaniu autoconf powinieneś je zrobić:

sudo ln -s /usr/local/Cellar/autoconf/2.69/bin/autoconf /usr/bin/autoconf
sudo ln -s /usr/local/Cellar/autoconf/2.69/bin/autoheader /usr/bin/autoheader

Wiem, że to pytanie było dla 10.7, ale mam nadzieję, że moja odpowiedź jest przydatna dla kogoś na 10.8. :)

Aktualizacja: działa również na 10.10.2010.

 53
Author: Anton Babenko,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2014-11-19 16:11:07

Lub

sudo port install autoconf

Jeśli używasz macports

 14
Author: stoefln,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2012-05-10 13:39:09

XCODE 4.3 nie wstawia wszystkich autoconf itp. narzędzia w folderze programisty. To nawet nie tworzy tego folderu w MACINTOSH HD. Musiałem downgrade do Xcode 4.2.1 który instaluje wszystko, czego potrzebujesz w folderze dewelopera i teraz nie widzę żadnych błędów.

Również tutaj jest przydatne odniesienie .

 3
Author: krishna,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2012-03-12 07:56:46

Może potrzebujesz link autoconf z brew link autoconf.

 0
Author: Jichao,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-08-15 08:14:23