Re: /usr/src/redhat missing

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

 



Matthew Miller wrote:
On Fri, May 27, 2005 at 01:37:26PM +0800, Serge de Souza wrote:

there.I created redhat directory under /usr/src .Under redhat
directory I created RPMS,BUILD,SOURCES,SPECS,SRPMS subdirectories and
under RPMS subdirectory I created athlon,i386,i486,i586,i686 and
noarch directories.

[...]

You need to install the rpm-build rpm


But beyond that, you should create a per-user RPM build area in your own
home directory and build RPMs as a normal user, not as root. See:
<http://www.rpm.org/hintskinks/buildtree/>

A quick way of setting this up is to install fedora-rpmdevtools from Fedora Extras and then run the "fedora-buildrpmtree" script as the user you want to build RPMs as.


Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux