我在Debian 8上,当我尝试使用cpan安装Device :: USB模块时出现错误
cpan Device::USB
Reading '/home/system/.cpan/Metadata'
Database was generated on Thu, 25 Aug 2016 14:29:02 GMT
Running install for module 'Device::USB'
Checksum for /home/system/.cpan/sources/authors/id/G/GW/GWADEJ/Device-USB-0.36.tar.gz ok
Configuring G/GW/GWADEJ/Device-USB-0.36.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Device::USB
Writing MYMETA.yml and MYMETA.json
Failed to find module path for 'dump_usb.pl' at Makefile.PL line 50.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
GWADEJ/Device-USB-0.36.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
我在cpan.org网站的dump_usb.pl页面中检查了常见问题解答,我没有找到任何关于这条蛇咬其尾部问题的相关信息,因为cpan应该安装dump_usb.pl并显示它没有找不到模块
感谢您的帮助
答案 0 :(得分:1)
这是一个已向GitHub repo of Device::USB报告的已知问题。
根据该线程的讨论可能的解决方案是:
降级内联:: MakeMaker
即
在Makefile.PL中进行以下更改
Order