Skip Menu |
 

This queue is for tickets about the Encode-JIS2K CPAN distribution.

Report information
The Basics
Id: 110069
Status: new
Priority: 0/
Queue: Encode-JIS2K

People
Owner: Nobody in particular
Requestors: subjut [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: enc2xs may not be found on MSWIN32
Date: Fri, 4 Dec 2015 11:28:28 +0100
To: bug-Encode-JIS2K [...] rt.cpan.org
From: No <subjut [...] gmail.com>
Download (untitled) / with headers
text/plain 766b
I cannot build the module under Windows (specifically, I have perl v5.22.0 built for MSWin32-x64-multi-thread). I get the error "enc2xs not found! at Makefile.PL line 35". It is similar to bug https://rt.cpan.org/Public/Bug/Display.html?id=108270, but for a different reason. Lines 34-35 in the makefile check for an executable enc2xs: $enc2xs = $enc2xs_fpath if (-x $enc2xs_fpath); Under Windows, the file 'enc2xs' is not executable, so the assignment to $enc2xs fails. Under Windows the code should also check for 'enc2xs.bat', along the lines (tested and working) $enc2xs = $enc2xs_fpath if (-x $enc2xs_fpath || -x "$enc2xs_fpath.bat"); (On a side note, $enc2xs should not contain the .bat extention, because then the make stage will fail).


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.