php安装swoole扩展的方法

网络编程 2021-07-05 09:09www.168986.cn编程入门
这篇文章主要介绍了php安装swoole扩展的方法,以OS X操作系统为例分析了swoole扩展的安装技巧,具有一定参考借鉴价值,需要的朋友可以参考下

本文实例讲述了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 ...
checking whether the C piler works... yes
checking for C piler default output file name... a.out
checking for suffix of executables...
checking whether we are cross piling... no
checking for suffix of object files... o
checking whether we are using the GNU C piler... yes
checking whether aepts -g... yes
checking for option to aept ISO C89... none needed
checking how to run the C preprocessor... -E
checking for i... no
checking for sun... no
checking whether understands -c and -o together... yes
checking for system library directory... lib
checking if piler supports -R... no
checking if piler 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 piling with clang... yes
checking for cpu affinity... no
checking for ext/mysqli support... yes
checking for ext/mysqlnd support... yes
checking for aept4 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: mand 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 ... /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-patible 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 dlf.h usability... yes
checking dlf.h presence... yes
checking for dlf.h... yes
checking the maximum length of mand line arguments... 196608
checking mand to parse /usr/bin/nm output from 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 supports -fno-rtti -fno-exceptions... yes
checking for option to produce PIC... -fno-mon
checking if PIC flag -fno-mon works... yes
checking if static flag -static works... no
checking if supports -c -o file.o... yes
checking whether the 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=pile   -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
  -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-mon -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://.pcre.获取源码自己编译

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

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

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

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

代码如下:
andy@AndyMacBookPro:/usr/local/src/pcre$ brew install pcre
==> Downloading https://downloads.sf./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=pile   -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
  -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-mon -DPIC -o .libs/swoole.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_server.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_lock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_client.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_event.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_timer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_async.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -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=pile   -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
  -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-mon -DPIC -o .libs/swoole_buffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_table.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_http.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o .libs/swoole_websocket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/core/.libs/base.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/core/.libs/log.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/core/.libs/hashmap.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/core/.libs/RingQueue.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/core/.libs/Channel.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/core/.libs/string.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/core/.libs/array.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/core/.libs/socket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/memory/.libs/ShareMemory.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/memory/.libs/MemoryGlobal.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/memory/.libs/RingBuffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/memory/.libs/FixedPool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/memory/.libs/Malloc.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/memory/.libs/Table.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/memory/.libs/Buffer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/factory/.libs/Factory.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/factory/.libs/FactoryThread.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/factory/.libs/FactoryProcess.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/reactor/.libs/ReactorBase.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/reactor/.libs/ReactorSelect.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/reactor/.libs/ReactorPoll.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/reactor/.libs/ReactorEpoll.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/reactor/.libs/ReactorKqueue.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/pipe/.libs/PipeBase.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/pipe/.libs/PipeEventfd.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/pipe/.libs/PipeUnsock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/queue/.libs/Msg.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/lock/.libs/Semaphore.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/lock/.libs/Mutex.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/lock/.libs/RWLock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/lock/.libs/SpinLock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/lock/.libs/FileLock.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/Server.c -o src/work/Server.lo
mkdir src/work/.libs
  -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/work/Server.c  -fno-mon -DPIC -o src/work/.libs/Server.o
