On Fri, Aug 07, 2009 at 01:37:22PM +1000, Mark Wotton wrote:
Another dumb newbie question: what does this error mean?
mwotton@ubuntu-vm:/mnt/hgfs/projects/rhaskell/linux$ jhc -vvv Test.hs -pcontainers reading /usr/local/etc/jhc-0.6/targets.ini reading /usr/local/etc/jhc-0.6/targets.ini jhc -vvv Test.hs -pcontainers jhc 0.6.1 (0.6.0-32) Compiling [Right "Test.hs"] Loading libraries: ["base","haskell98","containers"] Library: base-1.0 Library: haskell98-1.0 Library: containers-0.2.0 Test.hs:1 - Warning: The pragma 'LANGUAGE' is unknown Main [Test.hs]
Stale: Fresh: Stale: user error (don't know this file) this is after importing Data.Map. Removing that line from Test.hs removes the error - is my libraries install broken somehow?
Hmm.. yeah, that means it thinks the 'containers' library is out of date for some reason, which it shouldn't as libraries don't go out of date. How did you install? via a tarball or rpm? it is possible I accidentally included a stale '.hl' in a distribution. Or do you have any files like Data/Map.hs sitting around that would conflict with something inside of the hl file? that also could possibly make jhc think the library was stale. John -- John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/