This should help you: http://www.rpm.org/max-rpm/s1-rpm-anywhere-different-build-area.html
You may get errors building with that rpm. I'd probably recommend downloading a latest snapshot or retrieve the latest from CVS. On 07/06/09 4:21 PM, "Timothy Y. Chow" <[email protected]> wrote: > I am trying to install gnubg on a university computer where I have an > account but do not have admin privileges. I believe the machine is > running RedHat. I downloaded > > gnubg-0.15-4.src.rpm > > which I renamed "gnubg.rpm" for brevity, and tried to build it: > > % rpmbuild --rebuild gnubg.rpm > Installing gnubg.rpm > error: cannot write to %sourcedir /usr/src/redhat/SOURCES > error: gnubg.rpm cannot be installed > > I presume that the problem is that it is trying to write to directories > that I don't have write access to. How can I can force rpmbuild to write > only to my own directory? > > Tim > > > _______________________________________________ > Bug-gnubg mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/bug-gnubg > _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
