使用 ubantu16提示jemalloc安装失败

问答中心分类: OneinStack使用 ubantu16提示jemalloc安装失败
阿狸 asked 6年 ago

[jemalloc-5.1.0.tar.bz2] found
/usr/my/oneinstack /usr/my
/usr/my/oneinstack/src/jemalloc-5.1.0 /usr/my/oneinstack/src /usr/my/oneinstack /usr/my
checking for xsltproc... false
checking for gcc... gcc
checking whether the C compiler works... no
/usr/my/oneinstack/src /usr/my/oneinstack /usr/my
jemalloc install failed, Please contact the author!
/usr/my/oneinstack /usr/my

3 Answers
阿狸 answered 6年 ago

# Jemalloc
if [[ ${nginx_option} =~ ^[1-3]$ ]] || [ "${db_yn}" == 'y' ]; then
. include/jemalloc.sh
Install_Jemalloc | tee -a ${oneinstack_dir}/install.log
fi

不知道是不是路径的问题,我看实际路径在
./include/jemalloc/jemalloc.sh

oneinstack answered 6年 ago

c编译器都没安装,请自行检查apt源是否配置成功!

阿狸 answered 6年 ago

谢谢,安装了一下build-essential软件包可以了