2007/12/08

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 :-(

Labels: , ,

5 Comments:

Anonymous Anonymous said...

Well, you saved me a precious night. Thanks for the solution.

Scott

January 1, 2008 at 8:16 AM  
Anonymous Anonymous said...

Thank you, thank you, thank you!!
They still haven't updated their dang files.

January 4, 2008 at 4:17 AM  
Blogger Unknown said...

thank you, saved me too.

February 6, 2008 at 3:05 PM  
Anonymous Anonymous said...

Thanks, this helped me for GHC 6.8.2 also.

March 2, 2008 at 12:44 AM  
Blogger Corey O'Connor said...

Whew! Just when I decided to go from 6.6 to 6.8 I ran into this problem too! Thanks!

May 25, 2008 at 4:47 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home