[Haskell-cafe] Newbie; Can't Install Hat From Source

Aditya Siram aditya_siram at hotmail.com
Fri Nov 17 15:13:19 EST 2006


Thanks to Malcolm Wallace I got Hat installed and working from darcs using: 
'darcs get http://darcs.haskell.org/hat' cd'ing in to the 'hat' directory 
and doing an 'sh start'. This last step makes all scripts executable.

Appreciate the support...
Deech


>From: Malcolm Wallace <Malcolm.Wallace at cs.york.ac.uk>
>To: haskell-cafe at haskell.org
>CC: hat at haskell.org
>Subject: Re: [Haskell-cafe] Newbie; Can't Install Hat From Source
>Date: Thu, 16 Nov 2006 10:42:10 +0000
>
>"Aditya Siram" <aditya_siram at hotmail.com> wrote:
>
> > I have been trying to install Hat for the last couple of days but GHC
> > does  not recognize it as a package. I compiled 2.05 from source, but
> > at the 'make  install' step I see this error message:
> >
> > Installing hat package for ghc under
> >   /usr/local/lib/hat-2.05/ix86-Linux/ghc-606
> > ghc-pkg: cannot find package hat     <-----ERROR MESSAGE!!!!!
>
>This error message can be safely ignored - it comes from a requirement
>to support several different versions of ghc, each of which has a
>different interface to the package manager ghc-pkg.
>
> > ghc-pkg: package hat-2.4 is already installed
> >
> > /usr/local/lib/ghc-6.6/package.conf:
> >     ...
> > /home/deech/.ghc/i386-linux-6.6/package.conf:
> >     (hat-2.4)   <----ERROR!!!
> >
> > For some reason it thinks that hat-2.4 is installed.
>
>This is one of a couple of bugs in the 2.05 package.  The .cabal file
>simply had the wrong version number in it.
>
> >     Bad interface file:
> > /usr/local/imports/hat-2.05/ghc-606/Hat/PreludeBasic.hi
> >         Something is amiss; requested module  hat-2.4:Hat.PreludeBasic
> > differs from name found in the interface file hat:Hat.PreludeBasic
>
>And this is the other bug: the Hat library package was built using
>"-package-name hat" instead of "-package-name hat-2.05" (as now required
>by ghc-6.6 and above).
>
>I have re-rolled the Hat-2.05 distribution package with these two very
>minor bugfixes.  Please try downloading it again, and re-building.
>
>Regards,
>     Malcolm
>_______________________________________________
>Haskell-Cafe mailing list
>Haskell-Cafe at haskell.org
>http://www.haskell.org/mailman/listinfo/haskell-cafe

_________________________________________________________________
View Athlete’s Collections with Live Search 
http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01



More information about the Haskell-Cafe mailing list