[Liskell-devel] Running Problems
Clemens Fruhwirth
clemens at endorphin.org
Fri Sep 14 11:32:35 CEST 2007
At Thu, 13 Sep 2007 00:36:10 +1200,
Orlando Hill <orlandodarhill at gmail.com> wrote:
> I've downloaded and compiled the version in darcs. I then did make
> install. (Was I supposed to? I don't know.)
You could also run it inplace. That's what I do most of the time, as I
don't want it to replace the system's GHC. Just invoke
ghc-topdir/compiler/stage2/ghc-inplace
But make install is fine too (now, read below)
> At this point I wasn't sure what to do next. I assume that I use the
> 'ghc' that was just installed.
Correct.
> Doing 'ghc -c -v' on some of your examples gives the error listed at the
> bottom. It talks about LskPrelude.hi and as far as I can tell, it isn't
> installed outside the liskell build directory.
>
> Hope you can point out where I'm going wrong.
My fault, LskPrelude.hi was not properly installed in the imports
directory of GHC. Please pull the last changes from the LskPrelude
library, either './darcs-get pull -a' at your GHC toplevel, or cd
libraries/LskPrelude; darcs pull -a
then recompile and reinstall (actually running make install in
libraries/LskPrelude should be sufficient too). This time
LskPrelude.hi should end up in the proper location.
--
Fruhwirth Clemens - http://clemens.endorphin.org
More information about the Liskell-devel
mailing list