HOME: getEnv: does not exist

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Mon Apr 18 08:29:04 EDT 2005


Niklas Broberg <niklas.broberg at gmail.com> writes:

> when I try to use runghc to execute cgi scripts in apache (on redhat
> linux), they all fail with with the message "HOME: getEnv: does not
> exist". I assume this means that GHC is trying to find the HOME dir of
> the user for some reason, and fails since apache runs as nobody. Could
> someone shed some light on this matter for me?

I think runghc is acting like GHCi, and trying to read the file
$HOME/.ghci on startup.

Regards,
    Malcolm


More information about the Glasgow-haskell-users mailing list