编译util-linux-2.13的srpm包出错:
make[1]: Entering directory `/usr/src/redhat/BUILD/util-linux-2.13-pre7/po'
/bin/sh @MKINSTALLDIRS@ /var/tmp/util-linux-root/usr/share
/bin/sh: @MKINSTALLDIRS@: No such file or directory
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory `/usr/src/redhat/BUILD/util-linux-2.13-pre7/po'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.91982 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.91982 (%install)解决方法是:将其spec文件中的make aclocal的三行注释掉即可!
本文介绍了解决在编译util-linux-2.13 srpm包过程中遇到的错误的方法。通过注释掉spec文件中makeaclocal的相关行,可以避免因找不到指定目录而产生的编译错误。
6080

被折叠的 条评论
为什么被折叠?



