Yes, that did the trick. Thank You.
>-----Puvodni zprava----- >Od: J. Garrett Morris [mailto:[EMAIL PROTECTED] >Komu: Dunric <[EMAIL PROTECTED]> >Předmět: Re: [Haskell-cafe] Build failed - hidden package ? > > >Hello, > >Are you building with Cabal? In case you are, Cabal hides all >packages by default and only shows those which are mentioned in your >cabal file. To fix this, you can add 'base' to the build-depends: >list. > >If you're not using Cabal, I don't have a clue. (-; > >Good luck! > >/g > >On 2/26/07, Dunric <[EMAIL PROTECTED]> wrote: >> Hi. >> I've got stuck with the following compilation error I probably can't fully >> understand: >> >> ---------------------------------------------------------------------- >> Building library... >> ... >> Using package config file: /usr/local/lib/ghc-6.6/package.conf >> wired-in package base mapped to base-2.0 >> wired-in package rts mapped to rts-1.0 >> wired-in package haskell98 mapped to haskell98-1.0 >> wired-in package template-haskell mapped to template-haskell-2.0 >> Hsc static flags: -static >> ... >> Graphics/UI/SDL/Rotozoomer.hs:15:7: >> Could not find module `Foreign.C': >> it is a member of package base, which is hidden >> >> ---------------------------------------------------------------------- >> >> What does such error mean ? >> >> Modules Foreign and Foreign.C are installed and available from the default >> path. >> Lines 12-15 of Rotozoomer.hs: >> ------------------------------------------ >> module Graphics.UI.SDL.Rotozoomer where >> >> import Foreign >> import Foreign.C >> ------------------------------------------ >> >> Any idea what's wrong, resp. some explanation why compilation fails ? >> >> Thanks in an advance. >> >> ------------------------------------------ >> >> www.icqsms.cz >> >> _______________________________________________ >> Haskell-Cafe mailing list >> [email protected] >> http://www.haskell.org/mailman/listinfo/haskell-cafe >> > > >-- >It is myself I have never met, whose face is pasted on the underside of my >mind. ------------------------------------------ www.icqsms.cz _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
