忘记密码   免费注册 查看新帖 |

ChinaUnix.net

  平台 论坛 博客 文库 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
最近访问板块 发新帖
查看: 2002 | 回复: 3

[系统管理] linux编译rpm包错误 [复制链接]

论坛徽章:
0
发表于 2018-05-31 17:10 |显示全部楼层
linux编译rpm包错误
an -c -P'cat > /dev/null' e1000e || true

======================== Installation successful ==========================

Copying files to the temporary directory...OK

Stripping ELF binaries...OK

Compressing man pages...OK

Building file list...OK

Kernel modules found. Calling depmod in the postinstall script

Building RPM package... FAILED!

*** Failed to build the package

Do you want to see the log file?  [y]: y

Building target platforms: x86_64
Building for target x86_64
Processing files: src-20180530-1.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates/drivers
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates/drivers/net
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates/drivers/net/e1000e
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/lib/modules/2.6.32-431.el6.x86_64/updates/drivers/net/e1000e/e1000e.ko
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr/share
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr/share/man
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr/share/man/man7
error: File not found: /root/rpmbuild/BUILDROOT/src-20180530-1.x86_64/usr/share/man/man7/e1000e.7.gz
求指教,正常checkinstall应该就会done,产生一个rpm安装包

这个报错是什么情况?

论坛徽章:
0
发表于 2018-05-31 17:12 |显示全部楼层
其它也一样
Building target platforms: x86_64
Building for target x86_64
Processing files: checkinstall-1.6.2-1.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/pt_BR
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/pt_BR/LC_MESSAGES
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/pt_BR/LC_MESSAGES/checkinstall.mo
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/es
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/es/LC_MESSAGES
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/es/LC_MESSAGES/checkinstall.mo
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/id
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/id/LC_MESSAGES
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/id/LC_MESSAGES/checkinstall.mo
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/zh_CN
error: File not found: /root/rpmbuild/BUILDROOT/checkinstall-1.6.2-1.x86_64/usr/local/lib/checkinstall/locale/zh_CN/LC_ME

论坛徽章:
16
巨蟹座
日期:2014-11-20 23:04:5215-16赛季CBA联赛之浙江
日期:2017-12-08 11:25:2415-16赛季CBA联赛之四川
日期:2016-11-21 00:16:50操作系统版块每日发帖之星
日期:2016-07-28 06:20:0015-16赛季CBA联赛之吉林
日期:2016-05-25 15:36:04操作系统版块每日发帖之星
日期:2016-02-12 06:20:002015亚冠之西悉尼流浪者
日期:2015-08-28 14:48:322015亚冠之平阳省
日期:2015-08-19 14:54:162015亚冠之武里南联
日期:2015-07-07 10:49:112015亚冠之城南
日期:2015-06-22 10:15:002015亚冠之山东鲁能
日期:2015-06-18 18:03:442015亚冠之阿尔萨德
日期:2015-06-18 08:04:59
发表于 2018-05-31 20:00 |显示全部楼层
缺文件

论坛徽章:
0
发表于 2018-06-01 10:57 |显示全部楼层
回复 3# yyu0378

缺什么文件?编译正常呀
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:wangnan@it168.com
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP