|Status of Diagrams installation on OS/X Lion?...||Stuart Hungerford||3/7/12 5:11 PM|
I'm currently trying to install Diagrams under Mac OS/X Lion,
This is with OS/X 10.7.3 and XCode 4.2.1 (need to avoid XCode 4.3 as
I've successfully installed GHC 7.0.4 and Haskell Platform 2011.4.0.0
Trying to install gtk2hs-buildtools though generates thousands of
Any advice much appreciated,
|Re: [diagrams] Status of Diagrams installation on OS/X Lion?...||Karl Smeltzer||3/7/12 7:44 PM|
I'm no expert, but I've been developing a fairly substantial project against Diagrams on both OSX 10.7.x and Linux successfully over the past few months. That said, I am using Macports as opposed to Homebrew because Macports gives me the option to build GTK natively against Quartz as opposed to the awkward X11 implementation on OSX. In theory both should work just fine, though. I've also used both Xcode 4.2.x and 4.3.x successfully so that isn't your problem.
I recommend you use the 64bit build of the Haskell Platform directly form haskell.org if you aren't already. Most tools and libraries seem to default to 64bit on 10.7, leading to fewer/no linking issues with the 64bit build of GHC. The only issue at all that I've encountered with the 7.0.x series of GHC is unrelated, namely the need to pass -fno-ghci-sandbox to GHCi in some circumstances.
With this combination of tools I've not yet encountered any need to pass special compiler flags for building the necessary libraries. I simply issue something along the lines of 'cabal install gtk2hs-buildtools' and make sure the install directory is on $PATH.
Since you don't mention any specific error output, my first instinct is to be sure you're using the 64 bit build of the Haskell Platform as well as ensuring that Homebrew is building 64bit versions of the appropriate libraries. Unfortunately I'm not sure exactly how to do this since I don't use it.
|Re: [diagrams] Status of Diagrams installation on OS/X Lion?...||jwlato||3/8/12 8:39 AM|
I've also been developing with OSX Lion with Macports gtk, for the
Would it be possible for you to post the output generated by "cabal
As this seems to be an issue with gtk2hs rather than diagrams itself,
|Re: [diagrams] Status of Diagrams installation on OS/X Lion?...||Stuart Hungerford||3/8/12 3:18 PM|
On Thu, Mar 8, 2012 at 2:44 PM, Karl Smeltzer
> I'm no expert, but I've been developing a fairly substantial project against
Thanks for that--I was very happy to leave Macports behind for
> I recommend you use the 64bit build of the Haskell Platform directly form
I've uninstalled the Homebrew versions and used the .pkg version of