Philipp Thomas wrote:
* Linda Walsh (suse@tlinx.org) [20120623 09:28]:
gcc: error trying to exec 'cc1': execvp: No such file or directory cat >lin.c
What's the output of »gcc --verbose --version« ? And what's the output of »rpm -qa | grep -F gcc«?
Philipp
When I can reproduce the error (from a fresh login the above doesn't happen only from env -i sh or env -i dash (but from a fresh login, Configure doesn't work correctly ...) I get sh-4.2$ gcc --verbose --version Using built-in specs. COLLECT_GCC=gcc gcc (SUSE Linux) 4.6.2 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.6 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.6.2 (SUSE Linux) COLLECT_GCC_OPTIONS='-v' '--version' '-mtune=generic' '-march=x86-64' cc1 -quiet -v -iprefix ../lib64/gcc/x86_64-suse-linux/4.6/ help-dummy -quiet -dumpbase help-dummy -mtune=generic -march=x86-64 -auxbase help-dummy -version --version -o /tmp/ccggVtI6.s gcc: error trying to exec 'cc1': execvp: No such file or directory rpm output: sh-4.2$ rpm -qa |grep -F gcc gcc-c++-4.6-15.1.3.x86_64 libgcc46-32bit-4.6.2_20111026-1.1.4.x86_64 libgcc46-4.6.2_20111026-1.1.4.x86_64 cross-ia64-gcc-icecream-backend-4.6.2_20111026-1.1.2.x86_64 gcc46-c++-4.6.2_20111026-1.1.4.x86_64 gcc46-4.6.2_20111026-1.1.4.x86_64 gcc46-32bit-4.6.2_20111026-1.1.4.x86_64 gcc46-info-4.6.2_20111026-1.1.4.noarch gcc-4.6-15.1.3.x86_64 gcc-32bit-4.6-15.1.3.x86_64 gcc-info-4.6-15.1.3.x86_64 libgcc46-debuginfo-4.6.2_20111026-1.1.4.x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org