php-cp icon indicating copy to clipboard operation
php-cp copied to clipboard

mac install error

Open wanminny opened this issue 8 years ago • 6 comments

  1. 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

wanminny avatar Apr 25 '16 10:04 wanminny

更新后能否给个回复。大神

wanminny avatar Apr 26 '16 08:04 wanminny

ok 兼容后我关闭这个issue你就收到通知了

GXhua avatar Apr 26 '16 10:04 GXhua

不过暂时还没这计划 因为没有人用mac当服务器的

GXhua avatar Apr 26 '16 10:04 GXhua

@GXhua FreeBSD是kqueue,能否考虑做下兼容呢

ericyzhu avatar Jun 18 '16 18:06 ericyzhu

@reallovelei 背锅侠

GXhua avatar Jun 21 '16 05:06 GXhua

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

bukn avatar Feb 03 '17 09:02 bukn