Unable to build GHC-7.4.1 on OpenIndiana

Paul Graphov graphov at gmail.com
Wed Mar 7 14:07:06 CET 2012

Hello GHC-users!

I'm trying to compile GHC-7.4.1 under OpenIndiana and get the
following error all the time:

ghc.mk:85: *** Make has restarted itself 2 times; is there a makefile
bug?.  Stop.

I googled a bit and found that this can be a result of touching some
files during build. But actually no files were touched, I've even
restarted compilation from scratch to check it.

Currently I have GHC-7.2.2. that was installed via
http://pkg.openindiana.org/sfe, GNU Make 3.81

I use "quick" build flavour in build/build.mk (but it doesn't seem to matter)

Also i've installed these packages to make it build:

pkg install gcc
pkg install system/header
pkg install developer/library/lint
pkg install header-math


More information about the Glasgow-haskell-users mailing list