no acceptable C compiler found in $PATH

1. Update the kernel:

$ yum update kernel -y

2. Install the kernel-headers, kernel-devel and other required packages:

$ yum install

 kernel-headers kernel-devel gcc make -y

3. Reboot the server to make sure it load to the new kernel:
$ init 6


1. Install the same version of kernel-headers and kernel-devel via yum:

$ yum install kernel-headers-$(uname -r) kernel-devel-$( uname -r) -y



轉載:
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章