clarations -std=c++11 -c /tmp/swoole-4.8.6/src/protocol/websocket.cc -fPIC -DPIC -o src/protocol/.libs/websocket.o
Assembler messages:
Error: can't open /tmp/ccz3gtNM.s for reading: No such file or directory
In file included from /tmp/swoole-4.8.6/src/protocol/ssl.cc:19:0:
/tmp/swoole-4.8.6/include/swoole_socket.h:34:27: fatal error: swoole_buffer.h: No such file or directory
compilation terminated.
make: *** [src/protocol/socks5.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from /tmp/swoole-4.8.6/src/protocol/websocket.cc:17:0:
/tmp/swoole-4.8.6/include/swoole.h:134:27: fatal error: swoole_config.h: No such file or directory
compilation terminated.
make: *** [src/protocol/ssl.lo] Error 1
make: *** [src/protocol/websocket.lo] Error 1
mkdir src/reactor/.libs
g++ -DENABLE_PHP_SWOOLE -I. -I/tmp/swoole-4.8.6 -DPHP_ATOM_INC -I/tmp/swoole-4.8.6/include -I/tmp/swoole-4.8.6/main -I/tmp/swoole-4.8.6 -I/usr/local/php-7.4/include/php -I/usr/local/php-7.4/include/
php/main -I/usr/local/php-7.4/include/php/TSRM -I/usr/local/php-7.4/include/php/Zend -I/usr/local/php-7.4/include/php/ext -I/usr/local/php-7.4/include/php/ext/date/lib -I/tmp/swoole-4.8.6 -I/tmp/swoo
le-4.8.6/include -I/tmp/swoole-4.8.6/ext-src -I/tmp/swoole-4.8.6/thirdparty -I/tmp/swoole-4.8.6/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-de
clarations -std=c++11 -c /tmp/swoole-4.8.6/src/reactor/base.cc -fPIC -DPIC -o src/reactor/.libs/base.o
/tmp/swoole-4.8.6/src/reactor/base.cc:17:20: fatal error: swoole.h: No such file or directory
#include "swoole.h"
^
compilation terminated.
make: *** [src/reactor/base.lo] Error 1
/tmp/swoole-4.8.6/libtool: line 1283: src/reactor/epoll.loT: No such file or directory
mkdir src/reactor/.libs
mkdir: cannot create directory 'src/reactor/.libs': No such file or directory
make: *** [src/reactor/epoll.lo] Error 1
Assembler messages:
Fatal error: can't create src/protocol/.libs/mime_type.o: No such file or directory
make: *** [src/protocol/mime_type.lo] Error 1
Assembler messages:
Fatal error: can't create src/protocol/.libs/http.o: No such file or directory
make: *** [src/protocol/http.lo] Error 1
Assembler messages:
Fatal error: can't create src/protocol/.libs/redis.o: No such file or directory
make: *** [src/protocol/redis.lo] Error 1
make: getcwd: No such file or directory
make: *** No rule to make target `install'. Stop.
mv: cannot stat '/usr/local/php-7.4/lib/php/extensions/no-debug-non-zts-20190902/swoole.so': No such file or directory
这个问题已经有解决了,题主是有在任务计划加了每分钟清除临时文件的原因。
安装的临时文件被自动删除了,无法正常安装。