I was trying to install/compile Haddock 0.1 in my computer (Windows98 + Cygwin, GHC-5.02.3), but I got the following error message:
You must install the version of Perl shipped with GHC (or a compatible one) in /bin.
I though I already had a version of Perl in my computer, since HOpenGL (which uses it) was compiled succesfully. My /bin dir also contains a file called perl.exe and another dir called Perl (which contains perl.exe too).
This works for me, but I'm not a Cygwin/Windows expert so I'm not sure what the canonical answer should be. On my system I have the Cygwin perl.exe in /cygwin/bin, and this is also /bin under cygwin, because by default Cygwin seems to want to mount /cygwin as /. I've just successfully build Haddock on WinXP with a fresh install of Cygwin, GHC 5.02.3, and surprisingly little fiddling about (I think I had to set PATH to include GHC, but that was it). Cheers, Simon
Andre W B Furtado wrote:
[Haddock cannot find perl] This works for me, but I'm not a Cygwin/Windows expert so I'm not sure what the canonical answer should be. On my system I have the Cygwin perl.exe in /cygwin/bin, and this is also /bin under cygwin, because by default Cygwin seems to want to mount /cygwin as /.
I've just successfully build Haddock on WinXP with a fresh install of Cygwin, GHC 5.02.3, and surprisingly little fiddling about (I think I had to set PATH to include GHC, but that was it).
Looking the output produced by ./configure, I noticed that: checking for ghc... /PROGS/GHC5023/BIN/ghc checking version of ghc... /PROGS/GHC5023/BIN/ghc: not found I wonder why haddock thinks my ghc dir is "/PROGS/GHC5023/BIN/ghc" when it should be "/progs/ghc5023/bin/ghc". Perhaps that's why it can't find perl: ghc itself was not found. Any ideas? -- Andre
participants (2)
-
Andre W B Furtado -
Simon Marlow