deepin PHP安装失败
深度linux 在安装集成包的时候,php安装失败,话说,安装日志在哪里看的呢? 为嘛我上传安装日志,提示非法请求?发布不了呢? 压缩下试试,附件是安装和更新日志 你肯定强制使用sh运行的脚本,而不是./install.sh 按你说的又安装了一遍,还是不行呢?附件是新的日志,麻烦你看下哦。 In file included from /usr/include/png.h:317:0,from /home/lijie/下载/lnmp1.2-full/src/php-5.6.9/ext/gd/libgd/gd_png.c:10:
/usr/include/zlib.h:1349:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Z_ARG’
ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...));
^
/usr/include/zlib.h:1673:5: error: unknown type name ‘z_off64_t’
z_off64_t pos;
^
/usr/include/zlib.h:1748:15: error: unknown type name ‘z_crc_t’
ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void));
^
/usr/include/zlib.h:1758:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Z_ARG’
ZEXTERN int ZEXPORTVA gzvprintf Z_ARG((gzFile file,
^
Makefile:836: recipe for target 'ext/gd/libgd/gd_png.lo' failed
make: *** Error 1
错误原因未知,deepin2015上只测试过1.3,没有问题 好的,那我安装下1.3试试,谢谢 哦!
页:
[1]