Skip Menu |

This queue is for tickets about the Device-USB CPAN distribution.

Report information
The Basics
Id: 70399
Status: resolved
Priority: 0/
Queue: Device-USB

People
Owner: cpan.wade [...] anomaly.org
Requestors: MSCHILLI [...] cpan.org
Cc:
AdminCc:

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



Subject: Build fails because Makefile.PL assumes Inline::MakeMaker
The regular cpan shell that comes with perl-5.10.1 fails to install Device::USB 0.35, because it can't find Inline::MakeMaker (META.yml does list the dependency, but that doesn't help here): Can't locate Inline/MakeMaker.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /...) at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 3.
On 2011-08-21 14:04:04, MSCHILLI wrote: Show quoted text
> The regular cpan shell that comes with perl-5.10.1 fails to install > Device::USB 0.35, because it can't find Inline::MakeMaker (META.yml does > list the dependency, but that doesn't help here): > > Can't locate Inline/MakeMaker.pm in @INC (@INC contains: /etc/perl > /usr/local/lib/perl/5.10.1 /...) at Makefile.PL line 3. > BEGIN failed--compilation aborted at Makefile.PL line 3.
Nowadays the best solution is probably to put the Inline::MakeMaker dependency in META.yml's configure_requires field, so a reasonably new CPAN.pm (>= 1.91_51, which should be part of 5.8.9 and newer) can deal with it automatically. Regards, Slaven
Thank you for reporting this error. I'll be doing a release later today to take care of this issue.
Added configure_requires parameter for Inline::MakeMaker. Thanks for pointing this resolution out. I had missed it when I was setting this up.