
On Tue, 2008-06-24 at 10:57 +0100, Duncan Coutts wrote:
jochem@huygens:/tmp/bimap-0.2.2$ runghc Setup.lhs configure Configuring bimap-0.2.2... Setup.lhs: ghc version >=6.4 is required but the version of /usr/bin/ghc could not be determined. jochem@huygens:/tmp/bimap-0.2.2$
Cabal 1.2.3.0 seems to be working. What am I doing wrong? Or is this an unsupported combination?
It's an untested combination. I checked it with 6.6.1 but not 6.6.
It is supposed to work (indeed it's supposed to work with 6.4) so we should figure out what's going wrong.
Can you : $ runghc Setup.lhs configure -v3
jochem@huygens:/tmp/bimap-0.2.2$ runghc Setup.lhs configure -v3 Configuring bimap-0.2.2... Creating dist (and its parents) searching for ghc in path. found ghc at /usr/bin/ghc ("/usr/bin/ghc",["--numeric-version"]) Warning: cannot determine version of /usr/bin/ghc : "" Setup.lhs: ghc version >=6.4 is required but the version of /usr/bin/ghc could not be determined. jochem@huygens:/tmp/bimap-0.2.2$ ghc --numeric-version 6.6 jochem@huygens:/tmp/bimap-0.2.2$ ghc in my sid (debian unstable) chroot gave "6.8.2". Maybe Cabal 1.4 doesn't like versions of the form x.y, only of the form x.y.z (wild speculation)? By the way, compiling the Setup.lhs-file of bimap and running it does work: jochem@huygens:/tmp/bimap-0.2.2$ ghc --make Setup.lhs -o Setup [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... jochem@huygens:/tmp/bimap-0.2.2$ ./Setup configure Configuring bimap-0.2.2... jochem@huygens:/tmp/bimap-0.2.2$ -- Jochem Berndsen | jochem@functor.nl GPG: 0xE6FABFAB