problem compiling

Juan Ignacio García García
Wed, 31 Oct 2001 21:29:59 +0100

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

    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 
(The directory /usr/bin is my PATH).