On Wed Dec 10 22:18:22 2014, GWADEJ wrote:
Show quoted text> On Wed Dec 10 21:56:22 2014, royunderwood7@gmail.com wrote:
> > OS: Fedora 20
> > Kernel: 3.17.3-200.fc20.x86_64
> >
> > Running install for module 'Device::USB'
> >
> > Fetching with LWP:
> >
> >
http://mirrors.ibiblio.org/CPAN/authors/id/G/GW/GWADEJ/Device-USB-
> > 0.36.tar.gz
> >
> > Fetching with LWP:
> >
> >
http://mirrors.ibiblio.org/CPAN/authors/id/G/GW/GWADEJ/CHECKSUMS
> >
> > Checksum for
> > /root/.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 'USB.pm' at Makefile.PL line 50.
> >
> > Warning: No success on command[/usr/bin/perl Makefile.PL]
> >
> > GWADEJ/Device-USB-0.36.tar.gz
> >
> > /usr/bin/perl Makefile.PL -- NOT OK
> >
> > Failed during this command:
> >
> > GWADEJ/Device-USB-0.36.tar.gz : writemakefile NO
> > '/usr/bin/perl Makefile.PL' returned status 6400
>
> I haven't seen that exact error message before. But, I expect it might
> have to do with not having Inline::MakeMaker installed. This is one of
> the difficulties with getting Inline modules to install.
>
> You might also check your libusb.so version. This code only works with
> version 0.14. The 1.0 version has completely changed the API.
> Device::USB has never been upgraded to the new API.
>
> G. Wade
Hi,
I've got the same error while installing the module for Win 8.1:
Show quoted textcpan> make Device::USB
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Database was generated on Fri, 26 Dec 2014 14:21:30 GMT
Updating database file ...
Done!
Running make for module 'Device::USB'
Checksum for C:\SPerl\5.20.1.1\cpan\sources\authors\id\G\GW\GWADEJ\Device-USB-0.36.tar.gz ok
Scanning cache C:\SPerl\5.20.1.1\cpan\build for sizes
............................................................................DONE
Configuring G/GW/GWADEJ/Device-USB-0.36.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Device::USB
Writing MYMETA.yml and MYMETA.json
Failed to find module path for 'USB.pm' at Makefile.PL line 50.
Warning: No success on command[c:\SPerl\5.20.1.1\perl\bin\perl.exe Makefile.PL]
GWADEJ/Device-USB-0.36.tar.gz
c:\SPerl\5.20.1.1\perl\bin\perl.exe Makefile.PL -- NOT OK
Stopping: 'make' failed for 'Device::USB'.
Failed during this command:
GWADEJ/Device-USB-0.36.tar.gz : writemakefile NO 'c:\SPerl\5.20.1.1\perl\bin\perl.exe Makefile.PL' returned status 6400
I guess it's connected to changes in ExtUtils::MakeMaker. When I print attributes PM and PMLIBDIRS in Inline::MakeMaker function WriteMakefile() I see the next output:
Show quoted textpan> make Device::USB
Running make for module 'Device::USB'
Checksum for C:\SPerl\5.20.1.1\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 dmake-style Makefile
Writing Makefile for Device::USB
Writing MYMETA.yml and MYMETA.json
PM content:
USB.pm => $(INST_LIB)\Device\USB.pm
dump_usb.pl => $(INST_LIB)\Device\dump_usb.pl
lib/Device/USB/DevEndpoint.pm => blib\lib\Device\USB\DevEndpoint.pm
lib/Device/USB/Bus.pm => blib\lib\Device\USB\Bus.pm
lib/Device/USB/DevInterface.pm => blib\lib\Device\USB\DevInterface.pm
lib/Device/USB/Device.pm => blib\lib\Device\USB\Device.pm
lib/Device/USB/FAQ.pod => blib\lib\Device\USB\FAQ.pod
lib/Device/USB/DevConfig.pm => blib\lib\Device\USB\DevConfig.pm
lib/Device/USB.pm => blib\lib\Device\USB.pm
PMLIBDIRS content:
lib
Failed to find module path for 'USB.pm' at Makefile.PL line 50.
Warning: No success on command[c:\SPerl\5.20.1.1\perl\bin\perl.exe Makefile.PL]
GWADEJ/Device-USB-0.36.tar.gz
c:\SPerl\5.20.1.1\perl\bin\perl.exe Makefile.PL -- NOT OK
Stopping: 'make' failed for 'Device::USB'.
Failed during this command:
GWADEJ/Device-USB-0.36.tar.gz : writemakefile NO 'c:\SPerl\5.20.1.1\perl\bin\perl.exe Makefile.PL' returned status 65280
So as I see from WriteMakefile() code, the error occurs when checking that all files that are going to be installed are located under lib/. These are USB.pm and dump_usb.pl in the distribution root directory. Why are they placed there? That's one question.
When I deleted them and modified MANIFEST accordingly, I got another error:
Show quoted text cpan> make Device::USB
Running make for module 'Device::USB'
GWADEJ/Device-USB-0.36.tar.gz
Has already been unwrapped into directory C:\SPerl\5.20.1.1\cpan\build\Device-USB-0.36-kWi6Ud
Configuring G/GW/GWADEJ/Device-USB-0.36.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Device::USB
Writing MYMETA.yml and MYMETA.json
PM content:
lib/Device/USB/FAQ.pod => blib\lib\Device\USB\FAQ.pod
lib/Device/USB/DevConfig.pm => blib\lib\Device\USB\DevConfig.pm
lib/Device/USB/DevInterface.pm => blib\lib\Device\USB\DevInterface.pm
lib/Device/USB/Bus.pm => blib\lib\Device\USB\Bus.pm
lib/Device/USB/DevEndpoint.pm => blib\lib\Device\USB\DevEndpoint.pm
lib/Device/USB.pm => blib\lib\Device\USB.pm
lib/Device/USB/Device.pm => blib\lib\Device\USB\Device.pm
PMLIBDIRS content:
lib
GWADEJ/Device-USB-0.36.tar.gz
c:\SPerl\5.20.1.1\perl\bin\perl.exe Makefile.PL -- OK
Running make for G/GW/GWADEJ/Device-USB-0.36.tar.gz
cp lib/Device/USB/Bus.pm blib\lib\Device\USB\Bus.pm
cp lib/Device/USB.pm blib\lib\Device\USB.pm
cp lib/Device/USB/DevEndpoint.pm blib\lib\Device\USB\DevEndpoint.pm
cp lib/Device/USB/FAQ.pod blib\lib\Device\USB\FAQ.pod
cp lib/Device/USB/Device.pm blib\lib\Device\USB\Device.pm
cp lib/Device/USB/DevInterface.pm blib\lib\Device\USB\DevInterface.pm
cp lib/Device/USB/DevConfig.pm blib\lib\Device\USB\DevConfig.pm
"C:\SPerl\5.20.1.1\perl\bin\perl.exe" -Mblib -MInline=NOISY,_INSTALL_ -MDevice::USB::DevConfig -e"Inline::satis
fy_makefile_dep({API => {modinlname => 'Device-USB-DevConfig.inl', module => 'Device::USB::DevConfig'}});" 0.36
$(INST_ARCHLIB)
"C:\SPerl\5.20.1.1\perl\bin\perl.exe" -Mblib -MInline=NOISY,_INSTALL_ -MDevice::USB::DevInterface -e"Inline::sa
tisfy_makefile_dep({API => {modinlname => 'Device-USB-DevInterface.inl', module => 'Device::USB::DevInterface'}
});" 0.36 $(INST_ARCHLIB)
"C:\SPerl\5.20.1.1\perl\bin\perl.exe" -Mblib -MInline=NOISY,_INSTALL_ -MDevice::USB::Bus -e"Inline::satisfy_mak
efile_dep({API => {modinlname => 'Device-USB-Bus.inl', module => 'Device::USB::Bus'}});" 0.36 $(INST_ARCHLIB)
"C:\SPerl\5.20.1.1\perl\bin\perl.exe" -Mblib -MInline=NOISY,_INSTALL_ -MDevice::USB::DevEndpoint -e"Inline::sat
isfy_makefile_dep({API => {modinlname => 'Device-USB-DevEndpoint.inl', module => 'Device::USB::DevEndpoint'}});
" 0.36 $(INST_ARCHLIB)
"C:\SPerl\5.20.1.1\perl\bin\perl.exe" -Mblib -MInline=NOISY,_INSTALL_ -MDevice::USB -e"Inline::satisfy_makefile
_dep({API => {modinlname => 'Device-USB.inl', module => 'Device::USB'}});" 0.36 $(INST_ARCHLIB)
validate Stage
Starting Build Preprocess Stage
get_maps Stage
Finished Build Preprocess Stage
Starting Build Parse Stage
Finished Build Parse Stage
Starting Build Glue 1 Stage
Finished Build Glue 1 Stage
Starting Build Glue 2 Stage
Finished Build Glue 2 Stage
Starting Build Glue 3 Stage
Finished Build Glue 3 Stage
Starting Build Compile Stage
Starting "perl Makefile.PL" Stage
Generating a dmake-style Makefile
Writing Makefile for Device::USB
Writing MYMETA.yml and MYMETA.json
Finished "perl Makefile.PL" Stage
Starting "make" Stage
Running Mkbootstrap for Device::USB ()
"C:\SPerl\5.20.1.1\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "USB.bs"
"C:\SPerl\5.20.1.1\perl\bin\perl.exe" "C:\SPerl\5.20.1.1\perl\lib\ExtUtils\xsubpp" -typemap "C:\SPerl\5.20.1.1
\perl\lib\ExtUtils\typemap" USB.xs > USB.xsc && "C:\SPerl\5.20.1.1\perl\bin\perl.exe" -MExtUtils::Command -e m
v -- USB.xsc USB.c
gcc -c -I"C:/SPerl/5.20.1.1/cpan/build/Device-USB-0.36-kWi6Ud" -I"C:\dev\libusb-1.0.19-rc1-win\include\libusb-
1.0\" -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_S
YS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.36\" -DXS_VERSION=\"
0.36\" "-IC:\SPerl\5.20.1.1\perl\lib\CORE" USB.c
gcc: fatal error: no input files
compilation terminated.
dmake: Error code 129, while making 'USB.o'
A problem was encountered while attempting to compile and install your Inline C code. The command that failed was:
"dmake" with error code 255
The build directory was:
C:\SPerl\5.20.1.1\cpan\build\Device-USB-0.36-kWi6Ud\_Inline\build\Device\USB
To debug the problem, cd to the build directory, and inspect the output files.
at C:\SPerl\5.20.1.1\cpan\build\Device-USB-0.36-kWi6Ud\blib\lib/Device/USB.pm line 20.
...propagated at C:/SPerl/5.20.1.1/perl/site/lib/Inline/C.pm line 829.
Compilation failed in require.
BEGIN failed--compilation aborted.
dmake.exe: Error code 153, while making 'Device-USB.inl'
GWADEJ/Device-USB-0.36.tar.gz
C:\SPerl\5.20.1.1\c\bin\dmake.exe -- NOT OK
Stopping: 'make' failed for 'Device::USB'.
Failed during this command:
GWADEJ/Device-USB-0.36.tar.gz : make NO
Have no idea why gcc is missing some input file(s) for compilation. Could you point me to the right direction?
Regards,
Maxim