rpmbuild is located at /xenv/OS/ia64/RH4.0AS_U4/x86_64/usr/bin/ and brp-compress is located at /xenv/OS/ia64/RH4.0AS_U4/x86_64/usr/lib/rpm/, but when I run:
/xenv/OS/ia64/RH4.0AS_U4/x86_64/usr/bin/rpmbuild --define '_topdir /build_location' -bb -vv package.spec
It fails as it is trying to use brp-compress (and other files) located in a place they don't exist:
/var/tmp/rpm-tmp.93613: line 31: /usr/lib/rpm/brp-compress: No such file or directory
How do I correct the location? (Note: I'm a RPM newbie)