<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-6" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Robert Dockins wrote:
<blockquote cite="mid200610040751.35697.robdockins@fastmail.fm"
type="cite">
<pre wrap="">On Tuesday 03 October 2006 22:58, Lyle Kopnicky wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Robert Dockins wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Tuesday 03 October 2006 22:00, Lyle Kopnicky wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi folks,
I tried to build edison-1.2.0.1-sources with the command 'make system'
but got:
*** Exception: Line 10: Unknown field 'hs-source-dirs'
I am using GHC 6.4.1. Any idea how to fix this?
</pre>
</blockquote>
<pre wrap="">You are probably using an older version of Cabal. You can either upgrade
Cabal or, from the Edison README*:
This version of edison builds correctly with Cabal version 1.1.4,
which is shipped with GHC 6.4.2. To build on earlier versions,
it should suffice to:
s/UndecidableInstances/AllowUndecidableInstances/
s/Hs-Source-Dirs:/Hs-Source-Dir:/
in the .cabal files.
The 'hs-source-dir' cabal directive was depreciated in 1.1.4, but perhaps
I should have waited a bit longer to change it. OTOH, there isn't any
good way to deal with the change in the undecidable instances flag, since
it was outright changed. Grrrr..... *grumble* incompatible changes in
minor releases *grumble*.
(*) Further, grrrr... in the above, I've fixed several embarrasing typos
in the text of the README.
</pre>
</blockquote>
<pre wrap="">Oh, OK, thanks! Well, now I'm running GHC 6.5.20060924, and getting the
error mentioned in my previous message.
</pre>
</blockquote>
<pre wrap=""><!---->
Whats the output of
ghc-pkg -l
?
</pre>
</blockquote>
lwk@lwk-desktop:~$ ghc-pkg -l<br>
/usr/local/lib/ghc-6.5.20060924/package.conf:<br>
Cabal-1.1.4, base-2.0, (ghc-6.5.20060924), haskell98-1.0,<br>
parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71,<br>
regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, unix-1.0<br>
l<br>
</body>
</html>