The subroutine check_progs defined in lib/Parrot/Configure/Step.pm is not portable (doesn't work on MSWin32). On MSWin32, the real filename of a program is prog.exe, prog.com, prog.bat or prog.cmd , so if -x 'prog' is not enough.

This subroutine is currently used by config/inter/lex.pl & yacc.pl.

I suggest the use of the module File::Which (see the attached patch).
But I don't know if everybody is agree to depend of this module.

François

Attachment: check_progs.patch
Description: Binary data

Reply via email to