Anyone?<br><br><div class="gmail_quote">On Wed, Mar 31, 2010 at 9:18 PM, Alex Rozenshteyn <span dir="ltr"><<a href="mailto:rpglover64@gmail.com">rpglover64@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
$ ghc-pkg check<div><br></div><div>outputs nothing<br><br></div><div><div>$ ghc-pkg list unix</div><div>/var/lib/ghc-6.12.1/package.conf.d</div><div class="im"><div> unix-2.4.0.0</div></div><div>/home/alex/.ghc/x86_64-linux-6.12.1/package.conf.d</div>
</div><div><br></div><div>"unix" appears to be in the build-depends of the "Library", but not in the build-depends of "Executable lambdabot"</div><div>Adding "unix" to the second build-depends appears to fix the error (but now it complains that base is hidden).</div>
<div><div><div></div><div class="h5"><br><div class="gmail_quote">On Wed, Mar 31, 2010 at 8:48 PM, Ivan Miljenovic <span dir="ltr"><<a href="mailto:ivan.miljenovic@gmail.com" target="_blank">ivan.miljenovic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 1 April 2010 11:42, Alex Rozenshteyn <<a href="mailto:rpglover64@gmail.com" target="_blank">rpglover64@gmail.com</a>> wrote:<br>
> Main.hs:11:7:<br>
> Could not find module `System.Posix.Signals':<br>
> It is a member of the hidden package `unix-2.4.0.0'.<br>
> Perhaps you need to add `unix' to the build-depends in your .cabal<br>
> file.<br>
<br>
</div>Interesting, because unix _is_ listed in build-depends in the .cabal<br>
file for lambdabot.<br>
<br>
Does "ghc-pkg check" complain about unix? Does "ghc-pkg list unix"<br>
say it's there?<br>
<div><br>
> I have a feeling this has something to do with the interaction between cabal<br>
> and apt...<br>
<br>
</div>Highly unlikely unless there's an inconsistency in the packages on your system.<br>
<font color="#888888"><br>
--<br>
Ivan Lazar Miljenovic<br>
<a href="mailto:Ivan.Miljenovic@gmail.com" target="_blank">Ivan.Miljenovic@gmail.com</a><br>
<a href="http://IvanMiljenovic.wordpress.com" target="_blank">IvanMiljenovic.wordpress.com</a><br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br> Alex R<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br> Alex R<br>