LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-17-2005, 01:01 PM   #1
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
need to uninstall gcc 2.96 then install newer?


need to compile mplayer for fedora core 4....it states that they dont support this version of gcc. How shall i go about doing this? how can i uninstall gcc 2.96 then install gcc latest
 
Old 07-17-2005, 02:04 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you really can't
you can try to compile newest gcc4 in some safe place like --prefix=/opt/gcc4 though
but remember you will be compiling gcc4 with gcc2 so do "make bootstrap" not just "make"

gcc is not reverse compatable so you really don't want to uninstall your core compiler

seems like the best solution is to actually compile it on FC4 instead of your very old system
you got more outated stuff to deal with than just gcc there so even if you succeed with gcc4 the mplayer still won't work unless you copy libs i bet
 
Old 07-17-2005, 02:22 PM   #3
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
Sorry i didnt read the message properley....heres what i get when i try to compile mplayer



[root@localhost MPlayer-1.0pre7]# ./configure --enable-gui
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.0, bad
Checking for gcc version ... 4.0.0, bad
Checking for gcc-3.4 version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... 4.0.0, bad

*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use. Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder). If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

*** For details please read DOCS/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.
 
Old 07-17-2005, 03:16 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I'm really not sure why the Fedora people made gcc4 the compiler in FC4 -- it's still pretty new and there's some amount of stuff it doesn't work correctly with (mostly shoddily written programs that use nonstandard language features). I've run into this myself. Anuhow, I would suggest looking for a gcc3 package in FC4 )via yum or on your CDs) and if you can find one, try compiling a gcc 3 in /opt/gcc3 or some other out of the way place and setting the CC environment variable to point to /opt/gcc3/bin/gcc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i uninstall gcc-3.3-base biosedit Linux - Software 2 11-11-2005 01:57 AM
Install/ UnInstall GCC hatti_ajit Linux - Newbie 3 07-19-2004 03:18 AM
Newer Linux Distributions will not install staus Linux - Laptop and Netbook 3 04-24-2004 02:16 AM
Install newer version of Mozilla koswo Linux - Software 3 12-23-2003 01:45 AM
Newer version of glibc means i cant install gcc coop Red Hat 0 09-21-2003 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration