Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > gcc 4.0 wont create executables

gcc 4.0 wont create executables
Thread Tools
runcoberry
Junior Member
Join Date: Nov 2001
Location: SeaLab 2021
Status: Offline
Reply With Quote
May 8, 2005, 12:25 PM
 
I am trying to compile fink under tiger. I installed the package from their website, deleted /sw/ and and running the bootstrap from "fink-0.23.9" on their website. The script gets to ./configure and then bails out because gcc 4.0 wont create executables. I switched to gcc 3.3 and fink said that it needed gcc 4.0 to compile. Does anyone have any suggestions to get it to compile.

Code:
./configure --prefix=/sw/bootstrap --infodir=/sw/bootstrap/share/info --mandir=/sw/bootstrap/share/man --with-included-gettext creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc -L/sw/src/gettext-0.10.40-19/gettext-0.10.40/intl/.libs -L/sw/bootstrap/lib) works... no configure: error: installation or configuration problem: C compiler cannot create executables. ### execution of ./configure failed, exit code 1 compiling gettext-0.10.40-19 failed
One OS to Rule them all,
and in the Darkness [dramatic pause] Bind them.

-- Tiger
     
albook
Dedicated MacNNer
Join Date: Nov 2003
Location: Oslo, Norway
Status: Offline
Reply With Quote
May 8, 2005, 01:46 PM
 
You run "./bootstrap.sh /sw" to install, right?
At least that worked fine for me some days ago.
     
runcoberry  (op)
Junior Member
Join Date: Nov 2001
Location: SeaLab 2021
Status: Offline
Reply With Quote
May 8, 2005, 06:48 PM
 
Yeah, that's what I was running ./bootstrap.sh from a folder on desktop. This is the only thing that I could think.
I am going to try it running from /tmp/
One OS to Rule them all,
and in the Darkness [dramatic pause] Bind them.

-- Tiger
     
sahara
Forum Regular
Join Date: Apr 2001
Location: NY, NY, USA
Status: Offline
Reply With Quote
May 9, 2005, 09:02 AM
 
Immediately had this same problem with Fink after upgrading to Tiger. Turns out that when I installed Tiger dev tools, I unchecked something that needed to be installed. A reinstall of dev tools solved it. Unfortunately I've forgotten what part of the package I had missed.
- Sahara
     
runcoberry  (op)
Junior Member
Join Date: Nov 2001
Location: SeaLab 2021
Status: Offline
Reply With Quote
May 9, 2005, 05:00 PM
 
Immediately had this same problem with Fink after upgrading to Tiger. Turns out that when I installed Tiger dev tools, I unchecked something that needed to be installed. A reinstall of dev tools solved it. Unfortunately I've forgotten what part of the package I had missed.
__________________
- Sahara
I am going to definitely try that. I was trying to cut out a lot of the Dev stuff that I wouldn't need, but I guess that I cut that list a little to thin. THanks for the suggestion. I have a hunch that it was the SDKs, which I don't understand why. I will post when I figure out what component was missing. Thanks again.
One OS to Rule them all,
and in the Darkness [dramatic pause] Bind them.

-- Tiger
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 11:59 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,