[GHC] #8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-gmp’

GHC ghc-devs at haskell.org
Sat Jan 18 02:07:59 UTC 2014


#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-
gmp’
-------------------------------------+-------------------------------------
       Reporter:  erikd              |             Owner:
           Type:  bug                |            Status:  new
       Priority:  normal             |         Milestone:
      Component:  libraries (other)  |           Version:  7.7
       Keywords:                     |  Operating System:  Unknown/Multiple
   Architecture:  x86_64 (amd64)     |   Type of failure:  Other
     Difficulty:  Unknown            |         Test Case:
     Blocked By:                     |          Blocking:
Related Tickets:                     |
-------------------------------------+-------------------------------------
 Compiling ghc from git HEAD (e4a4abae21d14a6c1a4ae875fa582e2b389dc177)
 with a pretty standard mk/build.mk

 {{{
 > diff mk/build.mk mk/build.mk.sample
 12c12
 < BuildFlavour = perf
 ---
 > #BuildFlavour = perf
 }}}

 Once I install ghc-7.7 and try to use cabal to install other libraries I
 get:

 {{{
 Building aeson-0.7.0.0...
 Failed to install aeson-0.7.0.0
 Last 10 lines of the build log ( /home/erikd/.cabal/logs/aeson-0.7.0.0.log
 ):
 [ 9 of 12] Compiling Data.Aeson.Encode ( Data/Aeson/Encode.hs,
 dist/build/Data/Aeson/Encode.o )
 [10 of 12] Compiling Data.Aeson.Generic ( Data/Aeson/Generic.hs,
 dist/build/Data/Aeson/Generic.o )
 [11 of 12] Compiling Data.Aeson       ( Data/Aeson.hs,
 dist/build/Data/Aeson.o )
 [12 of 12] Compiling Data.Aeson.TH    ( Data/Aeson/TH.hs,
 dist/build/Data/Aeson/TH.o )
 [ 1 of 12] Compiling Data.Aeson.Types.Internal (
 Data/Aeson/Types/Internal.hs, dist/build/Data/Aeson/Types/Internal.p_o )

 Top level:
     Failed to load interface for ‛GHC.Integer.Type’
     Perhaps you haven't installed the "p_dyn" libraries for package
 ‛integer-gmp’?
     Use -v to see a list of the files searched for.
 Updating documentation index /home/erikd/.cabal/share/doc/index.html
 cabal: Error: some packages failed to install:
 aeson-0.7.0.0 failed during the building phase. The exception was:
 ExitFailure 1

 }}}

 My cabal setup has:

 {{{
 library-profiling: True
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8677>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list