hello, I installed ok the rpm-packages on linux (Mandrake 8.1), but when I 
try to compile something the following message appears:

f2.hs:1:
    failed to load interface for `Prelude':
        Bad interface file: ./Prelude.hi
            does not exist
Action: openFile
Reason: No such file or directory
File: ./Prelude.hi

If I go to the directory /usr/bin (where the binary file ghc is) and I type
> ghc -c /home/user/file.hs
then the compilation is done without problems.
Does anyone know what I have to do for compiling without problems in any 
folder?
(The directory /usr/bin is my PATH).

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to