安装失败,报错:jemalloc install failed

问答中心分类: OneinStack安装失败,报错:jemalloc install failed
UioSun asked 6 年 ago
系统:

Ubuntu 18.04 LTS (64x)

安装命令:

wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz && tar xzf oneinstack-full.tar.gz && ./oneinstack/install.sh --nginx_option 1 --php_option 7 --php_extensions imagick --db_option 2 --dbinstallmethod 1 --dbrootpwd oneinstack --redis --memcached --iptables --reboot

报错内容:

[jemalloc-5.1.0.tar.bz2] found
~/oneinstack ~
./include/memory.sh: 第 14 行: [: -le: 需要一元表达式
./include/memory.sh: 第 18 行: [: 参数太多
./include/memory.sh: 第 21 行: [: 参数太多
./include/memory.sh: 第 24 行: [: 参数太多
./include/memory.sh: 第 27 行: [: 参数太多
./include/memory.sh: 第 30 行: [: 参数太多
./include/memory.sh: 第 33 行: [: -gt: 需要一元表达式
~/oneinstack/src/jemalloc-5.1.0 ~/oneinstack/src ~/oneinstack ~
checking for xsltproc... false
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/uiosun/oneinstack/src/jemalloc-5.1.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
include/jemalloc.sh: 行 17: make: 未找到命令
~/oneinstack/src ~/oneinstack ~
jemalloc install failed, Please contact the author!
~/oneinstack ~
已杀死

并没有发现选择安装 jemalloc 或其他软件的地方。
 
这些信息够吗?如果不够请回复或者发邮件给我。

2 Answers
UioSun answered 6 年 ago
装了两次,首次并没有 ./include/memory.sh 的相关错误

oneinstack answered 6 年 ago
apt源请先配置好!