info-cvs
[Top][All Lists]
Advanced

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

Re: info about redhat


From: Mark D. Baushke
Subject: Re: info about redhat
Date: Tue, 15 Jul 2003 09:08:23 -0700

Hi Geoff,

Your points are valid. Thanks for the corrections!

        Thanks,
        -- Mark

Geoff Beier <address@hidden> writes:

> Mark D. Baushke wrote:
> > You may build your own from sources:
> > Fetch a copy of the .src.rpm file from the downloads page:
> >   http://ccvs.cvshome.org/servlets/ProjectDownloadList
> > and then rebuild it with the following commands:
> >   sudo rpm --rebuild cvs-1.11.6-cvshome.org.1.src.rpm
> >   sudo rpm -Fvh /usr/src/redhat/RPMS/i386/cvs-1.11.6-cvshome.org.1.i386.rpm
> >
> I don't want to pick nits, but you *really* shouldn't build as the
> superuser. Also, current versions of rpm have moved the building to
> rpmbuild; --rebuild doesn't work by default as a switch to rpm on
> Redhat 8 or 9. To build as a normal user, simply decide where you want
> to build your RPMs. I chose a directory called "rpmbuild" in my home
> directory. (The following steps assume you're currently in your home
> directory.)
> 
> 1. Create the working directory structure:
> mkdir -p rpmbuild/BUILD rpmbuild/SOURCES rpmbuild/SPECS rpmbuild/SRPMS
> rpmbuild/RPMS rpmbuild/RPMS/i386
> 
> 2. Configure RPM:
> echo "%_topdir $HOME/rpmbuild" >> $HOME/.rpmmacros
> 
> 3. Execute rpmbuild as a normal user:
> rpmbuild --rebuild cvs-1.11.6-cvshome.org.1.src.rpm
> 
> 4. Install the rpm as the super user:
> sudo rpm -Fvh rpmbuild/RPMS/i386/cvs-1.11.6-cvshome.org.1.i386.rpm
> 
> Regards,
> 
> Geoff




reply via email to

[Prev in Thread] Current Thread [Next in Thread]