Click to See Complete Forum and Search --> : GCC errors


[P]Diablos
10-14-2001, 10:50 PM
I'm trying to compile a program, but when I run ./configure I get this error:

checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.


I then look at the config.log and see this:

configure:894: checking whether the C compiler (gcc ) works
configure:910: gcc -o conftest conftest.c 1>&5
gcc: installation problem, cannot exec 'cc1': No such file or directory
configure: failed program was:


Lastly, I just tried compiling a simple cpp file I made, and I get this message:

mike@COMPAQ:~/C++$ gcc project4.cpp
gcc: installation problem, cannot exec 'cc1plus': No such file or directory


I searched for cc1plus, and I have it in my /usr/lib/gcc-lib/i386-linux/3.0.2/ directory. Anyone know what's going on with GCC on my system? The funny thing is just a week ago I could compile programs fine...but then I upgraded to KDE 2.2 by pointing my apt sources.list to unstable. I made sure not to upgrade anything else other than KDE stuff, but I'm beginning to think maybe I did accidently upgrade something related to GCC.

Since upgrading to KDE 2.2 I changed my sources.list back to testing, and today was the first time trying to compile anything since I upgraded. Is there any way I could check and see if I did accidently upgrade a library or something while I was using unstable? If I did that, how can I fix GCC? Is this even the problem, or is there something else that might be causing my errors? Thanks in advance

error27
10-15-2001, 01:42 AM
I am reminded of a recent poll I saw. Most of the options are creative but not helpfull. Some of the replies sound like good possible suggestions though.


http://www.debianplanet.org/debianplanet/pollBooth.php?op=results&pollID=49&mod e=&order=&thold= (http://www.debianplanet.org/debianplanet/pollBooth.php?op=results&pollID=49&mode=&order=&thold=)

nathaniel
10-15-2001, 02:02 AM
sounds to me like you were trying to compile avifile, right? I got the same error even though I upgraded to gcc and deps to 3.0-1 soemthing similar. This is the one thing that really burns me about RedHat the lack of proper support and testing for gcc. I was bearly able to get mplayer working and even that is not that good. avifile is better but the latest version craps on the test though I don't know if it is their coding or RedHat's

one more user waiting for RedHat 7.2

NB