-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling with Xcode 4.3 #26
Comments
If you read the notes on 4.3, you'll see that it's a known issue. The unix bits have been completely ignored. Let's see if I can find the exact wording... Sent from my iPhone On Jan 12, 2012, at 5:22 AM, Matt Connollyreply@reply.github.com wrote:
|
Note on unix userspace tools:
Further down, a note that also says the unix headers aren't installed to the system:
...which I guess means that I should potentially switch from "current" to "latest" as the SDK target. You'll still have problems compiling any standard unix software outside of xcode though. :-/ |
Since it's listed as a "known issue" and not an upgrade note, I'm expecting this to be something they resolve before 4.3 is finalized. |
Thanks for this info - may help others who encounter the same issue. I have both 4.2.1 and 4.3 preview installed, but it was building against 4.3. For others who have both installed and encounter this issue, you need to "select" which Xcode to use, with the following command:
Then the gem installs correctly. Don't forget to change it back if you want to use 4.3 preview again after. |
Better solution: install "Command Line Tools" |
I installed the xcode 4.3 as well as the "Command Line Tools", still got the error: |
Yep, I was wrong there. Apple no longer supplies a non-llvm GCC,and https://github.com/kennethreitz/osx-gcc-installer On Feb 17, 2012, at 8:03 AM, Gk
|
I believe you need to Note that with xcode 4.4, which has a UI for installing the command line tools package from within xcode, everything just works. Perhaps the next 4.3 developer preview will include additional support and fixes that bring it in line with 4.4. |
I'm using Xcode 4.3 and set
It built successfully. Hope this helps:) |
@clippit wow, it works, thanks! |
@clippit that works for me as well. Thanks! |
@clippit worked for me as well thank you ! |
@clippit And me, thanks! |
+1 for @clippit 's solution |
@clippit ’s solution worked for me as well! Only wasted a few hours on this :) Thank you! |
@clippit and me! |
thanks @clippit |
1 similar comment
thanks @clippit |
yay @clippit - worked for me. Before finding this comment I had guessed just switching to /Applications/Xcode.app/, but the full path down to Contents/.../Developer is required. |
thanks @clippit it also worked for me sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ |
No more "me too" comments please! |
Just one more, I cant resist. Clip it, you rock. |
THANKS @clippit |
*uck yeah! Thanks :) Works @clippit |
Sending thanks to @clippit! |
No seriously, I didn't expect it to work but @clippit saved the day. |
Thanks to @clippit, but Homebrew need to flowing setting
|
@clippit you're the man. |
@clippit Can you explain why the alternate path? Is there a non-llvm gcc compiler in that path? |
thanks for this answer !!! |
Word @clippit you da man! |
I just want some things to "simply work" while I focus on my ruby/rails development. This is one. Definitely calls for a thanking to @clippit |
Ran into this problem... the solution above did not work. But, the software I was running seemed to want to install an earlier version...I forced it to load the more recent version and all is now right with the world. |
If you're an Apple developer and have access to the preview release of Xcode 4.3, you will find that this gem fails to compile 'fsevent/fsevent_watch.c' with the following error:
I'm guessing it's due to the changes to install locations with Xcode 4.3.... (but don't have the time to look further into it at this point - sorry).
The text was updated successfully, but these errors were encountered: