Pugs and ExtUtils::MakeMaker under Cygwin

(You can suggest changes to this post.)

Pugs and ExtUtils::MakeMaker under Cygwin
Decided to have a play with PUGS and immediately discovered that it wouldn't recognise my Haskell compiler (ghc). I'm using Cygwin, but ghc lives in Windows-land.

After a bit of digging, I discovered that Perl under Cygwin never thinks that a windows command (in /cygdrive/...) is executable, and so ExtUtils::MakeMaker simply thinks my Haskell compiler is an ordinary file, not something that can be executed.

After a little hacking, I raised bug #16375, which includes a patch that fixes the problem.

I still don't know whether or not I can get pugs to compile, but at least it now recognises my Haskell environment.

Bitcoin QR code This site is ad-free, and all text, style, and code may be re-used under a Creative Commons Attribution 3.0 license. If like what I do, please consider supporting me on Patreon, or donating via Bitcoin (1P9iGHMiQwRrnZuA6USp5PNSuJrEcH411f).

comments powered by Disqus