Skip to content

ghc 7.8: ghc-split not installed

These are the steps I run to build and install (to prepare for packaging):

./sync-all -r git://git.haskell.org get -b ghc-7.8
./boot
./configure --prefix=/usr
make -j 5
make DESTDIR=/path/to/prepackage/dir install

The build itself works fine, the installed binaries work for simple tests like compiling hello, world, starting ghci, etc. However, building mtl failed with

Configuring mtl-2.1.2...
Building mtl-2.1.2...
Preprocessing library mtl-2.1.2...
[ 1 of 21] Compiling Control.Monad.Writer.Class ( Control/Monad/Write/Class.hs, dist/build/Control/Monad/Writer/Class.o )
ghc: could not execute: /usr/lib/ghc-7.8.0.20140204/ghc-split

So it seems ghc-split isn't installed by make install. It also isn't included in the output of make binary-dist.

I've seen this on both x86 and x86_64.

Trac metadata
Trac field Value
Version 7.8.1-rc1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information