欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

php安装swoole扩展的方法

程序员文章站 2022-05-25 14:37:31
本文实例讲述了php安装swoole扩展的方法。分享给大家供大家参考。具体如下: 我本机是os x,想要安装swoole体验一下,于是: 复制代码 代码如下:andy@...

本文实例讲述了php安装swoole扩展的方法。分享给大家供大家参考。具体如下:

我本机是os x,想要安装swoole体验一下,于是:

复制代码 代码如下:
andy@andymacbookpro:/usr/local/webdata/github$ cd swoole-src/
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$ git pull
already up-to-date.
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$ phpize
configuring for:
php api version:         20100412
zend module api no:      20100525
zend extension api no:   220100525
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$ ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -e
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the c compiler works... yes
checking for c compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the gnu c compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept iso c89... none needed
checking how to run the c preprocessor... cc -e
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -r... no
checking if compiler supports -wl,-rpath,... yes
checking build system type... i386-apple-darwin13.4.0
checking host system type... i386-apple-darwin13.4.0
checking target system type... i386-apple-darwin13.4.0
checking for php prefix... /usr
checking for php includes... -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib
checking for php extension directory... /usr/lib/php/extensions/no-debug-non-zts-20100525
checking for php installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: warning: you will need re2c 0.13.4 or later if you want to regenerate php parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable swoole debug... no
checking enable sockets support... no
checking enable ringbuffer shared memory pool support... no
checking enable async_mysql support... no
checking enable openssl support... no
checking swoole support... yes, shared
checking swoole support... yes, shared
checking if compiling with clang... yes
checking for cpu affinity... no
checking for ext/mysqli support... yes
checking for ext/mysqlnd support... yes
checking for accept4 in -lc... no
checking for signalfd in -lc... no
checking for timerfd_create in -lc... no
checking for eventfd in -lc... no
checking for epoll_create in -lc... no
checking for sendfile in -lc... yes
./configure: line 4740: pgsql_include: command not found
checking for kqueue in -lc... yes
checking for daemon in -lc... yes
checking for mkostemp in -lc... no
checking for pthread_rwlock_init in -lpthread... yes
checking for pthread_spin_lock in -lpthread... no
checking for pthread_mutex_timedlock in -lpthread... no
checking for ssl_library_init in -lssl... yes
checking for clock_gettime in -lc... no
checking for aio_read in -lc... yes
checking for ld used by cc... /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/ld
checking if the linker (/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/ld) is gnu ld... no
checking for /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for bsd-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ansi c header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce pic... -fno-common
checking if cc pic flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin13.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "cxx" to libtool
configure: creating ./config.status
config.status: creating config.h
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$ make
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole.c -o swoole.lo
mkdir .libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole.c  -fno-common -dpic -o .libs/swoole.o
in file included from /usr/local/webdata/github/swoole-src/swoole.c:19:
in file included from ./php_swoole.h:31:
in file included from /usr/include/php/ext/spl/spl_iterators.h:27:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not
      found
#include "pcre.h"
         ^
1 error generated.
make: *** [swoole.lo] error 1
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$

到这里的时候报了一个pcre.h的报错,所以安装一下pcre.h。

好吧,其实不是没有安装pcre,我的本地 php -m已经安装了pcre了。这个错误是这样的:

复制代码 代码如下:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not
      found
#include "pcre.h"

查看php_pcre.h中的第29行:

复制代码 代码如下:
#include "pcre.h"

是这里没有找到pcre.h,那么问题是我们的操作系统环境中没有安装pcre开发包,我们就安装一下好了。

有好几种方式,可以使用brew install的方式也可以到http://www.pcre.org获取源码自己编译:

brew install这种不说了,直接brew install pcre就可以了。

另一种自己编译的方式:http://www.pcre.org这里有两个版本,pcre和pcre2,swoole应该需要的是pcre吧,直接:

复制代码 代码如下:
svn co svn://vcs.exim.org/pcre/code/trunk pcre

然后,好吧,下载的源码中没有./configure,估计要自己写,所以我又改主意了,使用brew install:

复制代码 代码如下:
andy@andymacbookpro:/usr/local/src/pcre$ brew install pcre
==> downloading https://downloads.sf.net/project/machomebrew/bottles/pcre-8.35.
######################################################################## 100.0%
==> pouring pcre-8.35.mavericks.bottle.tar.gz
/usr/local/cellar/pcre/8.35: 146 files, 5.8m

