LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-23-2008, 10:42 PM   #1
Jinouchi
Member
 
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111

Rep: Reputation: 19
Audacity install: error: C compiler cannot create executables


I'm trying to install audacity and I get the following:

Code:
$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

$ mtype config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = XXX
uname -m = i686
uname -r = 2.6.18-6-486
uname -s = Linux
uname -v = #1 Sun Feb 10 22:06:33 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1405: checking for gcc
configure:1421: found /usr/bin/gcc
configure:1431: result: gcc
configure:1675: checking for C compiler version
configure:1678: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1681: $? = 0
configure:1683: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:1686: $? = 0
configure:1688: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1691: $? = 1
configure:1714: checking for C compiler default output file name
configure:1717: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1720: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1759: error: C compiler cannot create executables
See `config.log' for more details.
That's not all of the config.log, but I think that's all that's important. Can someone tell me what I need to do? I'm guessing I need to install some other package first, but what? Thanks.
 
Old 02-23-2008, 11:28 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

The problem is that you've apparently got a C compiler (gcc), but you're missing the development package (gcc-devel-xxx).

I'm not sure how that can happen but, fortunately, the solution is easy:

http://anaaman.blogspot.com/2006/01/...h-file-or.html

'Hope that helps .. PSM
 
Old 02-25-2008, 11:29 AM   #3
Jinouchi
Member
 
Registered: Jul 2007
Location: WI, USA
Distribution: Debian, Lenny
Posts: 111

Original Poster
Rep: Reputation: 19
I got an error 404, page not found. Could you double check the url? ty.
 
  


Reply

Tags
audacity, compiler


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
C compiler cannot create executables ERROR jaisol Linux - General 1 08-02-2006 03:05 PM
error: C compiler cannot create executables jimmax777 Linux - Software 3 12-21-2004 07:52 AM
error: C++ compiler cannot create executables sys7em Slackware 2 10-30-2004 07:38 PM
error: C compiler cannot create executables lopette Linux - Software 4 09-10-2004 05:06 PM
error: C compiler cannot create executables bublebboy Linux - Newbie 8 06-14-2004 11:38 PM


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