
QForeign under ghc consists of several packages with some interdependencies. I'm getting warnings during compilation, e.g.: /usr/local/bin/ghc -c -O -Wall -fglasgow-exts -package lang -package data -package concurrent -package posix -iexamples -ilib -Iexamples -Ilib -package-name qforeign-curses examples/Curses.hs Curses.hsc:1: Warning: Module `QIntegral' is located in package `qforeign-curses' but its interface file claims it is part of package `qforeign' I understand what it means but I don't know how to fix it. QIntegral should be in package qforeign, but's found by -ilib during compilation of other modules which use it because it's not installed yet! Please help. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ QRCZAK

On Sat, Jan 19, 2002 at 11:05:06AM +0000, Marcin 'Qrczak' Kowalczyk wrote:
Curses.hsc:1: Warning: Module `QIntegral' is located in package `qforeign-curses' but its interface file claims it is part of package `qforeign'
I understand what it means but I don't know how to fix it. QIntegral should be in package qforeign, but's found by -ilib during compilation of other modules which use it because it's not installed yet! Please help.
I ran into this problem with the mysql DB interface. If you change "qforeign" to "qforeign-curses" in the first line of the .hi file, it should work. At least, that worked for me. --Mark
participants (2)
-
Marcin 'Qrczak' Kowalczyk
-
Mark Conway Wirt