2.0.0RC1 on Mac OS X El Capitan - 'php_event.h' file not found

Issue #24 resolved
ondrejmirtes created an issue

Hello, I am trying to install this extension via PECL. It crashes on the error message in the title.

My installation settings:

include $ sudo pecl install event-2.0.0RC1
downloading event-2.0.0RC1.tgz ...
Starting to download event-2.0.0RC1.tgz (129,809 bytes)
.....done: 129,809 bytes
50 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
Enable internal debugging in Event [no] :
Enable sockets support in Event [yes] :
libevent installation prefix [/usr] : /usr/local/Cellar/libevent/2.0.22
Include libevent's pthreads library and enable thread safety support in Event [no] :
Include libevent protocol-specific functionality support including HTTP, DNS, and RPC [yes] :
Include libevent OpenSSL support [yes] :
openssl installation prefix [no] :

The final lines in the log are:

 cc -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/event -DPHP_ATOM_INC -I/private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/pear-build-ondrejVWSLR5/event-2.0.0RC1/include -I/private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/pear-build-ondrejVWSLR5/event-2.0.0RC1/main -I/private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/event -I/usr/local/Cellar/php70/7.0.3/include/php -I/usr/local/Cellar/php70/7.0.3/include/php/main -I/usr/local/Cellar/php70/7.0.3/include/php/TSRM -I/usr/local/Cellar/php70/7.0.3/include/php/Zend -I/usr/local/Cellar/php70/7.0.3/include/php/ext -I/usr/local/Cellar/php70/7.0.3/include/php/ext/date/lib -I/php7 -I/usr/local/Cellar/libevent/2.0.22/include -I/usr/local/Cellar/openssl/1.0.2f/include -I/private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/pear-build-ondrejVWSLR5/event-2.0.0RC1/php7/src -I/private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/p
ear-build-ondrejVWSLR5/event-2.0.0RC1/php7/classes -I/private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/pear-build-ondrejVWSLR5/event-2.0.0RC1/php7 -DHAVE_CONFIG_H -g -O2 -c /private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/event/php7/php_event.c  -fno-common -DPIC -o php7/.libs/php_event.o
In file included from /private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/event/php7/php_event.c:19:
/private/var/folders/bq/n96hp7_j1zx79h44r8p7_zl40000gn/T/pear/temp/event/php7/src/common.h:90:10: fatal error: 'php_event.h' file not found
#include "php_event.h"
         ^
1 error generated.
make: *** [php7/php_event.lo] Error 1
ERROR: `make' failed

Comments (2)

  1. Log in to comment