LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   I need GCC 3.0.3 (https://www.linuxquestions.org/questions/linux-software-2/i-need-gcc-3-0-3-a-14671/)

digital bots 02-19-2002 11:23 PM

I need GCC 3.0.3
 
Ok i downloaded it to my pc then i did
./configure
then
make
then
make install

and it didnt take did i do something wrong i am running red hat with a gcc of 2.96 and in order to install the MPlayer i need either gcc-2.95.x or gcc-3.x i really think that this may be the reason why i cant seem to get some of these programs to run. Like I tried the XIME movie player and it didnt take either. So can you guys help me out or point me to a .RPM file i could use to fix this problem.

acid_kewpie 02-20-2002 05:30 AM

heh, i guessed it would be for mplayer.

i'd recommend using an rpm install to have both versions of gcc on your system (assuming you're using redhat or something) then you'd specify the configure as

./configure --cc=gcc-3.0.3

i've not installed gcc from source before, so i'm not sure what executables it would create, you may well already have gcc-3.0.3 or something, i'm not sure. try some "locate gcc"'s and such like to track it down

digital bots 02-20-2002 05:54 AM

Quote:

Originally posted by acid_kewpie
heh, i guessed it would be for mplayer.

i'd recommend using an rpm install to have both versions of gcc on your system (assuming you're using redhat or something) then you'd specify the configure as

./configure --cc=gcc-3.0.3

i've not installed gcc from source before, so i'm not sure what executables it would create, you may well already have gcc-3.0.3 or something, i'm not sure. try some "locate gcc"'s and such like to track it down

well i do have RH7.2 but when i did the mplayer install it said i had GCC 2.7 i think its some version it did not support so it said upgrade to 3.0 or downgrade to 2.6 I will try to find a rpm of this thou thanks

digital bots 02-20-2002 05:58 AM

Quote:

Originally posted by acid_kewpie
heh, i guessed it would be for mplayer.

i'd recommend using an rpm install to have both versions of gcc on your system (assuming you're using redhat or something) then you'd specify the configure as

./configure --cc=gcc-3.0.3

i've not installed gcc from source before, so i'm not sure what executables it would create, you may well already have gcc-3.0.3 or something, i'm not sure. try some "locate gcc"'s and such like to track it down

well i do have RH7.2 but when i did the mplayer install it said i had GCC 2.97 i think its some version it did not support so it said upgrade to 3.0 or downgrade to 2.95.

acid_kewpie 02-20-2002 06:02 AM

well, you'll have 2.96, so you should use 3+ or 2.95. you can force it to use 2.96 with ./configure --disable-gcc or somethign similar (use ./configure --help for options)

digital bots 02-20-2002 06:08 AM

Quote:

Originally posted by acid_kewpie
well, you'll have 2.96, so you should use 3+ or 2.95
I did get the 2.95 rpm and it gave me this weird error.

<placepkgs /home/angomeka/gcc-2.95.3-0.20000503.1.i386.rpm;echo RESULT=$?
error: failed dependencies:
cpp = 2.95.3 is needed by gcc-2.95.3-0.20000503.1
gcc = 2.96-98 is needed by gcc-g77-2.96-98
gcc = 2.96-98 is needed by gcc-objc-2.96-98
gcc = 2.96-98 is needed by gcc-c++-2.96-98
RESULT=1

now i tried to upgrade and thats what i got. When i tried to replace this is what i got.

error: failed dependencies:
cpp = 2.95.3 is needed by gcc-2.95.3-0.20000503.1
RESULT=1

what did i do wrong all i did was double click on the icon and give it my shell password. lol

acid_kewpie 02-20-2002 06:12 AM

the joys of dependencies. well, i'd ssuggest going to 3.x, but actaully rpmfind says redhat doesn't have a 3.0.x...

so, get the gcc-cpp 2.92.whatever package that was listed, and upgrade again.


All times are GMT -5. The time now is 04:08 PM.