horsley 发表于 2011-12-23 18:55:30

安装失败,nginx和mysql找不到


安装的log在哪里呢?

horsley 发表于 2011-12-23 19:04:40

发现好像是因为gcc没有成功安装
nginx和mysql都没有编译到
在./configure的时候
configure: error: no acceptable C compiler found in $PATH

horsley 发表于 2011-12-23 19:17:52

gcc安装失败是因为依赖的kernel-headers没有安装

horsley 发表于 2011-12-23 19:23:35

kernel-headers没有安装是因为/etc/yum.conf
里面有exclude=kernel* 还有一堆东西
把这个去掉之后yum update一下 然后再重新安装一次就可以了
页: [1]
查看完整版本: 安装失败,nginx和mysql找不到