Bug#414227: gcc-4.2: error trying to exec 'cc1': execvp: No such file or directory
severity 414227 important
Brian M. Carlson writes:
> Package: gcc-4.2
> Version: 4.2-20070307-1
> Severity: grave
> When I try to run gcc-4.2, it says:
> gcc-4.2: error trying to exec 'cc1': execvp: No such file or directory
> Needless to say, a compiler that doesn't compile is rather useless,
> hence the severity.
> I discovered this whilst trying to build an autoconf-using program with
> Apparently, it is looking in /usr/lib/gcc/x86_64-linux-gnu/4.2.0,
> because if I symlink that to /usr/lib/gcc/x86_64-linux-gnu/4.2 (where
> cc1 is), it works. Note that /usr/lib/gcc/x86_64-linux-gnu/4.2.0 was an
> empty directory; I moved it out of the way to make the symlink. Merely
> moving it out of the way without creating the symlink did not cause
> gcc-4.2 to work.
known; as a workaround, remove all *-4.2 packages and reinstall.