现在寻找本机的pcre.h是这样的:

复制代码 代码如下:
andy@andymacbookpro:/usr/include/php/ext/pcre$ sudo find / -name pcre.h
password:
find: /dev/fd/3: not a directory
find: /dev/fd/4: not a directory
/users/andy/downloads/php-5.4.30/ext/pcre/pcrelib/pcre.h
/usr/local/cellar/pcre/8.35/include/pcre.h
/usr/local/cellar/php54/5.4.30/include/php/ext/pcre/pcrelib/pcre.h
/usr/local/include/pcre.h
andy@andymacbookpro:/usr/include/php/ext/pcre$

之后编译,成功,但是有几个warning,数了数是6个:

复制代码 代码如下:
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$ make
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole.c -o swoole.lo
mkdir .libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole.c  -fno-common -dpic -o .libs/swoole.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_server.c -o swoole_server.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_server.c  -fno-common -dpic -o .libs/swoole_server.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_lock.c -o swoole_lock.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_lock.c  -fno-common -dpic -o .libs/swoole_lock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_client.c -o swoole_client.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_client.c  -fno-common -dpic -o .libs/swoole_client.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_event.c -o swoole_event.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_event.c  -fno-common -dpic -o .libs/swoole_event.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_timer.c -o swoole_timer.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_timer.c  -fno-common -dpic -o .libs/swoole_timer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_async.c -o swoole_async.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_async.c  -fno-common -dpic -o .libs/swoole_async.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_process.c -o swoole_process.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_process.c  -fno-common -dpic -o .libs/swoole_process.o
/usr/local/webdata/github/swoole-src/swoole_process.c:622:17: warning: 'daemon' is deprecated: first deprecated in os x
      10.5 [-wdeprecated-declarations]
    return_bool(daemon(nochdir, noclose) == 0);
                ^
/usr/include/php/zend/zend_api.h:626:43: note: expanded from macro 'return_bool'
#define return_bool(b)                                  { retval_bool(b); return; }
                                                                      ^
/usr/include/php/zend/zend_api.h:614:52: note: expanded from macro 'retval_bool'
#define retval_bool(b)                                  zval_bool(return_value, b)
                                                                                ^
/usr/include/php/zend/zend_api.h:550:21: note: expanded from macro 'zval_bool'
                z_lval_p(__z) = ((b) != 0);     \
                                  ^
