php-cp
php-cp copied to clipboard
mac install error
- phpize 2../configure 3.make mac-share:php-cp-php7 wanmin$ sudo make Password: /bin/sh /Users/wanmin/Downloads/php-cp-php7/libtool --mode=compile cc -I. -I/Users/wanmin/Downloads/php-cp-php7 -DPHP_ATOM_INC -I/Users/wanmin/Downloads/php-cp-php7/include -I/Users/wanmin/Downloads/php-cp-php7/main -I/Users/wanmin/Downloads/php-cp-php7 -I/usr/local/Cellar/php70/7.0.5/include/php -I/usr/local/Cellar/php70/7.0.5/include/php/main -I/usr/local/Cellar/php70/7.0.5/include/php/TSRM -I/usr/local/Cellar/php70/7.0.5/include/php/Zend -I/usr/local/Cellar/php70/7.0.5/include/php/ext -I/usr/local/Cellar/php70/7.0.5/include/php/ext/date/lib -I/Users/wanmin/Downloads/php-cp-php7/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /Users/wanmin/Downloads/php-cp-php7/connect_pool.c -o connect_pool.lo cc -I. -I/Users/wanmin/Downloads/php-cp-php7 -DPHP_ATOM_INC -I/Users/wanmin/Downloads/php-cp-php7/include -I/Users/wanmin/Downloads/php-cp-php7/main -I/Users/wanmin/Downloads/php-cp-php7 -I/usr/local/Cellar/php70/7.0.5/include/php -I/usr/local/Cellar/php70/7.0.5/include/php/main -I/usr/local/Cellar/php70/7.0.5/include/php/TSRM -I/usr/local/Cellar/php70/7.0.5/include/php/Zend -I/usr/local/Cellar/php70/7.0.5/include/php/ext -I/usr/local/Cellar/php70/7.0.5/include/php/ext/date/lib -I/Users/wanmin/Downloads/php-cp-php7/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /Users/wanmin/Downloads/php-cp-php7/connect_pool.c -fno-common -DPIC -o .libs/connect_pool.o In file included from /Users/wanmin/Downloads/php-cp-php7/connect_pool.c:17: ./php_connect_pool.h:32:10: fatal error: 'sys/epoll.h' file not found #include <sys/epoll.h> //todo ^ 1 error generated. make: *** [connect_pool.lo] Error 1
更新后能否给个回复。大神
ok 兼容后我关闭这个issue你就收到通知了
不过暂时还没这计划 因为没有人用mac当服务器的
@GXhua FreeBSD是kqueue,能否考虑做下兼容呢
@reallovelei 背锅侠
mac上用kqueue,没有epoll,这个还没支持
On Fri, Feb 3, 2017 at 5:39 PM, ruckfull [email protected] wrote:
我这边在Mac上也出现些问题: In file included from /Users/zhaoguang/Desktop/php- cp-1.5.0/connect_pool.c:17: ./php_connect_pool.h:32:10: fatal error: 'sys/epoll.h' file not found #include <sys/epoll.h> //todo ^ 1 error generated. make: *** [connect_pool.lo] Error 1
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/swoole/php-cp/issues/27#issuecomment-277204615, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGNEP8o_ZQQPh4XJnC0FFYlmXGmS1CLks5rYvXlgaJpZM4IOz-4 .
-- http://blog.bukn.info