[ANNOUNCE] Glasgow Haskell Compiler 8.0.1, release candidate 1

Andrés Sicard-Ramírez asr at eafit.edu.co
Wed Jan 13 20:49:44 UTC 2016

On 13 January 2016 at 15:28, George Colpitts <george.colpitts at gmail.com> wrote:
> 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-
> Failed to install primitive-
> Build log ( /Users/gcolpitts/.cabal/logs/primitive- ):
> cabal: Error: some packages failed to install:
> primitive- 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- depends on primitive- which failed to install.

I found a different problem installing vector on Ubuntu precise (12.04LTS):

  $ cabal install vector
  Installed primitive-
  Configuring vector-
   Data/Vector/Generic/Mutable/Base.hs:18:1: error:
    Bad interface file:
        Something is amiss; requested module
primitive- at primitive-
differs from name found in the interface file
Failed to install vector-

I have found the same "Bad interface file" problem installing other packages.



More information about the ghc-devs mailing list