Search Postgresql Archives

Re: share library version problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bryan White <bryan@xxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux