PDA

View Full Version : gcc3 problem



catinthelap
02-25-2002, 11:22 AM
I am getting an error during configure indicating that I do not have gcc3. I have installed gcc3;

# rpm -q gcc3.0
gcc3.0-3.0.1-1mdk

but for some reason it looks like my system (Mandrake 8.1) is still running 2.96.

# gcc --version
2.96

Any thoughts?

high_jeeves
02-25-2002, 11:37 AM
well, gcc is 2.96. gcc3.0.1 is gcc3.0.1. Please read the install guides for more information.

--Jeeves

fryfrog
02-26-2002, 11:34 AM
you need to make sure you have ALL the required gcc-3.0.1 type rpms. there are more than just one. i think there are three or four. also, before you compile you might need to use an export line like...



export QTDIR=/usr/lib/qt-2.3.2/
export CC=gcc-3.0.1
export CXX=g++-3.0.1


also, make SURE you have compiled qt-2.3.2 with gcc3 (which i doubt you truely have, since showeq isn't finding gcc3).

in redhat 7.2 its "gcc3" and "g++3" and in mandrake 8.1 its "gcc-3.0.1" and "g++-3.0.1" just fyi.

catinthelap
02-26-2002, 01:57 PM
ahh... I didn't realize there was a distinction between redhat and mandrake. Thanks that fixed it.