info-cvs
[Top][All Lists]
Advanced

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

RE: info about redhat & Question about exporting CVSROOT


From: Thomas Wharton
Subject: RE: info about redhat & Question about exporting CVSROOT
Date: Thu, 17 Jul 2003 07:29:59 -0400

Hello,

Just curious Geoff, why is it a bad idea to build as the superuser?  Is it
something specific to the CVS build, or just generally a good policy?

Also, I've noticed something kind of odd with gnome-terminal...  If I am in
one gnome-terminal and I define CVSROOT, and export it, when I open another
gnome-terminal (from the first), I dont see CVSROOT (using set).  However,
if I open an xterm (from the first) I do see CVSROOT.  Does anyone know why
the second gnome-terminal doesn't inherit the exported CVSROOT, while xterm
does?

Many Thanks,
Thom Wharton


>> -----Original Message-----
>> From: address@hidden
>> [mailto:address@hidden
>> n Behalf Of Mark D. Baushke
>> Sent: Tuesday, July 15, 2003 12:08 PM
>> To: Geoff Beier
>> Cc: address@hidden
>> Subject: Re: info about redhat
>>
>>
>> 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]