There are no enabled repos. Run "yum repolist all" to see the repos you have. You can enable repos

版权声明:感谢阅读,欢迎批评指正。 https://blog.csdn.net/skyejy/article/details/88782058

今晚踩了不少坑,必须总结一下。首先说说这个错的由来吧

我安装pcre的时候报了这样的错:

configure: error: You need a C++ compiler for C++ support.

然后我百度了,发现有人提供了这样一种解决方案:

我照做了,而我发现没有yum,于是又安装了半天yum,好不容易装好了。

这次却又报了这个错

There are no enabled repos.  Run "yum repolist all" to see the repos you have.  You can enable repos

醉了,一查才发现,我就不该安装yum,因为我用的是Ubuntu

我应该用下面这个语句来解决You need a C++ compiler for C++ support.”这个问题

sudo apt-get install build-essential

猜你喜欢

转载自blog.csdn.net/skyejy/article/details/88782058