Re: [Haskell-cafe] Newbie; Can't Install Hat From Source
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 <[EMAIL PROTECTED]> To: haskell-cafe@haskell.org CC: [EMAIL PROTECTED] Subject: Re: [Haskell-cafe] Newbie; Can't Install Hat From Source Date: Thu, 16 Nov 2006 10:42:10 + "Aditya Siram" <[EMAIL PROTECTED]> 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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe _ View Athletes Collections with Live Search http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Newbie; Can't Install Hat From Source
"Aditya Siram" <[EMAIL PROTECTED]> 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)> 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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Newbie; Can't Install Hat From Source
Hi all, 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: **Begin Output** ./configure --install Configuring for hat... [ 2.05 ] Starting with earlier config in targets/ix86-Linux/config.cache [ config: ix86-Linux/ by [EMAIL PROTECTED] on 15 Nov 2006 ] (but cmdline options have precedence) Looking for already-installed Haskell compilers: Looking for ghc... found 6.6 Looking for nhc98... (not found) Looking for hmake... found 3.13 You said you want to use ghc to build hat. Done. Configuration report for hat. You are going to build hat with:ghc Executables need .exe suffix? no (detected) Testing for the glib library: no (using slower replacement) Installation directories are now created/checked. Install directory root is: /usr/local Hat interface files (.hx) go into: /usr/local/include/hat-2.05 (exists) Array.hx .. Debug/Trace.hx Installing hat as a ghc package: Installing hat package for ghc under /usr/local/lib/hat-2.05/ix86-Linux/ghc-606 ghc-pkg: cannot find package hat <-ERROR MESSAGE! Reading package info from stdin ... done. ghc-pkg: package hat-2.4 is already installed Scripts go into: /usr/local/bin (exists) hat-graph hat-trans hat-tools: hat-stack hat-check hat-observe hat-detect hat-delta hat-view hat-trail hat-anim hat-explore hat-cover black-hat hat-nonterm pretty-hat Executables go into: /usr/local/lib/hat-2.05/ix86-Linux (exists) config hat-anim hat-check hat-cover hat-delta hat-detect hat-explore hat-nonterm hat-observe hat-stack hat-trail hat-trans hat-view black-hat pretty-hat Man pages go into: /usr/local/man/man1 (exists) hat-anim.1 hat-delta.1 hat-detect.1 hat-observe.1 hat-stack.1 hat-trail.1 hat-trans.1 pretty-hat.1 Not (re-)installing html documents Saving current configuration in targets/ix86-Linux/config.cache Done. Please ensure /usr/local/bin is in your PATH variable. **End Of Output** The output of 'ghc-pkg list' is: /usr/local/lib/ghc-6.6/package.conf: Cabal-1.1.6, HUnit-1.1, QuickCheck-1.0, base-2.0, cgi-2006.9.6, fgl-5.2, (ghc-6.6), haskell-src-1.0, haskell98-1.0, html-1.0, mtl-1.0, network-2.0, parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, time-1.0, unix-1.0, xhtml-2006.9.13 /home/deech/.ghc/i386-linux-6.6/package.conf: (hat-2.4)