[darcs-users] Installing darcs 2.3.1 on OS X is a royal pain
kowey at darcs.net
Sat Oct 24 18:13:00 UTC 2009
On Sat, Oct 24, 2009 at 11:47:44 -0600, Scott Ribe wrote:
> Thought you should be aware that for a new OS X (10.5.8 Intel) user, getting
> darcs going could be difficult:
Thanks for the report, Scott. I've CC'ed the users who provided the
I think most Mac users install darcs via MacPorts (which I understand
leads to lots of waiting as they compile GHC)
> - Downloaded the pre-built binary darcs-2.3.1-i386-darwin. It doesn't run,
> crashes with a dyld error: unknown required load command 0x80000022. Net
> searches turn up info that 22 was a load command added in 10.5.6, people
> running 10.5.5 had this error with command-line utilities, updated to
> 10.5.6, and the error went away. Unfortunately I am running 10.5.8.
> - Went ahead and ran otool on darcs, verified that it only links to dylibs
> that are standard on OS X, and that they're all where expected on my system.
This should be of interest to Scott and Fivesquare
> - Went down a dead-end by misreading the build-it-yourself instructions at
> <http://www.darcs.net/manual/node8.html>. Looked at Setup, figured out that
> it's not a shell script, but rather Haskell.
Anything we can do to improve this?
> - Installed the pre-packaged GHC-10.4.
> - Tried "ghci Setup.lhs configure" and so on, ran into issues with missing
Right, this is why we really encourage people to use cabal-install
> - Tried cabal-install, cabal update, cabal install darcs. Got a working
> darcs now.
Great. One thing I do is to just download the Haskell Platform
This comes with GHC, cabal-install and some libraries, so cabal install
darcs just works.
For future reference, Snow Leopard users seem have a bit more trouble,
on the other hand, but making it work seem quite doable. At least, for
MacPorts users, it involves building all your ports with +universal.
But hopefully, all this will be much easier by the time you upgrade.
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
More information about the darcs-users