/usr/local/webdata/github/swoole-src/src/work/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=pile   -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/work/TaskWorker.c -o src/work/TaskWorker.lo
  -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/work/TaskWorker.c  -fno-mon -DPIC -o src/work/.libs/TaskWorker.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/Client.c -o src/work/Client.lo
  -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/work/Client.c  -fno-mon -DPIC -o src/work/.libs/Client.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/Connection.c -o src/work/Connection.lo
  -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/work/Connection.c  -fno-mon -DPIC -o src/work/.libs/Connection.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/ProcessPool.c -o src/work/ProcessPool.lo
  -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/work/ProcessPool.c  -fno-mon -DPIC -o src/work/.libs/ProcessPool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/ThreadPool.c -o src/work/ThreadPool.lo
  -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/work/ThreadPool.c  -fno-mon -DPIC -o src/work/.libs/ThreadPool.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/ReactorThread.c -o src/work/ReactorThread.lo
  -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/work/ReactorThread.c  -fno-mon -DPIC -o src/work/.libs/ReactorThread.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/ReactorProcess.c -o src/work/ReactorProcess.lo
  -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/work/ReactorProcess.c  -fno-mon -DPIC -o src/work/.libs/ReactorProcess.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/Worker.c -o src/work/Worker.lo
  -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/work/Worker.c  -fno-mon -DPIC -o src/work/.libs/Worker.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/work/EventTimer.c -o src/work/EventTimer.lo
  -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/work/EventTimer.c  -fno-mon -DPIC -o src/work/.libs/EventTimer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -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=pile   -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
  -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-mon -DPIC -o src/os/.libs/linux_aio.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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/g_aio.c -o src/os/g_aio.lo
  -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/g_aio.c  -fno-mon -DPIC -o src/os/.libs/g_aio.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/os/.libs/sendfile.o
/usr/local/webdata/github/swoole-src/src/os/sendfile.c:41:44: warning: inpatible pointer types passing 'size_t '
      (aka 'unsigned long ') to parameter of type 'off_t ' (aka 'long long ') [-Winpatible-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=pile   -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
  -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-mon -DPIC -o src/os/.libs/signal.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/os/.libs/timer.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/protocol/.libs/SSL.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/protocol/.libs/Http.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/protocol/.libs/WebSocket.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/protocol/.libs/Mqtt.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o src/protocol/.libs/Base64.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=pile   -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
  -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-mon -DPIC -o thirdparty/.libs/php_http_parser.o
/bin/sh /usr/local/webdata/github/swoole-src/libtool --mode=link -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/work/Server.lo src/work/TaskWorker.lo src/work/Client.lo src/work/Connection.lo src/work/ProcessPool.lo src/work/ThreadPool.lo src/work/ReactorThread.lo src/work/ReactorProcess.lo src/work/Worker.lo src/work/EventTimer.lo src/os/base.lo src/os/linux_aio.lo src/os/g_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
${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/work/.libs/Server.o src/work/.libs/TaskWorker.o src/work/.libs/Client.o src/work/.libs/Connection.o src/work/.libs/ProcessPool.o src/work/.libs/ThreadPool.o src/work/.libs/ReactorThread.o src/work/.libs/ReactorProcess.o src/work/.libs/Worker.o src/work/.libs/EventTimer.o src/os/.libs/base.o src/os/.libs/linux_aio.o src/os/.libs/g_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 pilation: '-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 plete.
Don't fet 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 ptl.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
ptl
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扩展里了,狼蚁网站SEO优化就可以接着玩一下swoole了,这个以后再讲:-)。

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

http://sourcefe./projects/pcre/files/pcre/8.36/

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

我们再简单说下

代码如下:
andy@AndyMacBookPro:/usr/local/src$ wget http://sourcefe./projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz
--2015-02-19 23:44:04--  http://sourcefe./projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz
Resolving sourcefe.... 216.34.181.60
Connecting to sourcefe.|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sourcefe./projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz/download [following]
--2015-02-19 23:44:06--  http://sourcefe./projects/pcre/files/pcre/8.36/pcre-8.36.tar.gz/download
Connecting to sourcefe.|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourcefe./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.sourcefe./project/pcre/pcre/8.36/pcre-8.36.tar.gz?r=&ts=1424360645&use_mirror=jaist
Resolving downloads.sourcefe.... 216.34.181.59
Connecting to downloads.sourcefe.|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://jaist.dl.sourcefe./project/pcre/pcre/8.36/pcre-8.36.tar.gz [following]
--2015-02-19 23:44:08--  http://jaist.dl.sourcefe./project/pcre/pcre/8.36/pcre-8.36.tar.gz
Resolving jaist.dl.sourcefe.... 150.65.7.130, 2001:df0:2ed:feed::feed
Connecting to jaist.dl.sourcefe.|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程序设计有所帮助。

Copyright © 2016-2025 www.168986.cn 狼蚁网络 版权所有 Power by