Cabal 1.4.0.1 on Debian Stable/GHC 6.6
Jochem Berndsen
jochem at functor.nl
Tue Jun 24 06:07:03 EDT 2008
On Tue, 2008-06-24 at 10:57 +0100, Duncan Coutts wrote:
> > jochem at 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 at 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 at 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 at huygens:/tmp/bimap-0.2.2$ ghc --numeric-version
6.6
jochem at 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 at huygens:/tmp/bimap-0.2.2$ ghc --make Setup.lhs -o Setup
[1 of 1] Compiling Main ( Setup.lhs, Setup.o )
Linking Setup ...
jochem at huygens:/tmp/bimap-0.2.2$ ./Setup configure
Configuring bimap-0.2.2...
jochem at huygens:/tmp/bimap-0.2.2$
--
Jochem Berndsen | jochem at functor.nl
GPG: 0xE6FABFAB
More information about the Libraries
mailing list