[ANNOUNCE] Glasgow Haskell Compiler 8.0.1, release candidate 1
ben at well-typed.com
Wed Jan 13 22:52:16 UTC 2016
George Colpitts <george.colpitts at gmail.com> writes:
> installs fine on mac but cabal install vector fails on primitive, looks to
> me like gmp library is not provided
> cabal install vector
> Resolving dependencies...
> Configuring primitive-0.6.1.0...
> Failed to install primitive-0.6.1.0
> Build log ( /Users/gcolpitts/.cabal/logs/primitive-0.6.1.0.log ):
> cabal: Error: some packages failed to install:
> primitive-0.6.1.0 failed during the configure step. The exception was:
> user error ('/usr/local/bin/ghc' exited with an error:
> *ld: library not found for -lgmp*
> collect2: error: ld returned 1 exit status
> `gcc' failed in phase `Linker'. (Exit code: 1)
> vector-0.11.0.0 depends on primitive-0.6.1.0 which failed to install.
The issue here appears to be that the build was compiled against the
host's libgmp on account of the the Wiki build instructions  being out of
date. I've fixed this particular inaccuracy, but it would be great if
someone familiar with Darwin could take a close look at this page: do a
build of their own, work through the build instructions, and ensure that
the build instructions are still accurate, fixing any issues.
George or Carter, perhaps one of you could pick this up?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 472 bytes
Desc: not available
More information about the ghc-devs