Created
February 20, 2014 02:33
-
-
Save keithrbennett/9106009 to your computer and use it in GitHub Desktop.
Apple's gcc refuses to run without accepting the license at runtime.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> sudo pip install ansible | |
... | |
checking for gcc... gcc | |
checking whether the C compiler works... no | |
configure: error: in `/private/tmp/pip_build_root/pycrypto': | |
configure: error: C compiler cannot create executables | |
# Note, NO CLUE that this failure was simply due to the need to accept the license. | |
# (I guess the script was capturing all gcc's output.) | |
[0] 21:24 mac13 /Users/kbennett/temp | |
>gcc | |
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. | |
[69] 21:24 mac13 /Users/kbennett/temp | |
>sudo gcc | |
You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode. | |
Hit the Enter key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf' | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment