Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rating: Thread Rating: 16 votes, 5.00 average. Display Modes
Old 02-06-2012, 08:09 PM   #1
RHG
Triple-A Player
 
Join Date: Oct 2003
Posts: 104
Fink: developer tools not found

I'm installing Fink on a new machine, running Lion. I have Xcode 4.1 installed. Nonetheless when I run the command "bootstrap" to install I get the message:

Checking cc... not found.
ERROR: There is no C compiler on your system. Make sure that the Developer
Tools are installed.

I made sure that /Developer/usr/bin is in my path, set in ~./bash_profile, but perhaps not accessed by the bootstrap program. The Fink install FAQ is not only unhelpful, but rude, saying:

"Read the docs next time. To compile packages from source, you must install the Developer Tools, which among other stuff contains the C compiler, cc."
RHG is offline   Reply With Quote
Old 02-06-2012, 09:27 PM   #2
dmacks
All Star
 
Join Date: Dec 2004
Posts: 677
That check appears to verify that /usr/bin/cc exists and is an executable program. It has nothing to do with things in /Developer and definitely does not care about your shell dotfiles.
dmacks is offline   Reply With Quote
Old 02-06-2012, 09:59 PM   #3
RHG
Triple-A Player
 
Join Date: Oct 2003
Posts: 104
okay, there's no /usr/bin/cc, but there is a /Developer/usr/bin/cc, which is where the Xcode installer put it.
RHG is offline   Reply With Quote
Old 02-07-2012, 12:15 AM   #4
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,956
Googling around re this issue, I see some reports that suggest either/or:
- some versions of the Developer Tools don't install stuff under /usr as they apparently as supposed to
- doing an uninstall of the Developer Tools and then a reinstall may fix the problem
(I recall some issues in the past where an uninstall of the old version of Developer Tools was necessary to avoid problems)
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 02-07-2012, 02:57 AM   #5
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,057
When you installed Developer Tools, did you check the box to install the UNIX Development package as well?

If not, go and do that now.
acme.mail.order is offline   Reply With Quote
Old 02-07-2012, 07:21 AM   #6
RHG
Triple-A Player
 
Join Date: Oct 2003
Posts: 104
Do I have to uninstall first to install the UNIX development package?
RHG is offline   Reply With Quote
Old 02-07-2012, 07:23 AM   #7
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,057
No - unless you have run software update. Then you might have to change your install options.
acme.mail.order is offline   Reply With Quote
Old 02-09-2012, 08:24 AM   #8
RHG
Triple-A Player
 
Join Date: Oct 2003
Posts: 104
@acme, This time I installed from the App Store, and I don't remember being given any options or choices of boxes to check when it installed. You say "go and do that now," but in the preferences window, I see no place to choose it. I've Googled a little and found nothing.
RHG is offline   Reply With Quote
Old 03-04-2013, 08:46 AM   #9
pinin
Registered User
 
Join Date: Mar 2013
Posts: 1
You have to install the "Command line tools".
In Xcode 4.6 (the latest) go to Preferences/Downloads and you can find them.

Hope this will help. It worked for me.
pinin is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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



All times are GMT -5. The time now is 08:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.