-o ext/libxml/libxml.lo
/home/lun1bz/oneinstack/src/php-7.2.15/ext/libxml/libxml.c:39:10: fatal error: libxml/parser.h: No such file or directory
#include <libxml/parser.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:622: ext/libxml/libxml.lo] Error 1
PHP install failed, Please Contact the author!
n -DZEND_SIGNALS -c /home/lun1bz/oneinstack/src/php-7.2.15/ext/libxml/libxml.c -o ext/libxml/libxml.lo
/home/lun1bz/oneinstack/src/php-7.2.15/ext/libxml/libxml.c:39:10: fatal error: libxml/parser.h: No such file or directory
#include <libxml/parser.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:622: ext/libxml/libxml.lo] Error 1
make: *** Waiting for unfinished jobs....
/bin/bash /home/lun1bz/oneinstack/src/php-7.2.15/libtool --silent --preserve-dup-deps --mode=link cc -DPHP_ATOM_INC -I/home/lun1bz/oneinstack/src/php-7.2.15/include -I/home/lun1bz/oneinstack/src/php-7.2.15/main -I/home/lun1bz/oneinstack/src/php-7.2.15 -I/home/lun1bz/oneinstack/src/php-7.2.15/ext/date/lib -I/usr/include/libxml2 -I/home/lun1bz/oneinstack/src/php-7.2.15/ext/sqlite3/libsqlite -I/home/lun1bz/oneinstack/src/php-7.2.15/TSRM -I/home/lun1bz/oneinstack/src/php-7.2.15/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -o ext/opcache/opcache.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/lun1bz/oneinstack/src/php-7.2.15/modules ext/opcache/ZendAccelerator.lo ext/opcache/zend_accelerator_blacklist.lo ext/opcache/zend_accelerator_debug.lo ext/opcache/zend_accelerator_hash.lo ext/opcache/zend_accelerator_module.lo ext/opcache/zend_persist.lo ext/opcache/zend_persist_calc.lo ext/opcache/zend_file_cache.lo ext/opcache/zend_shared_alloc.lo ext/opcache/zend_accelerator_util_funcs.lo ext/opcache/shared_alloc_shm.lo ext/opcache/shared_alloc_mmap.lo ext/opcache/shared_alloc_posix.lo ext/opcache/Optimizer/zend_optimizer.lo ext/opcache/Optimizer/pass1_5.lo ext/opcache/Optimizer/pass2.lo ext/opcache/Optimizer/pass3.lo ext/opcache/Optimizer/optimize_func_calls.lo ext/opcache/Optimizer/block_pass.lo ext/opcache/Optimizer/optimize_temp_vars_5.lo ext/opcache/Optimizer/nop_removal.lo ext/opcache/Optimizer/compact_literals.lo ext/opcache/Optimizer/zend_cfg.lo ext/opcache/Optimizer/zend_dfg.lo ext/opcache/Optimizer/dfa_pass.lo ext/opcache/Optimizer/zend_ssa.lo ext/opcache/Optimizer/zend_inference.lo ext/opcache/Optimizer/zend_func_info.lo ext/opcache/Optimizer/zend_call_graph.lo ext/opcache/Optimizer/sccp.lo ext/opcache/Optimizer/scdf.lo ext/opcache/Optimizer/dce.lo ext/opcache/Optimizer/compact_vars.lo ext/opcache/Optimizer/zend_dump.lo
ar: `u' modifier ignored since `D' is the default (see `U')
/bin/bash /home/lun1bz/oneinstack/src/php-7.2.15/libtool --silent --preserve-dup-deps --mode=install cp ext/opcache/opcache.la /home/lun1bz/oneinstack/src/php-7.2.15/modules
/bin/bash /home/lun1bz/oneinstack/src/php-7.2.15/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/libxml/ -I/home/lun1bz/oneinstack/src/php-7.2.15/ext/libxml/ -DPHP_ATOM_INC -I/home/lun1bz/oneinstack/src/php-7.2.15/include -I/home/lun1bz/oneinstack/src/php-7.2.15/main -I/home/lun1bz/oneinstack/src/php-7.2.15 -I/home/lun1bz/oneinstack/src/php-7.2.15/ext/date/lib -I/usr/include/libxml2 -I/home/lun1bz/oneinstack/src/php-7.2.15/ext/sqlite3/libsqlite -I/home/lun1bz/oneinstack/src/php-7.2.15/TSRM -I/home/lun1bz/oneinstack/src/php-7.2.15/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /home/lun1bz/oneinstack/src/php-7.2.15/ext/libxml/libxml.c -o ext/libxml/libxml.lo
/home/lun1bz/oneinstack/src/php-7.2.15/ext/libxml/libxml.c:39:10: fatal error: libxml/parser.h: No such file or directory
#include <libxml/parser.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:622: ext/libxml/libxml.lo] Error 1
PHP install failed, Please Contact the author!
已杀死
lun1bz@lun1bz-PC:/usr/local/bin$ Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /lib/systemd/system/php-fpm.service.
lun1bz@lun1bz-PC:/usr/local/bin$
编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)
deb [by-hash=force] http://mirrors.aliyun.com/deepin panda main contrib non-free
之后删除~/.oneinstack 再重新执行安装动作试试
deepin最新版的oneinstack依然有问题: nginx缺少:zlib php gd库缺少:libpng 具体日志如下: ./configure: error: the HTTP gzip module requires the zlib library. You can either disable the module by using --without-http_gzip_module option, or install the zlib library into the system, or build the zlib library statically from the source with nginx by using --with-zlib=<path> option. checking whether to enable JIS-mapped Japanese font support in GD... no If configure fails try --with-webp-dir=<DIR> checking for jpeg_read_header in -ljpeg... yes configure: error: png.h not found. 期待大佬更新版本,完善脚本
Please login or Register to submit your answer