PDA

View Full Version : Fix for the gcc V3.0 not found error - RH7.1 users?



Smooth
12-21-2001, 08:10 AM
I was having a terrible time trying to get showeq to ./configure, it was always telling me that it needed gcc 3.0 to compile, even though I went through the laborious effort of downloading the CVS version of gcc. I couldn't find any fix anywhere for this problem. Even after doing the symlinks for gcc to gcc3, whenever I typed gcc -v it would show:

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 200000731 (Red Hate Linux 7.1 2.96-81

Well, I decided to try something different and went into that file, /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs, and almost at the bottom there was a section:

*version:
2.96

I edited this part to read:

*version
3.0

Well, that was enough to fool the ./configure program and showeq is now compiling just fine.

So if you are having the same trouble I had, try that, you might be surprised =)

Smooth

Mr Guy
12-21-2001, 08:14 AM
Does just using

gcc3
ie:
gcc3 test.c
work on your system?

ezgo
12-22-2001, 09:40 AM
I was a breath away from trying to install GCC3 again when I saw this post. It is easy to find and change and the entire ShowEQ 4 compile was successful.

EZ