Re: Building packages using RPMBUILD

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



On Thu, Dec 16, 2010 at 11:00 AM, Leonard den Ottolander
<leonard@xxxxxxxxxxxxxxxxx> wrote:
> Hello Keith,
>
> On Thu, 2010-12-16 at 15:08 +0000, Keith Roberts wrote:
>> [rpmbuilder@karsites sox]$ rpm -iv ./sox-12.18.1-1.src.rpm
>> error: cannot write to %sourcedir /usr/src/redhat/SOURCES
>
> /usr/src/redhat and sub dirs are owned root.root. If you want to build
> as a normal user (and you should!) you should fix the ownership of those
> directories.

NO. Never do this.

Use a personal .rpmmacros file to reset your personal working
directories, so you can compile locally.

   %_topdir /home/username/rpm
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux