Roger Mason writes:

> Alex Schuster <[email protected]> writes:

> > What is your $PATH? (echo $PATH)
> >
> > I have /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 in there (just before
> > /usr/i686- pc-linux-gnu/gcc-bin/4.3.2), don't know where this comes
> > from. The directory usr/i486-pc-linux-gnu/gcc-bin does not exist, so it
> > does not matter.

Seems to be some leftover from the installation. I just deleted the 
directory, and /etc/env.d/05gcc-i486-pc-linux-gnu.

> > Also have a look in /etc/env.d/*gcc*, do these settings look okay?
> > That's where gcc-config changes things. My 05gcc-i686-pc-linux-gnu has
> > the line PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.3.2" in it.
>
> garnet ~ $ echo $PATH
> /home/rmason/.nix-profile/bin:/usr/local/coda/bin:/usr/local/coda/sbin:/u
>sr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/
>usr/i686-pc-linux-gnu/gcc-bin/4.3.2:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk
>-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/qt/3/bin:/home/rma
>son/bin:/usr/local/axiom/mnt/linux/bin:/usr/local/apache-uima//bin:/usr/lo
>cal/tau/i386_linux/bin:/usr/local/pdt/i386_linux/bin
[...]
> garnet ~ $ cat /etc/env.d/05gcc-i686-pc-linux-gnu
[...]
> PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.3.2"

Looks good to me. Finally, what is the PATH in /etc/profile.env? According 
to the order of your gcc paths, I guess it has /usr/i686-pc-linux-gnu/gcc-
bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 in it, while only the second 
one should be there. Does "grep /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 
/ect/env.d/*" find something? Some obscure other file that env-update uses?

If not, I have no more ideas. I'd change /etc/profile.env by hand then, and 
file a bug report.

        Wonko


Reply via email to