[Hat] hmake -hat looks for file in /usr/include, not PWD
Thomas Davie
tatd2 at kent.ac.uk
Fri Oct 20 06:22:41 EDT 2006
I'm reasonably confident that this hasn't been fixed even in the cvs
build - I've met the problem a couple of times before, and never
found a good reason for it to happen (I don't know anything about how
hmake works)
Bob
On 20 Oct 2006, at 11:19, Malcolm Wallace wrote:
> "David Morse" <dcmorse at gmail.com> wrote:
>
>> "hmake -hat -package GLUT Main" fails with: "Fail:
>> /usr/include/hat/DoublyLinked.hx: openFile: does not exist (No such
>> file or directory)". DoublyLinked.hs is sitting right in the
>> directory from which I'm compiling, I'm not sure why the -hat flag
>> causes this digging in /usr/include.
>>
>> This is hat 2.02-12 and hmake-3.09-3 on Debian stable x86.
>
> You are using an older version of Hat, so this behaviour may have been
> fixed already in 2.04. I'm not sure quite why it is failing. But one
> possible workaround is to explicitly give the current directory to
> hmake,
> as a location to look for the .hx pseudo-interface files. (Use -i.)
>
> hmake -hat -i. -package GLUT Main
>
> Regards,
> Malcolm
> _______________________________________________
> Hat mailing list
> Hat at haskell.org
> http://www.haskell.org/mailman/listinfo/hat
More information about the Hat
mailing list