Skip to content

could not build ghc-6.12.0.20091121 under solaris

after unpacking ghc-6.12.0.20091121-src.tar.bz2 and doing "./configure" and "gmake" I get many lines with:

/bin/sh: syntax error at line 1: `;' unexpected

probably because /bin/sh is not bash under solaris. (I've no idea what calls /bin/sh)

Finally building fails with:

compiler/nativeGen/AsmCodeGen.lhs:19:1:
    lexical error at character 'i'
gmake[1]: *** [compiler/stage2/build/.depend-v-p] Error 1
gmake[1]: *** Deleting file `compiler/stage2/build/.depend-v-p'
gmake: *** [all] Error 2

(thats the 'i' of an '#include', probably because unlit wasn't build)

My log file is 1MB long (so I'm not sure if I can attach it here)

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