Hi,
I have followed explicitly the instructions in README/INSTALL for compiling root on RedHat 7 using rpm. Part of the instructions say:
B) However, if you don’t have system privileges, you should set up a
build area by having the file ~/.rpmrc with a contents like:
%macrofiles: /usr/lib/rpm/macros:<your home dir>/.rpmmac
after much aggravation, I found that the “%” should not be before “macrofiles”. The line should be:
macrofiles: /usr/lib/rpm/macros:<your home dir>/.rpmmac
This, however only soved part of my problem. Now when I give the command “rpm -ba root.spec”, the files get untarred, but immediately afterwards I get an error which says:
- STATUS=0
- ‘[’ 0 -ne 0 ‘]’
- cd root
/var/tmp/rpm-tmp.56805: cd: root: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.56805 (%prep)
Has anyone successfully compiled root on RedHat 7?
Cheers,
-J