Thu Oct 18 12:01:40 2012: Request 80257 was acted upon. Transaction: Correspondence added by RURBAN Queue: Win32-API Subject: presence of cygpath needs to be check on module load Broken in: 0.72 Severity: Unimportant Owner: Nobody Requestors: bul...@cpan.org Status: resolved Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80257 >
On Thu Oct 18 01:15:46 2012, BULKDD wrote: > On Cygwin builds, a backquote call is made to cygpath for DLL path > conversion. If cygwin perl is started without cygwin being in the PATH, > cygpath will not be found and the DLL path turns to empty string leading > and fails, possibly with a bad $^E (I got "network connection lost" but > that might be part of my Perl debugger). Add a test call to cygpath > during the modules require phase. Die during module load if cygpath > backquote test call (I'm thinking a `cygpath -V` and an index string > search) didn't work. Also check to make sure " if ($^O eq > 'cygwin' and $dll ne File::Basename::basename($dll)) {" is const folded > away on VC Perl. This is a reminder for myself. A cygwin system cannot work at all if the path to cygwin\bin is not in the PATH. E.g. cygwin perl will not work. A lot of tests which reset or localize a PATH have special CYGWIN code to set the PATH to include \cygwin\bin. So it's a very esoteric issue you are fighting here, and really not worth checking. -- Reini Urban