Skip to content

ghc-pkg to build ghci libraries on install

This is with GHC 6.4.1.

ghci is not supported on AIX.

I recently tried to isntall MissingH with Cabal.  I got:

# ./setup install
Installing: /usr/local/lib/MissingH-0.12.0 &
/usr/local/bin MissingH-0.12.0...
Registering MissingH-0.12.0...
Reading package info from ".installed-pkg-config" ... done.
building GHCi library
/usr/local/lib/MissingH-0.12.0/HSMissingH-0.12.0.o...ld:
0706-027 The -x flag is ignored.
ld: 0706-012 The -- flag is not recognized.
ld: 0706-012 The -w flag is not recognized.
ld: 0706-012 The -h flag is not recognized.

ghc-pkg list does not see the package after this, either.

I'm not sure why Cabal seems to think it needs to build
a GHCi library, and it's even more concerning that
invalid flags are being given to ld.
Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedWon'tFix
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited by jgoerzen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information