/usr/include/stdlib.h:267:6: note: 'daemon' has been explicitly marked deprecated here
int      daemon(int, int) __darwin_1050(daemon) __osx_available_but_deprecated(__mac_10_0, __mac_10_5, __iphone_...
         ^
1 warning generated.
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_buffer.c -o swoole_buffer.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_buffer.c  -fno-common -dpic -o .libs/swoole_buffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_table.c -o swoole_table.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_table.c  -fno-common -dpic -o .libs/swoole_table.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_http.c -o swoole_http.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_http.c  -fno-common -dpic -o .libs/swoole_http.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/swoole_websocket.c -o swoole_websocket.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/swoole_websocket.c  -fno-common -dpic -o .libs/swoole_websocket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/base.c -o src/core/base.lo
mkdir src/core/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/base.c  -fno-common -dpic -o src/core/.libs/base.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/log.c -o src/core/log.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/log.c  -fno-common -dpic -o src/core/.libs/log.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/hashmap.c -o src/core/hashmap.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/hashmap.c  -fno-common -dpic -o src/core/.libs/hashmap.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/ringqueue.c -o src/core/ringqueue.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/ringqueue.c  -fno-common -dpic -o src/core/.libs/ringqueue.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/channel.c -o src/core/channel.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/channel.c  -fno-common -dpic -o src/core/.libs/channel.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/string.c -o src/core/string.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/string.c  -fno-common -dpic -o src/core/.libs/string.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/array.c -o src/core/array.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/array.c  -fno-common -dpic -o src/core/.libs/array.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/core/socket.c -o src/core/socket.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/core/socket.c  -fno-common -dpic -o src/core/.libs/socket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/sharememory.c -o src/memory/sharememory.lo
mkdir src/memory/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/sharememory.c  -fno-common -dpic -o src/memory/.libs/sharememory.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/memoryglobal.c -o src/memory/memoryglobal.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/memoryglobal.c  -fno-common -dpic -o src/memory/.libs/memoryglobal.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/ringbuffer.c -o src/memory/ringbuffer.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/ringbuffer.c  -fno-common -dpic -o src/memory/.libs/ringbuffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/fixedpool.c -o src/memory/fixedpool.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/fixedpool.c  -fno-common -dpic -o src/memory/.libs/fixedpool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/malloc.c -o src/memory/malloc.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/malloc.c  -fno-common -dpic -o src/memory/.libs/malloc.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/table.c -o src/memory/table.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/table.c  -fno-common -dpic -o src/memory/.libs/table.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/memory/buffer.c -o src/memory/buffer.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/memory/buffer.c  -fno-common -dpic -o src/memory/.libs/buffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/factory/factory.c -o src/factory/factory.lo
mkdir src/factory/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/factory/factory.c  -fno-common -dpic -o src/factory/.libs/factory.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/factory/factorythread.c -o src/factory/factorythread.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/factory/factorythread.c  -fno-common -dpic -o src/factory/.libs/factorythread.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/factory/factoryprocess.c -o src/factory/factoryprocess.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/factory/factoryprocess.c  -fno-common -dpic -o src/factory/.libs/factoryprocess.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/reactorbase.c -o src/reactor/reactorbase.lo
mkdir src/reactor/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/reactorbase.c  -fno-common -dpic -o src/reactor/.libs/reactorbase.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/reactorselect.c -o src/reactor/reactorselect.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/reactorselect.c  -fno-common -dpic -o src/reactor/.libs/reactorselect.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/reactorpoll.c -o src/reactor/reactorpoll.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/reactorpoll.c  -fno-common -dpic -o src/reactor/.libs/reactorpoll.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/reactorepoll.c -o src/reactor/reactorepoll.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/reactorepoll.c  -fno-common -dpic -o src/reactor/.libs/reactorepoll.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/reactor/reactorkqueue.c -o src/reactor/reactorkqueue.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/reactor/reactorkqueue.c  -fno-common -dpic -o src/reactor/.libs/reactorkqueue.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/pipe/pipebase.c -o src/pipe/pipebase.lo
mkdir src/pipe/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/pipe/pipebase.c  -fno-common -dpic -o src/pipe/.libs/pipebase.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/pipe/pipeeventfd.c -o src/pipe/pipeeventfd.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/pipe/pipeeventfd.c  -fno-common -dpic -o src/pipe/.libs/pipeeventfd.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/pipe/pipeunsock.c -o src/pipe/pipeunsock.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/pipe/pipeunsock.c  -fno-common -dpic -o src/pipe/.libs/pipeunsock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/queue/msg.c -o src/queue/msg.lo
mkdir src/queue/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/queue/msg.c  -fno-common -dpic -o src/queue/.libs/msg.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/semaphore.c -o src/lock/semaphore.lo
mkdir src/lock/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/semaphore.c  -fno-common -dpic -o src/lock/.libs/semaphore.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/mutex.c -o src/lock/mutex.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/mutex.c  -fno-common -dpic -o src/lock/.libs/mutex.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/rwlock.c -o src/lock/rwlock.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/rwlock.c  -fno-common -dpic -o src/lock/.libs/rwlock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/spinlock.c -o src/lock/spinlock.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/spinlock.c  -fno-common -dpic -o src/lock/.libs/spinlock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/lock/filelock.c -o src/lock/filelock.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/lock/filelock.c  -fno-common -dpic -o src/lock/.libs/filelock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/server.c -o src/network/server.lo
mkdir src/network/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/server.c  -fno-common -dpic -o src/network/.libs/server.o
/usr/local/webdata/github/swoole-src/src/network/server.c:452:7: warning: 'daemon' is deprecated: first deprecated in os
      x 10.5 [-wdeprecated-declarations]
                if (daemon(0, 1) < 0)
                    ^
/usr/include/stdlib.h:267:6: note: 'daemon' has been explicitly marked deprecated here
int      daemon(int, int) __darwin_1050(daemon) __osx_available_but_deprecated(__mac_10_0, __mac_10_5, __iphone_...
         ^
1 warning generated.
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/taskworker.c -o src/network/taskworker.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/taskworker.c  -fno-common -dpic -o src/network/.libs/taskworker.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/client.c -o src/network/client.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/client.c  -fno-common -dpic -o src/network/.libs/client.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/connection.c -o src/network/connection.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/connection.c  -fno-common -dpic -o src/network/.libs/connection.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/processpool.c -o src/network/processpool.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/processpool.c  -fno-common -dpic -o src/network/.libs/processpool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/threadpool.c -o src/network/threadpool.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/threadpool.c  -fno-common -dpic -o src/network/.libs/threadpool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/reactorthread.c -o src/network/reactorthread.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/reactorthread.c  -fno-common -dpic -o src/network/.libs/reactorthread.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/reactorprocess.c -o src/network/reactorprocess.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/reactorprocess.c  -fno-common -dpic -o src/network/.libs/reactorprocess.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/worker.c -o src/network/worker.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/worker.c  -fno-common -dpic -o src/network/.libs/worker.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/network/eventtimer.c -o src/network/eventtimer.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/network/eventtimer.c  -fno-common -dpic -o src/network/.libs/eventtimer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/base.c -o src/os/base.lo
mkdir src/os/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/base.c  -fno-common -dpic -o src/os/.libs/base.o
/usr/local/webdata/github/swoole-src/src/os/base.c:77:51: warning: format specifies type 'long' but the argument has
      type 'off_t' (aka 'long long') [-wformat]
                        (aio_event == sw_aio_read) ? "read" : "write", aio_event->offset, (uint64_t) aio_event->nbytes);
                                                                       ^~~~~~~~~~~~~~~~~
/usr/local/webdata/github/swoole-src/src/os/base.c:77:70: warning: format specifies type 'unsigned long' but the
      argument has type 'uint64_t' (aka 'unsigned long long') [-wformat]
                        (aio_event == sw_aio_read) ? "read" : "write", aio_event->offset, (uint64_t) aio_event->nbytes);
                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/linux_aio.c -o src/os/linux_aio.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/linux_aio.c  -fno-common -dpic -o src/os/.libs/linux_aio.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/gcc_aio.c -o src/os/gcc_aio.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/gcc_aio.c  -fno-common -dpic -o src/os/.libs/gcc_aio.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/sendfile.c -o src/os/sendfile.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/sendfile.c  -fno-common -dpic -o src/os/.libs/sendfile.o
