LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-02-2009, 02:02 PM   #1
lilmike
Member
 
Registered: Nov 2009
Location: Baton Rouge, Louisiana
Distribution: Ubuntu
Posts: 56

Rep: Reputation: 15
Question configure not finding ansi c compiler even though I have gcc installed


Hi,
I was trying to compile a moo, specifically lambda moo 1.8.3 modified to mongoose moo 1.8.3.
I run configure and it gives me:
Quote:
checking for bison
checking for gcc
checking how to run the C preprocessor
checking whether -traditional is needed
checking how to run the C preprocessor
checking for NeXT
checking for the DEC Alpha running OSF/1
checking for the SGI compiler
checking for AIX
checking for POSIXized ISC
checking for minix/config.h
checking for -lintl
checking for A/UX
checking for HP/UX
checking that the C compiler handles important ANSI C constructs

*** Sorry, but I can't figure out how to find an ANSI C compiler here.
*** Compiling this program requires such a compiler.
I know gcc is installed, as I do this:
Quote:
gcc
gcc: no input files
I have run the following commands as root:
apt-get install gcc
apt-get install bison
I have also installed apache along with many of its modules, though this shouldn't matter.
Any help would be appreciated.
-Lilmike.
 
Old 11-02-2009, 03:33 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Check the README that was provided with your application's source. It may be that you need to explicitly point to a c compiler with a command line option.
 
Old 11-02-2009, 03:39 PM   #3
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 138Reputation: 138
That's weird - it looks like it's found gcc, but that gcc produces an error in it's test program. Could you post your `config.log' file, which should have been generated by the configure script?

John G
 
Old 11-02-2009, 03:57 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Welcome to LQ.

A gcc compiler will require glibc-devel / libc6-dev
( same library, different names in different Linux's )
to use all functions.
And may be some extra headers, again it depends,
which Linux, you are using.

So for a complete answer, please tell.
Like Ubuntu 9.04, Fedora 11, Redhat EL 5 etc.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
.....
 
Old 11-02-2009, 06:11 PM   #5
lilmike
Member
 
Registered: Nov 2009
Location: Baton Rouge, Louisiana
Distribution: Ubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
Unhappy

Hi,
I am using ubuntu 9.10, I guess I included that in the original post that didn't send, heh, but there it is.
and as for the configure.log, it appears to be blank... how weird...
Thanks,
-Michael.
 
Old 11-02-2009, 06:18 PM   #6
lilmike
Member
 
Registered: Nov 2009
Location: Baton Rouge, Louisiana
Distribution: Ubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
Wow!
I installed the second one you mentioned, after the slash, this one:
libc6-dev
and now it works!
Wow, thanks alot!
-Michael.
 
  


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
??? Make sure the C compiler gcc -O is properly installed pascalover Linux - Newbie 1 08-03-2008 04:39 PM
how do find out whether i have gcc compiler installed? ashlesha Linux - Newbie 3 06-27-2006 03:42 PM
package updater not finding gcc which is installed strimp099 Linux - Software 2 04-19-2006 07:41 PM
Problem with gcc: configure: error: C compiler cannot create executable abefroman Suse/Novell 4 05-11-2005 06:12 PM
GCC 3.4.1 configure script needs CC compiler? battousai9439 Linux - Software 11 12-24-2004 01:33 PM


All times are GMT -5. The time now is 04:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration