-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
OS X 10.5.8 -- ghc install fails on configure step -- what am I not seeing? #11671
Comments
I can re-produce this on my Leopard test machine. Looks like the GHC configure script calls a program called
This program fails with:
You should submit a bug report upstream to whoever is packing the GHC source code for OS X. |
Also, here is a StackOverflow post that may explain the reasons why this is happening: http://stackoverflow.com/questions/1440456/static-libraries-in-version-cross-compiled-program |
I have posted my bug ticket to GHC: http://hackage.haskell.org/trac/ghc/ticket/6009 If I get any updates that close this issue I will place it here. However, until I get a resolution I'd like to leave this issue open in case somebody else has insight. Also, in case one of the other devs interested in the GHC Functional programming model gets in the same jam. |
@Sharpie Can you confirm whether you're getting the compiler warning on your Leopard test machine? The version data may be wrong. |
Yeah, I'm seeing the warning as well. Here is the output:
|
Aha, that's the problem. The wiki listed a build number for llvm, but looks like 3.1.4 should not have one. Can you |
|
Update from GHC Support -- question for homebrew devs:
|
As far as I can tell, we use whatever is offered on the GHC download page: |
The reply from GHC support so far is now:
INo linking and building for 10.5 is how I read it but for people not on 10.5? The last comment on 5011 (which is labled fixed): But I am not sure if this really addresses the issue. |
Looks like upstream has dropped support for OS X 10.5 then. Not much we can do on this end other than error out with an explanation. |
Actually for 10.5 they suggest either building myself -- won't I have some issues too? Or... why not install the old versions with a warning that people like me are an obstacle to progress and will get the old version? http://hackage.haskell.org/platform/mac.html For Mac OS X 10.5 please use the 2010.2.0.0 installer. |
With the upcoming release of Mountain Lion, are winding down support for Leopard in the main repository. Because of this, complicating the formula logic such that it continues to work on Leopard is not a good investment of maintenance time. One option would be to submit a brew for an older GHC that works on Leopard to the Homebrew/versions repository: |
Let's create homebrew/leopard and have it submitted there. |
The binary releases of the GHC compiler are no longer compatible with OS X 10.5. Fixes Homebrew#11671.
The binary releases of the GHC compiler are no longer compatible with OS X 10.5. Fixes Homebrew#11671.
I have gone as far as:
Re-install brew
Re-install latest XCode available to Leopard
I can build any other formula so far: clojure, scala, mongo, postgresql....
I cannot determine the cause of the error for:
brew install ghc
I have posted a gist, I have not used gist before so I hope this helps. Since it is not of general use it is private:
https://gist.github.com/0bc9c8aff119527f2ec2
NOTE: is this an issue?
ls /usr/local/Cellar/ghc/7.0.4
ls: /usr/local/Cellar/ghc/7.0.4: No such file or directory
NOTE:
I have also tried following brew doctor's instructions for setting
The text was updated successfully, but these errors were encountered: