pecl install event
我跟了这到目前为止,http://www.lullabot.com/blog/article/installing-php-pear-and-pecl-extensions-mamp-mac-os-x-107-lion,用有限的成功安装pecl event
。
我收到以下错误
configure: error: Please reinstall the event library, or provide the installation prefix via --with-event-libevent-dir option
ERROR: `/private/tmp/pear/temp/event/configure --enable-event-debug=no --enable-event-sockets=yes --with-event-libevent-dir=/usr --with-event-pthreads=no --with-event-extra --with-event-openssl --with-openssl-dir=no' failed
这看起来像它需要pecl libevent
所以我现在已经运行
pecl install libevent-beta
这将导致以下错误
configure: error: Cannot find libevent headers ERROR:
`/private/tmp/pear/temp/libevent/configure --with-libevent' failed
我知道'可以'工作,因为pecl install uploadprogress
成功。
如何安装pecl event
?
这可能是值得说明我的最终目标是让Socket.IO工作(https://github.com/RickySu/phpsocket.io)