Summarizing, by answering my own question on the basis of the help I have received elsewhere in the thread.

On 2011 May 23, at 11:17, Jacek Generowicz wrote:

a) Am I right in concluding that GHC 7.0.3 will not run on OS X 10.5 (without unreasonable effort)?

It takes little effort on the part of the human, though the CPU will have to work hard.

- Make sure you have XCode 3.1 (or better, I guess)

- Download and install GHC-7.0.1

    http://www.haskell.org/ghc/download_ghc_7_0_1#macosxintel

- Use the above to compile GHC-7.0.3 from source.


b) On Ubuntu Natty I installed the generic linux GHC 7.0.3 binary. Downloaded Haskell Platform 2011.2.0.1 source distribution. ./ configure worked happily. make fails as follows.

Building transformers-0.2.2.0
"/usr/local/haskell-platform-2011.2.0.1/bin/ghc" "--make" "Setup" "- o" "Setup" "-package" "Cabal-1.10.1.0"
<command line>: cannot satisfy -package Cabal-1.10.1.0:
Cabal-1.10.1.0-1fb2094e19492373b1a39284193e7984 is unusable due to missing or recursive dependencies:
     process-1.0.1.5-55dfaccf3a91c4cb8f6284a0bafef198

Could anybody help me get past this problem?

This problem was probably caused by having an old ~/.ghc lying around.

On a *clean* Natty system, this procedure works like a charm, though you may have to apt-get install some required C libraries.

If you then proceed to install cabal-install, make sure *not* to use the version which is available for download (today) on the cabal- install page: for GHC 7 you need to use cabal-install version 0.10.*, which you can get from

   http://hackage.haskell.org/package/cabal-install

Use the booststrap.sh script which comes in the bundle (chmod u+x bootstrap.sh; ./bootstrap.sh).

Thanks to all those who helped. Hopefully this summary will be of some use to someone in the future.


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to