Compatibility with Xcode 4.3.1

XCode 4.3.1 from the App Store installs to /Applications/ instead of /Developer. This change appears to break PGI 12.3 (and earlier, I assume).

Any help/workarounds ?


Thanks Todd, we’re working on getting a patch release out as soon as we can to address this. I’ll update this post once it’s available.

  • Mat


12.3 package has been fixed.

For previously installed PGI releases, please run makelocalrc -x /opt/pgi/osx86*/$version to update localrc file for Xcode 4.3.1.

If that still does not work, you will need to check if you have installed command line tools properly. Below is one way to install command line tools:

After Xcode 4.3.1 is installed.

  1. From Xcode menu, Click on “About Xcode” to make sure the version is 4.3.1
  2. From Xcode menu, Click on “Preferences …”
  3. The Preferences window will pop up.
  4. Click on “Downloads” button.
  5. Highlight Command Line Tools (… MB), then click on “Install” Tab on the right. If it hangs, I recommend download .dmg file instead.

Also, make sure your /usr/bin/xcodebuild points to the new one, command to do that:
% xcode-select -switch /Applications/
% /usr/bin/xcodebuild -version

should print version 4.3.1.


Is this new version available for download yet?