#48926: Xcode 7 update seems to cause /usr/bin/clang --version to hang which causes ./configure to hang ----------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by david@…): Here's how I fixed this, as someone else might hit the same problem. 1) Run xcodebuild -showsdks + if there's no "-sdk macosx10.10" then continue 2) Download Xcode-6.4.dmg (command line tools appear to be packaged in the Xcode dmg) 3) mv /Applications/Xcode /Applications/Xcode-7.0 4) Install Xcode-6.4.dmg 5) If everything worked, you should see... imac# xcodebuild -showsdks OS X SDKs: OS X 10.9 -sdk macosx10.9 OS X 10.10 -sdk macosx10.10 /usr/bin/gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.5.0 Thread model: posix If not, navigate to /Applications/Xcode -> Preferences -> Locations -> Change "Command Line Tools" to 6.4 -- Ticket URL: <https://trac.macports.org/ticket/48926#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X