- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2023-3-31 08:36:06
|
显示全部楼层
第一个日志
你网络环境可能有问题吧,这么多源都无法正常下载
第二个日志
/bin/sh //home/lnmp1.9/src/php-7.4.30/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I//home/lnmp1.9/src/php-7.4.30/ext/opcache/ -DPHP_ATOM_INC -I//home/lnmp1.9/src/php-7.4.30/include -I//home/lnmp1.9/src/php-7.4.30/main -I//home/lnmp1.9/src/php-7.4.30 -I//home/lnmp1.9/src/php-7.4.30/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I//home/lnmp1.9/src/php-7.4.30/ext/mbstring/libmbfl -I//home/lnmp1.9/src/php-7.4.30/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I//home/lnmp1.9/src/php-7.4.30/TSRM -I//home/lnmp1.9/src/php-7.4.30/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c //home/lnmp1.9/src/php-7.4.30/ext/opcache/ZendAccelerator.c -o ext/opcache/ZendAccelerator.lo
In file included from //home/lnmp1.9/src/php-7.4.30/main/php.h:140:0,
from //home/lnmp1.9/src/php-7.4.30/ext/opcache/ZendAccelerator.c:22:
//home/lnmp1.9/src/php-7.4.30/main/build-defs.h:19:27: 警告:缺少结尾的 " 字符 [默认启用]
#define CONFIGURE_COMMAND " './configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/etc' '--with-config-file-scan-dir=/usr/local/php/conf.d' '--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www' '--enable-mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-iconv-dir' '--with-freetype=/usr/local/freetype' '--with-jpeg' '--with-png' '--with-zlib' '--enable-xml' '--disable-rpath' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization' '--with-curl' '--enable-mbregex' '--enable-mbstring' '--enable-intl' '--enable-ftp' '--enable-gd' '--with-openssl' '--with-mhash' '--enable-pcntl' '--enable-sockets' '--with-xmlrpc' '--with-zip' '--without-libzip' '--enable-soap' '--with-gettext' '--enable-opcache' '--with-xsl' '--with-pear' '--with-webp' 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib/pkgconfig/
^
In file included from //home/lnmp1.9/src/php-7.4.30/main/php.h:140:0,
from //home/lnmp1.9/src/php-7.4.30/ext/opcache/ZendAccelerator.c:22:
//home/lnmp1.9/src/php-7.4.30/main/build-defs.h:20:1: 警告:缺少结尾的 ' 字符 [默认启用]
'"
^
//home/lnmp1.9/src/php-7.4.30/main/build-defs.h:20:1: 错误:缺少结尾的 ' 字符
make: *** [ext/opcache/ZendAccelerator.lo] 错误 1
/bin/sh //home/lnmp1.9/src/php-7.4.30/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I//home/lnmp1.9/src/php-7.4.30/ext/opcache/ -DPHP_ATOM_INC -I//home/lnmp1.9/src/php-7.4.30/include -I//home/lnmp1.9/src/php-7.4.30/main -I//home/lnmp1.9/src/php-7.4.30 -I//home/lnmp1.9/src/php-7.4.30/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I//home/lnmp1.9/src/php-7.4.30/ext/mbstring/libmbfl -I//home/lnmp1.9/src/php-7.4.30/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I//home/lnmp1.9/src/php-7.4.30/TSRM -I//home/lnmp1.9/src/php-7.4.30/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c //home/lnmp1.9/src/php-7.4.30/ext/opcache/ZendAccelerator.c -o ext/opcache/ZendAccelerator.lo
In file included from //home/lnmp1.9/src/php-7.4.30/main/php.h:140:0,
from //home/lnmp1.9/src/php-7.4.30/ext/opcache/ZendAccelerator.c:22:
//home/lnmp1.9/src/php-7.4.30/main/build-defs.h:19:27: 警告:缺少结尾的 " 字符 [默认启用]
#define CONFIGURE_COMMAND " './configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/etc' '--with-config-file-scan-dir=/usr/local/php/conf.d' '--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www' '--enable-mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-iconv-dir' '--with-freetype=/usr/local/freetype' '--with-jpeg' '--with-png' '--with-zlib' '--enable-xml' '--disable-rpath' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization' '--with-curl' '--enable-mbregex' '--enable-mbstring' '--enable-intl' '--enable-ftp' '--enable-gd' '--with-openssl' '--with-mhash' '--enable-pcntl' '--enable-sockets' '--with-xmlrpc' '--with-zip' '--without-libzip' '--enable-soap' '--with-gettext' '--enable-opcache' '--with-xsl' '--with-pear' '--with-webp' 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib/pkgconfig/
^
In file included from //home/lnmp1.9/src/php-7.4.30/main/php.h:140:0,
from //home/lnmp1.9/src/php-7.4.30/ext/opcache/ZendAccelerator.c:22:
//home/lnmp1.9/src/php-7.4.30/main/build-defs.h:20:1: 警告:缺少结尾的 ' 字符 [默认启用]
'"
^
//home/lnmp1.9/src/php-7.4.30/main/build-defs.h:20:1: 错误:缺少结尾的 ' 字符
make: *** [ext/opcache/ZendAccelerator.lo] 错误 1
没遇到过,不清楚问题和原因,可用尝试更换其他php版本或者更换Debian系统试一下 |
|