Skip Menu |

This queue is for tickets about the XML-DTD CPAN distribution.

Report information
The Basics
Id: 85144
Status: resolved
Priority: 0/
Queue: XML-DTD

People
Owner: wohl [...] cpan.org
Requestors: NGLENN [...] cpan.org
Cc:
AdminCc:

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



Subject: Module doesn't install
XML::DTD passes all of its tests, and thus your distribution is marked as working on Windows by Cpan Testers. However, it won't install on my machine. 'dmake install' fails with the following: Too many arguments at -e line 1. dmake.exe: Error code 255, while making 'pure_site_install' WOHL/XML-DTD-0.10.tar.gz C:\strawberry\c\bin\dmake.exe install UNINST=1 -- NOT OK Stopping: 'install' failed for 'W/WO/WOHL/XML-DTD-0.10.tar.gz'. Looking at your Makefile.PL, I see you customized your installation procedure, and in a way that I can't wrap my head around. I see that it uses 'sed', which isn't even installed on Windows. I changed the Makefile.PL to be the following, and it installed perfectly fine: use 5.008; use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'XML::DTD', 'VERSION_FROM' => 'lib/XML/DTD.pm', 'ABSTRACT_FROM' => 'lib/XML/DTD.pm', 'AUTHOR' => 'Brendt Wohlberg <wohl@cpan.org>', 'EXE_FILES' => [ 'share/dtdto/docbook.xsl', 'share/dtdto/dtd.xsl', 'share/dtdto/html.xsl', 'share/dtdto/valid.xsl', ], 'PREREQ_PM' => {Getopt::Long => 0, File::Temp => 0, URI::file => 0, LWP::Simple => 0, Error => 0}, 'NO_META' => 1 );
Thanks for the bug report. The customised installation in the makefile is to handle installation of the dtdto script that accompanies the module, and not for the module itself. In principle the makefile and script should be modified to work under Windows, but this is difficult to do since I don't have the facilities to test under Windows: I'll leave this ticket open, but I don't expect to be able to address it without the help of a volunteer to test a modified version under Windows.
RT-Send-CC: garfieldnate [...] gmail.com
I can't understand what it's doing, so I can't volunteer a patch. But if you email me (garfieldnate at gmail dot com) or contact through Github (garfieldnate), then I will gladly test it for you on Windows 7. On Fri May 10 10:29:23 2013, WOHL wrote: Show quoted text
> Thanks for the bug report. The customised installation in the makefile > is to handle installation of the dtdto script that accompanies the > module, and not for the module itself. In principle the makefile > and script should be modified to work under Windows, but this is > difficult to do since I don't have the facilities to test under > Windows: I'll leave this ticket open, but I don't expect to be able > to address it without the help of a volunteer to test a modified > version under Windows.
Fixed in 0.11. Thanks for your help in resolving this.