|
|
|
|
#1 |
|
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." |
|
|
|
|
|
#2 |
|
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.
|
|
|
|
|
|
#3 |
|
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.
|
|
|
|
|
|
#4 |
|
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 |
|
|
|
|
|
#5 |
|
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. |
|
|
|
|
|
#6 |
|
Triple-A Player
Join Date: Oct 2003
Posts: 104
|
Do I have to uninstall first to install the UNIX development package?
|
|
|
|
|
|
#7 |
|
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.
|
|
|
|
|
|
#8 |
|
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.
|
|
|
|
|
|
#9 |
|
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. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|