[wplug] Installation directories

Weber, Larry A laweber at switch.com
Thu Aug 9 07:09:30 EDT 2001


Sorry RH does not have an etc/profile directory.  There is an /etc/bashrc
file but it does not currently set PATH.  There is a csh.login file that
sets the path but RH should be running bash and the directory order that it
sets is not the same as in PATH. 

The PATH looks as if it is probably getting set at least twice.  That would
explain the repeated directories.

> -----Original Message-----
> From:	mdanish at andrew.cmu.edu [SMTP:mdanish at andrew.cmu.edu]
> Sent:	Wednesday, August 08, 2001 4:26 PM
> To:	wplug at wplug.org
> Subject:	Re: [wplug] Installation directories
> 
> I've heard that Redhat distributed a broken version of gcc with 7,
> but gcc-3.0-only may not be the route to go... I've yet to hear of
> a person successfully building a kernel using gcc3 on i386 at least.
> 
> Perhaps getting egcs 2.91 for critical applications may be advisable.
> 
> /usr/local is the autoconf default, the rationale for which may be
> to stay out of package managers' way... they supposedly should not
> touch /usr/local (don't know about RPMs...)
> 
> PATH is set in /etc/profile, and in .bash_profile, which are
> executed for login-shells.
> 
> You can add to the PATH in your .bash_profile using:
> export PATH=$PATH:/new/directory
> 
> On Wed, Aug 08, 2001 at 09:01:55AM -0400, Weber, Larry A wrote:
> > 
> > I heard at the GUM there might be problems with the gcc (Ver. 2.96) that
> is
> > provided with RedHat 7.1.  So this week I decided to update to gcc 3.0.
> I
> > went through the configure - make - make install process and everything
> went
> > well.  However the default installation directory is /usr/local/bin
> while
> > the original RedHat provided gcc is in /usr/bin.  I noticed that many of
> the
> > apps I have installed default to the /usr/local directory.  Is this some
> > sort of Linux standard?
> > 
> > Now I have two versions of gcc.  Any ideas on how to cleanly remove the
> > 2.96, and can I move the 3.0 rev.?
> > 
> > I would consider blowing away 2.96 and changing my path to search
> /usr/local
> > first.  When I echo $PATH I find that several directories are repeated.
> I
> > have checked the bashrc file but cannot find anything there that sets
> PATH.
> > Does anyone know where PATH is being set?
> > 
> > -laweber
> > 
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> > http://www.wplug.org/mailman/listinfo/wplug
> 
> -- 
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; Matthew Danish                         email: mdanish at andrew.cmu.edu ;;
> ;; OpenPGP public key available from:        'finger mrd at db.debian.org' ;;
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug



More information about the wplug mailing list