Re: 6.2 < 5.04?

Oliver Braun <[email protected]> Mon, 23 Feb 2004 16:59:30 +0100
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
Hi Wolfgang,

* Wolfgang Jeltsch <[email protected]> [2004-02-23 16:49 +0100]:
> why doesn't Hat work with GHC 6.2?
>     Looking for ghc...   found 6.2
>     WARNING: hat-2.02 needs a version of ghc >= 5.04.

The confhc-hat script calculates the version number, which is 62 for ghc
6.2 and compares this to the version number of ghc 5.04, which is 504.
Obviously, 62 is less than 504.

Use the attached patch to get hat installed anyway.

Regards,
         Olli
-- 
Oliver Braun -- obraun @ { unsane.org | FreeBSD.org | haskell.org }

_______________________________________________
Hat mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hat
patch-script-confhc-hat (text/plain, 290 B)
--- script/confhc-hat.orig	Mon Mar 17 11:32:58 2003
+++ script/confhc-hat	Tue Feb 10 18:17:43 2004
@@ -85,7 +85,6 @@
 if [ -n "$GHCKNOWN" ]
 then if [ `cat targets/$MACHINE/ghcsym` -lt "504" ]
   then echo "  WARNING: hat-2.02 needs a version of ghc >= 5.04."
-       GHCKNOWN=
   fi
 fi
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAOiNiwLFrfe8lsboRApo4AKCEs8moLPrNAdNqvB6RjPJ2j5I+TwCgnRmi
42kvDlzIoWG/vJzdOPqdGB4=
=osCi
-----END PGP SIGNATURE-----