Fedora Linux Support Community & Resources Center
  #1  
Old 6th January 2010, 06:39 AM
ItecKid Offline
Registered User
 
Join Date: Jan 2009
Posts: 21
linuxfedorafirefox
C compiler can not create executables?

Hello,

I am trying to compile wine from source. When I run

Code:
sudo ./configure
I get this output:

Code:
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.
A quick search on Goggle reveals that I need gcc and g++ installed; I installed both of these through yum.

I have looked through config.log, however I do not know what to look for in there for something that might be the problem.

Thanks for the help.
Reply With Quote
  #2  
Old 6th January 2010, 07:09 AM
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Nanjing, China
Posts: 1,332
linuxfedorafirefox
The code is checking for 32-bit output from gcc, but your build environment is 64-bit.

I don't know why the configure script was asking for 32-bit output though. You may have to install the 32-bit compiler and libraries.
__________________
Code:
from rlyeh import cthulhu
cthulhu.fhtagn()
Reply With Quote
  #3  
Old 6th January 2010, 07:59 AM
ItecKid Offline
Registered User
 
Join Date: Jan 2009
Posts: 21
linuxfedorafirefox
Quote:
Originally Posted by aleph View Post
You may have to install the 32-bit compiler and libraries.
How do I go about doing that?
Reply With Quote
  #4  
Old 6th January 2010, 08:48 AM
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Nanjing, China
Posts: 1,332
linuxfedorafirefox
In general maintaining multilib support is difficult. I don't know if installing gcc.i686, glibc.i686 and libstdc++.i686 is enough.

Here's an old article explaining the difficulties one may encounter when trying to set up a multilib environment.
http://www.redhat.com/magazine/009ju...ures/multilib/

Maybe you can get better info from the developers of the package about multilib support.
__________________
Code:
from rlyeh import cthulhu
cthulhu.fhtagn()
Reply With Quote
Reply

Tags
compiler, create, executables

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C compiler cannot create executables knoppix21 Using Fedora 4 19th June 2009 07:59 AM
C compiler cannot create executables.... zacharysturgeon Using Fedora 1 8th June 2008 01:11 AM
Compiler cannot create executables darkhut Using Fedora 26 28th June 2007 11:45 PM
error: C compiler cannot create executables Omega430 Using Fedora 8 15th December 2004 06:26 PM
C compiler cannot create executables ypswes Using Fedora 3 17th March 2004 02:21 PM


Current GMT-time: 10:27 (Saturday, 22-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Redondo Beach Travel Photos on Instagram - Leesburg - Polyarnyy Instagram Photos