如何在Cent-OS上使用make安装应用程序?
我正在尝试从源代码在 Cent-OS 上安装应用程序。这是 mpg123-0.59r,安装指令是:
# make clean
# make
# make install
但每次我尝试执行 make 时都会得到:
# 您似乎没有安装当前内核的内核源代码。
# make: *** [linux26] Error 1
我用谷歌搜索了这个问题,一些链接告诉我安装内核源代码和内核开发!
我做到了,但我仍然面临同样的问题!
我正在使用 Cent-OS.5,内核版本为:2.6.18-274.3.1.el5
I'm trying to install an application on Cent-OS from its source code. which is mpg123-0.59r the installation instruction is :
# make clean
# make
# make install
but each time I'm trying to excute make I get :
# You do not appear to have the kernel sources for your current kernel installed.
# make: *** [linux26] Error 1
I googled this issue and some links told me to install the the kernel-source and the kernel-devel !
I did but I'm still facing the same issue !
I'm using Cent-OS.5 with kernel version : 2.6.18-274.3.1.el5
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我找到了解决方案:
我正在安装一个驱动程序包,并且要使用它,您绝对需要内核源代码!
另外,我正在公共服务器上尝试,所以我不知道它是否共享!我不知道硬件类型!因此,经过一些研究,它似乎是一个共享服务器,并且它有一个旧硬件,不包含太多新的实现。
最终更换了服务器,一切顺利。
问候,
Ok, I found the solution :
I was installing a driver-package and to use that you absolutely need the kernel source !
also, I was trying that on a public server so I don't know if its shared or not ! and I have no idea about the hardware type ! so after some research it appears that it was a shared server and it has an old hardware that not include much new implementations.
it ends up to change the server and everything goes fine.
Regards,