
Hi Duncan,
wget
http://haskell.org/ghc/dist/6.8.2/ghc-6.8.2-x86_64-unknown-linux.tar.bz2
tar -jxvf ghc-6.8.2-x86_64-unknown-linux.tar.bz2
cd ghc-6.8.2
./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Which we'll further canonicalise into: x86_64-unknown-linux
checking for path to top of build tree... pwd: timer_create: Invalid
argument
configure: error: cannot determine current directory
Even though I can fixed this by ``cp /bin/pwd utils/pwd/pwd'' , there is
still similar error
``ghc-pkg.bin: timer_create: Invalid argument''
I guess any executable file generates same error message.
Best Regards
Chunye Wang
I tried to install the ghc 6.8.0 last year but failed for some reason.
Now I decide to do it again, because I'd like to try some examples in <<Real World Haskell>> Now I remember why I try to install it from source code, because the binary version has the following problem.
I guess ``timer_create '' is failed because of library confliction.
I suggest you use the binary for ghc-6.8.2 (not 6.8.3) or earlier because those were built on an old Red Hat 9 server and are thus compatible with older versions of glibc and the Linux kernel. If you really need ghc-6.10 (you probably do not if you're just trying examples from the Real World Haskell book) then you can build ghc-6.10.x from source once you have the ghc-6.8.2 binary installed. Duncan