Anyone?

On Wed, Mar 31, 2010 at 9:18 PM, Alex Rozenshteyn <rpglove...@gmail.com>wrote:

> $ ghc-pkg check
>
> outputs nothing
>
> $ ghc-pkg list unix
> /var/lib/ghc-6.12.1/package.conf.d
>    unix-2.4.0.0
> /home/alex/.ghc/x86_64-linux-6.12.1/package.conf.d
>
> "unix" appears to be in the build-depends of the "Library", but not in the
> build-depends of "Executable lambdabot"
> Adding "unix" to the second build-depends appears to fix the error (but now
> it complains that base is hidden).
>
> On Wed, Mar 31, 2010 at 8:48 PM, Ivan Miljenovic <
> ivan.miljeno...@gmail.com> wrote:
>
>> On 1 April 2010 11:42, Alex Rozenshteyn <rpglove...@gmail.com> wrote:
>> > Main.hs:11:7:
>> >     Could not find module `System.Posix.Signals':
>> >       It is a member of the hidden package `unix-2.4.0.0'.
>> >       Perhaps you need to add `unix' to the build-depends in your .cabal
>> > file.
>>
>> Interesting, because unix _is_ listed in build-depends in the .cabal
>> file for lambdabot.
>>
>> Does "ghc-pkg check" complain about unix?  Does "ghc-pkg list unix"
>> say it's there?
>>
>> > I have a feeling this has something to do with the interaction between
>> cabal
>> > and apt...
>>
>> Highly unlikely unless there's an inconsistency in the packages on your
>> system.
>>
>> --
>> Ivan Lazar Miljenovic
>> ivan.miljeno...@gmail.com
>> IvanMiljenovic.wordpress.com
>>
>
>
>
> --
>          Alex R
>



-- 
         Alex R
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to