HOME: getEnv: does not exist

Niklas Broberg niklas.broberg at gmail.com
Mon Apr 18 14:21:06 EDT 2005


> > 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?
> 
> The same seems to be the case with ghc itself, not only runghc. Giving
> the flags -ignore-dot-ghci and -no-user-package-conf does not solve
> the problem, I still get the same error.

Alright, after digging the the ghc source I found this to be a bug
that has been remedied in the current cvs HEAD. I guess it remains for
me to install a cvs version then.

/Niklas


More information about the Glasgow-haskell-users mailing list