LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2003, 12:10 AM   #1
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
Question Binutils 2.14 -> Requirement for mplayer -> CC error


Hey I set up RedHat Linux 9.0 in about 1month or so!
I would like to listen to mp3's (movies, but that later), on my linux machine. I went to mplayer and started to read the docs. When I got to the requirements I started to find, download, and install them.

Luckily, I got stuck on the first requirement and I am here. I was recieving the below as an error.
*** The command '/home/user1/gcc-3.3.2/ -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
So i read that I had to make CC = to a compiler. I did CC=gcc ./configure, and same error. Then I sort of understood from various forums in this site that i was supposed to do the below (export CC=...)

Code:
user1@localhost binutils-2.14]$ export CC="/home/user1/gcc-3.3.2/"
[user1@localhost binutils-2.14]$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
./configure: line 2095: /home/user1/gcc-3.3.2/: is a directory
./configure: line 2206: /home/user1/gcc-3.3.2/: is a directory
*** The command '/home/user1/gcc-3.3.2/ -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[user1@localhost binutils-2.14]$
What is wrong? I have installed gcc from binary and everything is working great (I installed checkinstall, mozilla, and updated up2date certificates, as well as up2date rpm's just fine. Somebody tell me how to fix this problem. thx
 
Old 11-15-2003, 01:03 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
hmm... first off, i don't think your gcc is located in your user's home directory. for me it's in /usr/bin. and to invoking it on the ./configure line should work:

./configure CC=gcc

i'm not sure, but it maybe that binutils won't compile with gcc3.3.2 as maybe the binutils is looking for an older version of gcc like version 2.96 or something. there are rpms for binutils though and since you're using red hat 9, i'd suggest using them instead of trying to compile your own.

http://www.trilithium.com/software/misc/

edit: actually you should be able to find this on rhn on red hat's site.

Last edited by megaspaz; 11-15-2003 at 01:06 AM.
 
Old 11-21-2003, 08:14 PM   #3
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Original Poster
Rep: Reputation: 15
thanks, precompiled worked out
 
  


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
Binutils Error hell_carnage Linux From Scratch 1 06-26-2005 09:33 AM
Error in binutils Macky Linux From Scratch 1 04-29-2005 06:39 PM
Binutils Error! chakkaradeepcc Linux From Scratch 2 04-28-2005 05:53 AM
binutils error lordtweety Linux From Scratch 5 12-01-2004 09:37 AM
1 minute login error requirement STREETTEC Linux - Security 1 03-20-2003 11:47 AM


All times are GMT -5. The time now is 08:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration