From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bryan White <bryan(at)arcamax(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: share library version problems |
Date: | 2006-08-23 15:38:24 |
Message-ID: | 19582.1156347504@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Bryan White <bryan(at)arcamax(dot)com> writes:
> Tom Lane wrote:
>> Don't do the rpmbuild as root.
> I think I have it solved now. I am not to familiar with the process of
> building from source RPMs. You said to not do it as root but that meant
> I did not have write access to /usr/src/redhat.
Well, nobody at Red Hat builds RPMs in /usr/src/redhat anymore ;-).
The setup I use involves creating a directory ~/rpmwork, making
these subdirectories in it:
BUILD/ RPMS/ SOURCES/ SPECS/ SRPMS/
and making a file ~/.rpmmacros containing just
%_topdir /home/tgl/rpmwork
(adjust to suit where your work dir actually is of course). To build,
copy the SRPM into the SRPMS subdirectory, cd there, and go
rpmbuild --rebuild srpmfilename
The only part you need root for is actually installing the built RPMs
(which end up under the RPMS directory of course).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2006-08-23 15:41:57 | Re: Majordomo drops multi-line Subject: |
Previous Message | Tom Lane | 2006-08-23 15:24:28 | Re: Majordomo drops multi-line Subject: |