Installing GHC 6.8.1 on Mac OS X Leopard (x86)
As reported in glasgow-haskell-users, you need to be a bit careful to use this configuration.
Although I took care of those libgmp and readline dependency thingies, following error was persistent when I tried to build it:
... snipped
installPackage: Multiple files with extension buildinfo
make[1]: *** [install.library.Cabal] Error 1
make: *** [install] Error 2
Under libraries/Cabal directory there was a file named buildinfo2.buildinfo, but no other file with .buildinfo extension... yes, actually there was, it was ._buildinfo2.buildinfo. After removing this file the build was successful.
It was likely that this offensive file snuck into there during preparing the archive. I expanded the archive using tar command on the command line, but I should have used the Archive Utility, which handles those dot-files correctly.
Anyhow, that's how I wasted my precious four nights :-(
Although I took care of those libgmp and readline dependency thingies, following error was persistent when I tried to build it:
... snipped
installPackage: Multiple files with extension buildinfo
make[1]: *** [install.library.Cabal] Error 1
make: *** [install] Error 2
Under libraries/Cabal directory there was a file named buildinfo2.buildinfo, but no other file with .buildinfo extension... yes, actually there was, it was ._buildinfo2.buildinfo. After removing this file the build was successful.
It was likely that this offensive file snuck into there during preparing the archive. I expanded the archive using tar command on the command line, but I should have used the Archive Utility, which handles those dot-files correctly.
Anyhow, that's how I wasted my precious four nights :-(
5 Comments:
Well, you saved me a precious night. Thanks for the solution.
Scott
Thank you, thank you, thank you!!
They still haven't updated their dang files.
thank you, saved me too.
Thanks, this helped me for GHC 6.8.2 also.
Whew! Just when I decided to go from 6.6 to 6.8 I ran into this problem too! Thanks!
Post a Comment
Subscribe to Post Comments [Atom]
<< Home