/usr/local/webdata/github/swoole-src/src/os/sendfile.c:41:44: warning: incompatible pointer types passing 'size_t *'
      (aka 'unsigned long *') to parameter of type 'off_t *' (aka 'long long *') [-wincompatible-pointer-types]
    ret = sendfile(in_fd, out_fd, *offset, &size, &hdtr, 0);
                                           ^~~~~
/usr/include/sys/socket.h:580:38: note: passing argument to parameter here
int     sendfile(int, int, off_t, off_t *, struct sf_hdtr *, int);
                                         ^
/usr/local/webdata/github/swoole-src/src/os/sendfile.c:49:15: warning: variable 'sent_bytes' is uninitialized when used
      here [-wuninitialized]
                        *offset += sent_bytes;
                                   ^~~~~~~~~~
/usr/local/webdata/github/swoole-src/src/os/sendfile.c:25:18: note: initialize the variable 'sent_bytes' to silence this
      warning
        off_t sent_bytes;
                        ^
                         = 0
2 warnings generated.
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/signal.c -o src/os/signal.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/signal.c  -fno-common -dpic -o src/os/.libs/signal.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/os/timer.c -o src/os/timer.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/os/timer.c  -fno-common -dpic -o src/os/.libs/timer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/ssl.c -o src/protocol/ssl.lo
mkdir src/protocol/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/ssl.c  -fno-common -dpic -o src/protocol/.libs/ssl.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/http.c -o src/protocol/http.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/http.c  -fno-common -dpic -o src/protocol/.libs/http.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/websocket.c -o src/protocol/websocket.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/websocket.c  -fno-common -dpic -o src/protocol/.libs/websocket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/mqtt.c -o src/protocol/mqtt.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/mqtt.c  -fno-common -dpic -o src/protocol/.libs/mqtt.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/src/protocol/base64.c -o src/protocol/base64.lo
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/src/protocol/base64.c  -fno-common -dpic -o src/protocol/.libs/base64.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=compile cc  -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89   -c /usr/local/webdata/github/swoole-src/thirdparty/php_http_parser.c -o thirdparty/php_http_parser.lo
mkdir thirdparty/.libs
 cc -i. -i/usr/local/webdata/github/swoole-src -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include -dhave_config_h -wall -pthread -g -o2 -std=gnu89 -c /usr/local/webdata/github/swoole-src/thirdparty/php_http_parser.c  -fno-common -dpic -o thirdparty/.libs/php_http_parser.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=link cc -dphp_atom_inc -i/usr/local/webdata/github/swoole-src/include -i/usr/local/webdata/github/swoole-src/main -i/usr/local/webdata/github/swoole-src -i/usr/include/php -i/usr/include/php/main -i/usr/include/php/tsrm -i/usr/include/php/zend -i/usr/include/php/ext -i/usr/include/php/ext/date/lib -i/usr/local/webdata/github/swoole-src/include  -dhave_config_h  -wall -pthread -g -o2 -std=gnu89  -lpthread -o swoole.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/webdata/github/swoole-src/modules  swoole.lo swoole_server.lo swoole_lock.lo swoole_client.lo swoole_event.lo swoole_timer.lo swoole_async.lo swoole_process.lo swoole_buffer.lo swoole_table.lo swoole_http.lo swoole_websocket.lo src/core/base.lo src/core/log.lo src/core/hashmap.lo src/core/ringqueue.lo src/core/channel.lo src/core/string.lo src/core/array.lo src/core/socket.lo src/memory/sharememory.lo src/memory/memoryglobal.lo src/memory/ringbuffer.lo src/memory/fixedpool.lo src/memory/malloc.lo src/memory/table.lo src/memory/buffer.lo src/factory/factory.lo src/factory/factorythread.lo src/factory/factoryprocess.lo src/reactor/reactorbase.lo src/reactor/reactorselect.lo src/reactor/reactorpoll.lo src/reactor/reactorepoll.lo src/reactor/reactorkqueue.lo src/pipe/pipebase.lo src/pipe/pipeeventfd.lo src/pipe/pipeunsock.lo src/queue/msg.lo src/lock/semaphore.lo src/lock/mutex.lo src/lock/rwlock.lo src/lock/spinlock.lo src/lock/filelock.lo src/network/server.lo src/network/taskworker.lo src/network/client.lo src/network/connection.lo src/network/processpool.lo src/network/threadpool.lo src/network/reactorthread.lo src/network/reactorprocess.lo src/network/worker.lo src/network/eventtimer.lo src/os/base.lo src/os/linux_aio.lo src/os/gcc_aio.lo src/os/sendfile.lo src/os/signal.lo src/os/timer.lo src/protocol/ssl.lo src/protocol/http.lo src/protocol/websocket.lo src/protocol/mqtt.lo src/protocol/base64.lo thirdparty/php_http_parser.lo
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/swoole.so -bundle  .libs/swoole.o .libs/swoole_server.o .libs/swoole_lock.o .libs/swoole_client.o .libs/swoole_event.o .libs/swoole_timer.o .libs/swoole_async.o .libs/swoole_process.o .libs/swoole_buffer.o .libs/swoole_table.o .libs/swoole_http.o .libs/swoole_websocket.o src/core/.libs/base.o src/core/.libs/log.o src/core/.libs/hashmap.o src/core/.libs/ringqueue.o src/core/.libs/channel.o src/core/.libs/string.o src/core/.libs/array.o src/core/.libs/socket.o src/memory/.libs/sharememory.o src/memory/.libs/memoryglobal.o src/memory/.libs/ringbuffer.o src/memory/.libs/fixedpool.o src/memory/.libs/malloc.o src/memory/.libs/table.o src/memory/.libs/buffer.o src/factory/.libs/factory.o src/factory/.libs/factorythread.o src/factory/.libs/factoryprocess.o src/reactor/.libs/reactorbase.o src/reactor/.libs/reactorselect.o src/reactor/.libs/reactorpoll.o src/reactor/.libs/reactorepoll.o src/reactor/.libs/reactorkqueue.o src/pipe/.libs/pipebase.o src/pipe/.libs/pipeeventfd.o src/pipe/.libs/pipeunsock.o src/queue/.libs/msg.o src/lock/.libs/semaphore.o src/lock/.libs/mutex.o src/lock/.libs/rwlock.o src/lock/.libs/spinlock.o src/lock/.libs/filelock.o src/network/.libs/server.o src/network/.libs/taskworker.o src/network/.libs/client.o src/network/.libs/connection.o src/network/.libs/processpool.o src/network/.libs/threadpool.o src/network/.libs/reactorthread.o src/network/.libs/reactorprocess.o src/network/.libs/worker.o src/network/.libs/eventtimer.o src/os/.libs/base.o src/os/.libs/linux_aio.o src/os/.libs/gcc_aio.o src/os/.libs/sendfile.o src/os/.libs/signal.o src/os/.libs/timer.o src/protocol/.libs/ssl.o src/protocol/.libs/http.o src/protocol/.libs/websocket.o src/protocol/.libs/mqtt.o src/protocol/.libs/base64.o thirdparty/.libs/php_http_parser.o  -lpthread  -pthread
clang: warning: argument unused during compilation: '-pthread'
dsymutil .libs/swoole.so || :
creating swoole.la
(cd .libs && rm -f swoole.la && ln -s ../swoole.la swoole.la)
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=install cp ./swoole.la /usr/local/webdata/github/swoole-src/modules
cp ./.libs/swoole.so /usr/local/webdata/github/swoole-src/modules/swoole.so
cp ./.libs/swoole.lai /usr/local/webdata/github/swoole-src/modules/swoole.la
----------------------------------------------------------------------
libraries have been installed in:
   /usr/local/webdata/github/swoole-src/modules
