Stop! Tickets are now managed at GitHub.
Please enter new tickets, and find and edit existing tickets there:
Ticket #163 (closed defect: fixed)
Cabal can't compile packages with Haskell Platform 2011.2.0.0 and XCode 4
|Reported by:||kevin||Owned by:||dons|
XCode 4 has no /Developer/SDKs/MacOSX10.5.sdk. GHC that ships w/ Haskell Platform 2011.2.0.0 expects it to be there. So a number of packages don't compile. e.g., network, pointfree, hoogle, because they can't find requisite headers or libraries.
Fix is to install Xcode 3.x.
Workaround is to create a symlink in /Developer/SDKs/ from MacOSX10.6.sdk to MacOSX10.5.sdk