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

Re: catch-22 running rpmbuild as root/non-root?



Thanks, I re-read and followed the documentation on
buildroot and found what I needed including using the
DESTDIR on the make install.


--- Steve Feehan <sfeehan@sbb.uvm.edu> wrote:
> 
> In the %install section, you need to install into
> $RPM_BUILD_ROOT. As in:
> 
> %install
> make install DESTDIR=$RPM_BUILD_ROOT
> 
> Not all Makefiles support the DESTDIR variable. When
> I
> find a package that doesn't I often edit the
> Makefile(s)
> to prefix all file installations w/ $(DESTDIR) then
> set:
> 
> DESTDIR = 
> 
> Steve
> 
> ps. the MIT kerberos distribution does support
> installing
> into a DESTDIR.
> 
> 
> -- 
> Steve Feehan
> Unix Systems Administrator
> Structural Biology and Bioinformatics
> University of Vermont
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




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