
I'm trying to install ghc 6.10.1 on a machine with the crux distro. libc version 2.3.6 gcc 4.0.3 linux version 2.6.15.6 First I tried the binary version ghc-6.10.1-i386-unknown-linux.tar.bz2 and I very quickly get this error: $ ./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 $ Next I tried building the source version ghc-6.10.1-src.tar.bz2 using ghc 6.6 that is already installed. configure works but make eventually dies with: ... Configuring ghc-6.10.1... cabal-bin: At least the following dependencies are missing: Cabal -any, base <3, filepath >=1 && <1.2, haskell98 -any, hpc -any, template-haskell -any, unix -any make[2]: *** [boot.stage.2] Error 1 Any ideas? Thanks, Bit

Hi Bit, On Mon, Nov 10, 2008 at 03:05:23PM +0200, Bit Connor wrote:
First I tried the binary version ghc-6.10.1-i386-unknown-linux.tar.bz2 and I very quickly get this error:
$ ./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 $
This probably means your libc is too old for the bindist to work. Presumably running utils/pwd/pwd forwardslash gives a SIGFPE or similar?
Next I tried building the source version ghc-6.10.1-src.tar.bz2 using ghc 6.6 that is already installed. configure works but make eventually dies with:
... Configuring ghc-6.10.1... cabal-bin: At least the following dependencies are missing: Cabal -any,
This is the output of a cabal-bin command, right? Appending -v to the commandline might shed some light on what's going wrong. Or if that doesn't help, try "-v 3". Thanks Ian

Hi there! I have the same problem. The machine is running Ubuntu 7.04 x86. ghc is v6.6 as provided by Ubuntu -- the Ubuntu version number is 6.6-3. The complete cabal-bin command-line, as executed by "make", is: /home/zooko/playground/ghc/ghc-6.10.1/libraries/cabal-bin /usr/bin/ghc /home/zooko/playground/ghc/ghc-6.10.1/libraries/bootstrapping.conf configure --distpref dist-stage2 --flags=-stage1 --flags=ncg --flags=ghci --ghc-option=-DGHCI_TABLES_NEXT_TO_CODE --enable-library-profiling --with-compiler=/home/zooko/playground/ghc/ghc-6.10.1/ghc/stage1-inplace/ghc --with-hc-pkg=/home/zooko/playground/ghc/ghc-6.10.1/utils/ghc-pkg/install-inplace/bin/ghc-pkg --prefix=/NONEXISTENT --bindir=/NONEXISTENT --libdir=/NONEXISTENT --libexecdir=/NONEXISTENT --datadir=/NONEXISTENT --docdir=/NONEXISTENT --haddockdir=/NONEXISTENT --htmldir=/NONEXISTENT --libsubdir='$pkgid' --with-gcc=gcc --with-ld=/usr/bin/ld --configure-option='--prefix=/usr/local/stow/ghc-6.10.1' --configure-option=--with-cc=gcc --with-hsc2hs=/home/zooko/playground/ghc/ghc-6.10.1/utils/hsc2hs/install-inplace/bin/hsc2hs --ghc-option=-DSTAGE=2 And the complete output is: Configuring ghc-6.10.1... cabal-bin: At least the following dependencies are missing: Cabal -any, base <3, filepath >=1 && <1.2, haskell98 -any, hpc -any, template-haskell -any, unix -any Adding "-v" makes no difference. Adding "-v3" elicits: Configuring ghc-6.10.1... Creating dist-stage2 (and its parents) ("/home/zooko/playground/ghc/ghc-6.10.1/ghc/stage1-inplace/ghc",["--numeric-version"]) /home/zooko/playground/ghc/ghc-6.10.1/ghc/stage1-inplace/ghc is version 6.10.1 ("/home/zooko/playground/ghc/ghc-6.10.1/utils/ghc-pkg/install-inplace/bin/ghc-pkg",["--version"]) /home/zooko/playground/ghc/ghc-6.10.1/utils/ghc-pkg/install-inplace/bin/ghc-pkg is version 6.10.1 ("/home/zooko/playground/ghc/ghc-6.10.1/ghc/stage1-inplace/ghc",["--supported-languages"]) Reading installed packages... ("/home/zooko/playground/ghc/ghc-6.10.1/utils/ghc-pkg/install-inplace/bin/ghc-pkg",["dump","--global"]) cabal-bin: At least the following dependencies are missing: Cabal -any, base <3, filepath >=1 && <1.2, haskell98 -any, hpc -any, template-haskell -any, unix -any The complete output from running "make" is here: http://testgrid.allmydata.org:3567/uri/URI%3ACHK%3Alu4jyzcuktl7zkwazpgfotao6... -- View this message in context: http://www.nabble.com/Trouble-installing-ghc-6.10.1-on-linux-tp20419532p2087... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
participants (3)
-
Bit Connor
-
Ian Lynagh
-
zooko