Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
i have rh 7.3 as well as 8 due to some reason i want to use rh7.3.but the problem with rh7.3 is that the gcc in rh7.3 wont compile mplayer.can i compile mplayer using rh9 and install it with rh7.3. ie ./configure and make in rh8 and 'make install' in rh 7.3
Just upgrade to a 3.x version or gcc or downgrade to 2.95. RedHat 7.3 uses the 2.96 version which was never meant to be released. It's a buggy development that won't even compile a Linux kernel, and RedHat shipped it anyway. Just to be bleeding edge, I suppose.
You can have several versions of gcc installed at the same time and specify which you want to use when you compile.
I am having a similar problem, but with Mandrake 9.2. When I tried to compile Mplayer, it said my compiler needed to be upgraded because GCC 2.96 is not supported. So how do we upgrade the GCC? I can't find anything on this anywhere: google, mandrake, etc. Also, is there a man file on this? When I type ./configure --help I get "no such file or directory". Which seems really weird. Supplementary question: does Mandrake suck? It seems like I read a lot here that Mandrake is not the distro to use for compiling. Fine, but when I tried to install Mplayer from their cd, it says I can't because I'm missing some file or something. Which is also fine, because I want to learn how to compile downloads. Thanks for anybody's help. Much appreciated.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
MDK 9.2 shouldn't ship with gcc 2.9.6. From the rest of your post I rather think that you didn't install the developping packages. Make sure, that you have (via Drak Control Centre -- or whatever it is called).
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Sorry, my previous posting was for cseanburns.
I've no experience with RedHat. As much as I know, your using a RH 9 distribution for compiling could in principle cause problems in two cases during install on RH 7.3: 1. If the structure of the file tree changed (those parts necessary to access libraries) and 2. should your program access libraries of versions different on RH 7.3 to 9.0 (dynamically linked ones).
Perhaps start a new thread in the Distributions / RedHat forum and ask for help there ... good luck.
you know....it would be much simpler to just apt-get mplayer. are you wanting a custom compile? if not, then get apt-get from http://apt.freshrpms.net
it solves many (perhaps most) redhat woes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.