LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-09-2003, 09:53 AM   #1
sanjith11
Member
 
Registered: Oct 2003
Distribution: redhat
Posts: 63

Rep: Reputation: 15
compiling and installing


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
 
Old 12-09-2003, 10:57 AM   #2
Modify
Member
 
Registered: Nov 2003
Distribution: Debian 3.0r1
Posts: 55

Rep: Reputation: 15
If you could post your configure error, it'd help us help you (:
 
Old 12-09-2003, 12:51 PM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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.

Håkan
 
Old 12-10-2003, 04:03 AM   #4
cseanburns
Member
 
Registered: Nov 2003
Distribution: Fedora, Debian, Ubuntu, FreeBSD
Posts: 129

Rep: Reputation: 23
gcc upgrade where?

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.
 
Old 12-10-2003, 06:38 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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).

To download follow the links at http://www.gnu.org.
 
Old 12-11-2003, 07:11 AM   #6
sanjith11
Member
 
Registered: Oct 2003
Distribution: redhat
Posts: 63

Original Poster
Rep: Reputation: 15
please tell me how to upgrade to gcc 3 in rh7.3
 
Old 12-11-2003, 07:38 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 12-11-2003, 07:41 AM   #8
mastershake
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error installing and compiling The slayer SUSE / openSUSE 3 04-14-2005 06:08 AM
Installing and compiling MySQL foo_mulan Linux - Newbie 13 07-21-2004 01:37 AM
Compiling and installing modules The1ManMoshPit Linux - Software 0 06-30-2004 09:40 PM
Installing (Compiling?) the new 2.6.1 kernel LilGryphMaster Linux - Newbie 9 01-31-2004 09:45 PM
installing, compiling from source illtbagu Linux - Newbie 10 01-04-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 AM.

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