if you ever happen to want to link against installed libraries
in a given directory, libdir, you must either use libtool, and
specify the full pathname of the library, or use the `-llibdir'
flag during linking and do at least one of the following:
   - add libdir to the `dyld_library_path' environment variable
     during execution

see any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
build complete.
don't forget to run 'make test'.
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$

然后我们安装:

复制代码 代码如下:
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$ make install
installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20100525/
cp: /usr/lib/php/extensions/no-debug-non-zts-20100525/#inst@21013#: permission denied
make: *** [install-modules] error 1
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$ sudo make install
password:
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=install cp ./swoole.la /usr/local/webdata/github/swoole-src/modules
cp ./.libs/swoole.so /usr/local/webdata/github/swoole-src/modules/swoole.so
cp ./.libs/swoole.lai /usr/local/webdata/github/swoole-src/modules/swoole.la
----------------------------------------------------------------------
libraries have been installed in:
   /usr/local/webdata/github/swoole-src/modules
if you ever happen to want to link against installed libraries
in a given directory, libdir, you must either use libtool, and
specify the full pathname of the library, or use the `-llibdir'
flag during linking and do at least one of the following:
   - add libdir to the `dyld_library_path' environment variable
     during execution
see any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20100525/
andy@andymacbookpro:/usr/local/webdata/github/swoole-src$

