I want in install pecl event
using
pecl install event
I have followed this so far, http://www.lullabot.com/blog/article/installing-php-pear-and-pecl-extensions-mamp-mac-os-x-107-lion, with limited success.
I get the following error
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
This looks like it requires pecl libevent
So I have now run
pecl install libevent-beta
This results in the following error
configure: error: Cannot find libevent headers ERROR:
`/private/tmp/pear/temp/libevent/configure --with-libevent' failed
I know it 'could' work because pecl install uploadprogress
was successful.
How can I install pecl event
?
It might be worth stating my final goal is getting Socket.IO to work (https://github.com/RickySu/phpsocket.io)