如何在FreeBSD上安装pecl事件?

如何在FreeBSD上安装pecl事件?,freebsd,pecl,Freebsd,Pecl,我已尝试在FreeBSD 8.0上安装pecl事件,但出现错误: # pecl install event Failed to download pecl/event within preferred state "stable", latest release is version 0.9.1, stability "beta", use "channel://pecl.php.net/event-0.9.1" to install install failed # pecl install

我已尝试在FreeBSD 8.0上安装pecl事件,但出现错误:

# pecl install event
Failed to download pecl/event within preferred state "stable", latest release is version 0.9.1, stability "beta", use "channel://pecl.php.net/event-0.9.1" to install
install failed
# pecl install "channel://pecl.php.net/event-0.9.1"
downloading event-0.9.1.tar ...
Starting to download event-0.9.1.tar (Unknown size)
.....................done: 113,664 bytes
11 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module

ERROR: `phpize' failed

我做错了什么?如何安装?

将event-0.9.1.tar文件提取到临时文件夹中。(例如:/tmp/tmp1) 转到临时文件夹中包含config.m4文件的子文件夹

确保您有“/usr/local/bin/phpize”。如果它不在那里。。。找到phpize的位置并创建与/usr/local/bin/phpize的符号链接

而不是再次尝试跑步