Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.