安装成功。

可以查看一下这个目录:

复制代码 代码如下:
andy@andymacbookpro:/usr/lib/php/extensions/no-debug-non-zts-20100525$ ll
total 2256
drwxr-xr-x  10 root  wheel     340  2 19 23:09 ./
drwxr-xr-x   3 root  wheel     102  1 20  2014 ../
-rwxr-xr-x   1 root  wheel   10496  2  6 14:58 andy.so*
-rwxr-xr-x   1 root  wheel  172732  7 23  2014 apc.so*
-rwxr-xr-x   1 root  wheel   51424  7  1  2014 mssql.so*
-rwxr-xr-x   1 root  wheel   26928  2 13 15:11 pcntl.so*
-rwxr-xr-x   1 root  wheel   30084  7  2  2014 pdo_odbc.so*
-rwxr-xr-x   1 root  wheel  255656  6 23  2014 redis.so*
-rwxr-xr-x   1 root  wheel  388312  2 19 23:09 swoole.so*
-rwxr-xr-x   1 root  wheel  200880  9 22 09:37 xdebug.so*
andy@andymacbookpro:/usr/lib/php/extensions/no-debug-non-zts-20100525$

可以看到这里已经有很多之前安装的扩展了,然后我们接下来只要把这一句添加进我们本地的php.ini文件就好了:

复制代码 代码如下:
extension = swoole.so

如果不知道本机的php.ini在哪里,可以这样找:

复制代码 代码如下:
andy@andymacbookpro:/usr/lib/php/extensions/no-debug-non-zts-20100525$ php --ini
configuration file (php.ini) path: /etc
loaded configuration file:         /etc/php.ini
scan for additional .ini files in: /library/server/web/config/php
additional .ini files parsed:      (none)
andy@andymacbookpro:/usr/lib/php/extensions/no-debug-non-zts-20100525$

可以看到我本地的php.ini的目录是/etc/php.ini

之后我们查看一下php -m如下:

复制代码 代码如下:
andy@andymacbookpro:/usr/lib/php/extensions/no-debug-non-zts-20100525$ php -m
[php modules]
andy
bcmath
bz2
calendar
core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
hash
iconv
json
ldap
libxml
mbstring
mssql
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
pdo
pdo_dblib
pdo_mysql
pdo_odbc
pdo_sqlite
phar
posix
readline
redis
reflection
session
shmop
simplexml
snmp
soap
sockets
spl
sqlite3
standard
swoole
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xdebug
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[zend modules]
xdebug

andy@andymacbookpro:/usr/lib/php/extensions/no-debug-non-zts-20100525$

看见了吧,swoole已经在我们的本地php扩展里了,下面就可以接着玩一下swoole了,这个以后再讲:-)。

ps.
后面补充一下,我刚刚在安装pcre扩展的时候选择的是brew安装,然后我是用svn拉取的代码,那样确实是无法安装的,除非你自己写configure文件,所以正确的应该是到sourceforge上去,到这个地址:

http://sourceforge.net/projects/pcre/files/pcre/8.36/

这下面都是release版本的,直接下载一个tar到本地,然后解压,目录中就直接包括了./configure文件,就可以安装了。

我们再简单说下:

复制代码 代码如下:
andy@andymacbookpro:/usr/local/src$ wget http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz
--2015-02-19 23:44:04--  http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz
resolving sourceforge.net... 216.34.181.60
connecting to sourceforge.net|216.34.181.60|:80... connected.
http request sent, awaiting response... 302 found
location: http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz/download [following]
--2015-02-19 23:44:06--  http://sourceforge.net/projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz/download
connecting to sourceforge.net|216.34.181.60|:80... connected.
http request sent, awaiting response... 302 found
location: http://downloads.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz?r=&ts=1424360645&use_mirror=jaist [following]
--2015-02-19 23:44:07--  http://downloads.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz?r=&ts=1424360645&use_mirror=jaist
resolving downloads.sourceforge.net... 216.34.181.59
connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
http request sent, awaiting response... 302 found
location: http://jaist.dl.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz [following]
--2015-02-19 23:44:08--  http://jaist.dl.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.tar.gz
resolving jaist.dl.sourceforge.net... 150.65.7.130, 2001:df0:2ed:feed::feed
connecting to jaist.dl.sourceforge.net|150.65.7.130|:80... connected.
http request sent, awaiting response... 200 ok
length: 2009464 (1.9m) [application/x-gzip]
saving to: 'pcre-8.36.tar.gz'
100%[=====================================>] 2,009,464   59.3kb/s   in 27s
2015-02-19 23:44:38 (72.2 kb/s) - 'pcre-8.36.tar.gz' saved [2009464/2009464]
andy@andymacbookpro:/usr/local/src$

之后tar zxvf pcre-8.36.tar.gz:

复制代码 代码如下:
andy@andymacbookpro:/usr/local/src$ ll
total 3928
drwxr-xr-x    6 andy  admin      204  2 19 23:45 ./
drwxrwxr-x   24 root  admin      816  2 19 22:47 ../
drwxr-xr-x  136 andy  admin     4624  2 19 22:51 pcre/
drwxr-xr-x  144 andy  admin     4896  9 26 17:23 pcre-8.36/
-rw-r--r--    1 andy  admin  2009464 10  1 16:44 pcre-8.36.tar.gz
drwxr-xr-x   35 andy  admin     1190  2 19 22:49 pcre2/
andy@andymacbookpro:/usr/local/src$

然后我们就可以进入目录pcre-8.36进行make && make install编译安装了~~。鉴于我们本地已经安装了一个8.35的版本,我们就不安装最新的8.36版本了,可能会有冲突吧。

希望本文所述对大家的php程序设计有所帮助。