Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-05-2005, 09:52 PM   #1
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Rep: Reputation: 15
gcc error (can't make exexutables)

trying to run wineinstall and I get this error

[andrew@localhost wine-20050830]$ ./tools/wineinstall
WINE Installer v0.75

Running configure...

configure: creating cache config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Configure failed, aborting install.
[andrew@localhost wine-20050830]$

running fedora core 4 (x86_64) from the dvd iso
Old 09-06-2005, 01:15 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
This means you need to find and install a C compiler (gcc) on your system before it will let you install wine.

I imagine that gcc is probably on your DVD. Just install it, then re-run the wine install.

'Hope that helps .. PSM
Old 09-06-2005, 10:44 AM   #3
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
I suggest you put what distro you use into your user info so that we may assist you with the easiest way to get gcc
Old 09-06-2005, 12:36 PM   #4
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
pembo13: he did. Fedora Core 4.

The Dude05: this topic really belongs in "software" rather than "programming", but I'm hoping simply (re)installing Gcc should square you away.

Again, the "gcc" command really does at least three separate things (or more, depending on how you count): runs the preprocessor (which picks up your headers), the compiler (which builds your source) and the linker (which picks up the system libraries). Your problem is in the third one: your linker can't find "libc<something>". Maybe it's a version mismatch, maybe it's an incomplete install, maybe it's a configuration issue. In any case, consider de-installing and re-installing Gcc.

'Hope that helps .. PSM
Old 09-06-2005, 12:53 PM   #5
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Also note that this common error message can have a number of causes... and those causes can be explained by reading config.log, as it advises you to.
Old 09-06-2005, 03:29 PM   #6
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
The thing is I've compiled other things from source without a hitch. Wine is the only thing that has complained. I might just install the RPM version.

Oh also.. I tried looking for the config.log in /var/logs/ but couldn't find it. Anyone know where it is?
Old 09-06-2005, 03:51 PM   #7
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The config.log file is usually in the directory that you're running configure from, IIRC.


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
GCC Make error on Solarias 2.8: libc.a unknown file type vinaybms Solaris / OpenSolaris 1 06-20-2005 01:56 AM
gcc-3.4.3 make -k check stops on error? Yerp Linux From Scratch 1 04-16-2005 03:25 AM
Error in gcc while trying to run make TheBelush Linux - Newbie 3 01-23-2005 12:34 AM
gcc make error in ch5.5 of LFS 6.0 Barnette Linux From Scratch 5 01-03-2005 11:09 AM
gcc-3.3.3 make install error Louis_Carole Linux From Scratch 4 07-31-2004 03:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration