双控环境搭建中遇到的问题
来源:互联网 发布:安卓刷机 for mac 编辑:程序博客网 时间:2024/06/04 18:37
1.安装iscsitarget-1.4.20.2时,make一直报错,如下:
cc: /lib/modules/2.6.32-431.el6.x86_64/build/include/linux/version.h:没有那个文件或目录
cc: 没有输入文件
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
make -C usr
make[1]: Entering directory `/home/xueqin/桌面/双控搭建/iscsitarget-1.4.20.2/usr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/xueqin/桌面/双控搭建/iscsitarget-1.4.20.2/usr'
make -C /lib/modules/2.6.32-431.el6.x86_64/build SUBDIRS=/home/xueqin/桌面/双控搭建/iscsitarget-1.4.20.2/kernel modules
make: *** /lib/modules/2.6.32-431.el6.x86_64/build: 没有那个文件或目录。 停止。
make: *** [kernel] 错误 2
原因是没有安装kernel-devel包,注意安装时要找与自己内核对应的安装包
2.yum安装软件时会报错:
yum提示another app is currently holding the yum lock;waiting for it to exit
可能是系统自动升级正在运行,yum在锁定状态中。
可以通过强制关掉yum进程:
#rm -f /var/run/yum.pid
然后就可以使用yum了。
- 双控环境搭建中遇到的问题
- 环境搭建中遇到的问题
- PHP环境搭建中遇到的问题
- 搭建环境遇到的问题
- VPS环境搭建中使用中遇到的问题
- Fedora 15搭建LAMP环境中可能遇到的问题
- sae云平台java环境搭建中遇到的问题
- spring3+struts2环境搭建中遇到的一些问题
- MAVEN环境搭建中遇到的问题及解决方案
- Phonegap环境搭建中遇到的种种问题
- eclipse 上Spark 环境搭建中遇到的问题
- 在es6环境搭建中gulp安装遇到的问题
- Android环境搭建遇到的问题总汇
- android开发环境搭建遇到的问题
- 搭建hadoop环境遇到的问题
- android+NDK环境搭建遇到的问题
- 关于android环境搭建遇到的问题
- 关于android环境搭建遇到的问题
- java开发过程中遇到的一些jar包的作用
- 高仿优酷Android客户端图片左右滑动(自动切换)
- Rethat 6 安装中文输入法
- PHPExcel 导出2003和2007的excel文档实例
- 摄氏度和华氏度的转换
- 双控环境搭建中遇到的问题
- IOS应用上传需要做的工作
- first (求两个并联电阻值)
- cocos2d-x ClippingNode的使用 节点剪裁
- 组件接口(API)设计指南[5]-最后的思考
- 理解PHP内核
- 图的遍历
- mount过程分析之一(基于3.16.3内核)
- MFC DLL导出类