LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-09-2004, 03:35 AM   #1
meodihia
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Compile from source


I compiled from sources in Debian ( Woody and Sarge) but I couldn't. I download mc.tar.gz from gnu
website and compiled in Debian. When run ./configure , the errors are:
.... checking for gcc...gcc
checking for C compiler default output... configure: error: C compiler cannot create executables.
But when I compiled in Redhat, Fedore, it run well.
Can anybody explain me ? Thank you!!!!
 
Old 08-09-2004, 03:50 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
On your Debian system you need to install a C compiler.
 
Old 08-09-2004, 04:00 AM   #3
meodihia
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Compile from source

I already installed C compiler gcc, so configure script checked:
- checking for gcc .... gcc
 
Old 08-09-2004, 01:49 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: Compile from source

Quote:
Originally posted by meodihia
I compiled from sources in Debian ( Woody and Sarge) but I couldn't. I download mc.tar.gz from gnu
website and compiled in Debian. When run ./configure , the errors are:
.... checking for gcc...gcc
checking for C compiler default output... configure: error: C compiler cannot create executables.
But when I compiled in Redhat, Fedore, it run well.
Can anybody explain me ? Thank you!!!!
You missed installing a package most likely binutils. BTW is this Midnight Commander you are trying to install if so you can apt-get install mc.
 
Old 09-11-2004, 12:26 PM   #5
OllieGator
LQ Newbie
 
Registered: Dec 2003
Posts: 8

Rep: Reputation: 0
Never mind this message. :P

Last edited by OllieGator; 09-11-2004 at 12:30 PM.
 
Old 09-11-2004, 12:29 PM   #6
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
apt-get install binutils
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile source on other pc ??? sys7em Linux - General 1 11-01-2004 09:53 AM
How to compile source??? Aranilion Programming 12 08-25-2004 12:44 PM
Compile from source? Gamezace Linux - Newbie 4 04-18-2004 01:31 AM
Still can't compile from source Nappa Slackware 1 12-27-2003 04:12 AM
How do I compile from source? graystarr Red Hat 3 09-19-2003 12:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:35 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