Haskell Platform on OS X Lion with Xcode 4.3

Greetings. I have been had the Haskell Platform installed on my Mac for a long time. Last week I got a new faster Mac which is running OS X 10.7.3 and has Xcode 4.3 installed. I cannot install the Haskell Platform on it because the HP complains that it cannot find the developer tools. (BTW, Xcode 4.3 *does* appear to include the 10.5 SDK. Has anyone had luck installing the HP in this environment? (I know that this is not the ideal mailing list for this question. The haskell-platform mailing list seems to be broken at the moment, as is the haskell-platform bug reporting trac website.) - P -

On Fri, Feb 17, 2012 at 20:39, Philippe Sismondi
I have been had the Haskell Platform installed on my Mac for a long time. Last week I got a new faster Mac which is running OS X 10.7.3 and has Xcode 4.3 installed. I cannot install the Haskell Platform on it because the HP complains that it cannot find the developer tools. (BTW, Xcode 4.3 *does* appear to include the 10.5 SDK.
Has anyone had luck installing the HP in this environment?
A suggestion posted yesterday:
from:
Luca Ciciriello luca_ciciriello@hotmail.com
viahttp://support.google.com/mail/bin/answer.py?hl=en&ctx=mail&answer=1311182
haskell.org
sender-time:
Sent at 10:59 (GMT+01:00). Current time there: 2:54 AM. ✆
to:
GHC Users Mailing List
If you have ghc 7.0.4 on Mac OS X 10.7.3 and you have recently installed the new Xcode 4.3, here a workaround to continue using ghc without the /Developer folder (removed with Xcode 4.3). Workaround: from terminal type: sudo emacs /Library/Frameworks/GHC.framework/Versions/7.0.4-x86_64/usr/bin/ghc-7.0.4 then insert your psw. in emacs change the line pgmgcc="/Developer/usr/bin/gcc" in pgmgcc="gcc" save all.
-- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

Thanks, Brandon. That set me straight. Actually, I misspoke in my original post. I had completely forgotten that I upgraded from Snow Leopard to Lion on my new machine, and then installed Xcode 4.3. As a result I was looking at a /Developer directory from an earlier install of Xcode. I noticed the mention in post you included that /Developer is now *gone*. Anyway, in the meanwhile I have installed Snow Leopard on a separate partition on my new machine. I have already installed the HP on the Snow Leopard partition, so I'll use that until it's sorted out. Or, I may try the suggestion from Luca in your post. Thanks again. On 2012-02-17, at 8:56 PM, Brandon Allbery wrote:
On Fri, Feb 17, 2012 at 20:39, Philippe Sismondi
wrote: I have been had the Haskell Platform installed on my Mac for a long time. Last week I got a new faster Mac which is running OS X 10.7.3 and has Xcode 4.3 installed. I cannot install the Haskell Platform on it because the HP complains that it cannot find the developer tools. (BTW, Xcode 4.3 *does* appear to include the 10.5 SDK. Has anyone had luck installing the HP in this environment?
A suggestion posted yesterday:
from: Luca Ciciriello luca_ciciriello@hotmail.com via haskell.org sender-time: Sent at 10:59 (GMT+01:00). Current time there: 2:54 AM. ✆ to: GHC Users Mailing List
date: Fri, Feb 17, 2012 at 10:59 subject: ghc 7.0.4 with the new Xcode 4.3 Hi All. If you have ghc 7.0.4 on Mac OS X 10.7.3 and you have recently installed the new Xcode 4.3, here a workaround to continue using ghc without the /Developer folder (removed with Xcode 4.3). Workaround: from terminal type: sudo emacs /Library/Frameworks/GHC.framework/Versions/7.0.4-x86_64/usr/bin/ghc-7.0.4 then insert your psw. in emacs change the line pgmgcc="/Developer/usr/bin/gcc" in pgmgcc="gcc" save all. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

Actually, things are better than i thought. Further reading on Xcode 4.3 led me to understand that even a command line gcc is a separate download and install with Xcode 4.3. I did that, and since I do have the 10.5 sdk from an earlier install of Xcode, I was able to install the Haskell Platform. That's not to say that I have tested it or anything. I can fire up ghci and compile with ghc, though, so I may be good to go. Thanks. On 2012-02-17, at 8:39 PM, Philippe Sismondi wrote:
Greetings.
I have been had the Haskell Platform installed on my Mac for a long time. Last week I got a new faster Mac which is running OS X 10.7.3 and has Xcode 4.3 installed. I cannot install the Haskell Platform on it because the HP complains that it cannot find the developer tools. (BTW, Xcode 4.3 *does* appear to include the 10.5 SDK.
Has anyone had luck installing the HP in this environment?
(I know that this is not the ideal mailing list for this question. The haskell-platform mailing list seems to be broken at the moment, as is the haskell-platform bug reporting trac website.)
- P - _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

For posterity on the list, the method here is to install Xcode, enter the preferences menu, choose the downloads section, and install "Command Line Tools" from the components menu. Alternatively, these tools are available in a standalone installer (no Xcode required) here: https://developer.apple.com/downloads/index.action?=command%20line%20tools Jack Henahan jhenahan@uvm.edu == Computer science is no more about computers than astronomy is about telescopes. -- Michael R. Fellows == On Feb 17, 2012, at 8:39 PM, Philippe Sismondi wrote:
Greetings.
I have been had the Haskell Platform installed on my Mac for a long time. Last week I got a new faster Mac which is running OS X 10.7.3 and has Xcode 4.3 installed. I cannot install the Haskell Platform on it because the HP complains that it cannot find the developer tools. (BTW, Xcode 4.3 *does* appear to include the 10.5 SDK.
Has anyone had luck installing the HP in this environment?
(I know that this is not the ideal mailing list for this question. The haskell-platform mailing list seems to be broken at the moment, as is the haskell-platform bug reporting trac website.)
- P - _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (3)
-
Brandon Allbery
-
Jack Henahan
-
Philippe Sismondi