George Colpitts <[email protected]> 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 [1] 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?

Cheers,

- Ben

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to