Skip to content

Installing latest GHC-6.8.2 stable: pwd with floating point exception

I tried to install

http://www.haskell.org/ghc/dist/stable/dist/ghc-6.8.2.20080410-i386-unknown-linux.tar.bz2

on Kubuntu. It was reported to be build properly:

http://www.haskell.org/pipermail/cvs-ghc/2008-April/041915.html

but I get:

/tmp/ghc-6.8.2.20080410> ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Which we'll further canonicalise into: i386-unknown-linux
checking for path to top of build tree... configure: error: cannot determine current directory

From other reports I got to know that this might have to do with the custom 'pwd' of ghc installation. Indeed I get:

/tmp/ghc-6.8.2.20080410> ./utils/pwd/pwd
Floating point exception
Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC ghc@henning-thielemann.de
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information