Under Solaris: GHC 6.10.2 Release Candidate 1

Christian Maeder Christian.Maeder at dfki.de
Tue Mar 17 06:09:21 EDT 2009


GHC 6.10.2 will have a problem with cabal-install-0.6.2!

When I tried to install cabal-install-0.6.2 for ghc-6.10.1.20090314
I needed to change #!/bin/sh to #!/bin/bash in bootstrap.sh to avoid the
following errors:

-bash-3.00$ ./bootstrap.sh
Checking installed packages for ghc-6.10.1.20090314...
./bootstrap.sh: !: not found
parsec is already installed and the version is ok.
./bootstrap.sh: !: not found
network is already installed and the version is ok.
./bootstrap.sh: !: not found
Cabal is already installed and the version is ok.
./bootstrap.sh: !: not found
HTTP is already installed and the version is ok.
./bootstrap.sh: !: not found
zlib is already installed and the version is ok.
./bootstrap.sh: !: not found
./bootstrap.sh: !: not found
./bootstrap.sh: !: not found

Under Solaris sh is not bash!

Next, ghc-6.10.1.20090314 comes with package unix-2.4.0.0, but
cabal-install.cabal requests:

  unix >= 2.0 && < 2.4

Changing to "<= 2.4" was not sufficient, so I changed it to "<= 2.5".
This will affect any OS!

Testsuite results are bad for ghc-6.10.1.20090314, see
http://hackage.haskell.org/trac/ghc/ticket/3106

Cheers Christian


Christian Maeder wrote:
> Ian Lynagh wrote:
>> We are pleased to announce the first release candidate for GHC 6.10.2:
>>
>>     http://www.haskell.org/ghc/dist/6.10.2-rc1/
> 
> Under Solaris grep does not understand "-q" in configure:
> 
> checkMake380() {
>     if $1 --version 2>&1 | head -1 | grep -q 'GNU Make 3\.80'
> 
> it fails with:
> 
> grep: illegal option -- q
> Usage: grep -hblcnsviw pattern file . . .
> grep: illegal option -- q
> Usage: grep -hblcnsviw pattern file . . .
> 
> C.


More information about the Glasgow-haskell-users mailing list