我正在尝试运行下面的代码,但是它总是带着这个错误warning: /opt/rh/devtoolset-4//enable scriptlet does not exist!返回。
yum install epel-release
yum install centos-release-scl cmake3 hwloc-devel libmicrohttpd-devel openssl-devel git screen nano
yum install devtoolset-4-gcc*
scl enable devtoolset-4 bash我试过卸载所有的软件包并重新安装,但没有用,有什么建议吗?
发布于 2018-01-30 18:33:05
devtoolset-#-runtime包也需要安装。
yum install devtoolset-#-runtime或
rpm -Uvh $(repoquery --location devtoolset-#-runtime)(请用版本替换# )
然后,您应该在适当的目录中看到启用scriptlet。
发布于 2019-09-10 10:34:16
试一试
#yum reinstall devtoolset-4-runtimehttps://unix.stackexchange.com/questions/410293
复制相似问题