Closed dcgomesbr closed 4 years ago
This error here:
'/usr/bin/env: ‘perl’: No such file or directory'
makes me think there's something weird in your configuration. Is your perl somewhere weird? Or that it's not in your path?
Hm, this is odd because I have a vanilla cygwin instalation in a Windows 10:
$ which perl /usr/bin/perl
My path has it and I can execute it from there. Why is it searching for perl in /usr/bin/env ?
It's not "in" /usr/bin/env. env
is a program that runs another program, without having to specify the absolute path to it. There may be something weird in how Cygwin does modules. I can't tell, because I don't have Windows.
I saw this being reported for 2.12 and fixed in 2.14, or something like that.
I've just tried to install from CPAN in 2.18 and got the same error.
The problem is that I've got bash installed:
$ bash --version GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html