[Haskell-cafe] Build failed - hidden package ?
Dunric
dunric29a at atlas.cz
Mon Feb 26 23:36:29 EST 2007
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
More information about the Haskell-Cafe
mailing list