LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-05-2005, 09:52 PM   #1
TheDude05
Member
 
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
paulsm4
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
pembo13
Member
 
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
paulsm4
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
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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
TheDude05
Member
 
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
Nylex
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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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