lab007 has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I am trying to install Device::USB on CentOS 6. I have installed Perl 5.16.0 using Perlbrew (also tried with Perl 5.18.2). Gcc & make are installed and in the path as well, of course.
Here is the error from trying to install Device::USBHere are the o conf entries for make:cpan -i Device::USB <snip...> make[1]: Entering directory `/root/.cpan/build/Inline-0.54-lWJF7c/C' PERL_DL_NONLAZY=1 /root/perl5/perlbrew/perls/perl-5.16.0/bin/perl "-ME +xtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/a +rch')" t/*.t t/00init.t .............. ok t/01syntax.t ............ ok t/02config.t ............ ok t/03typemap.t ........... ok t/04perlapi.t ........... ok t/05xsmode.t ............ ok t/06parseregexp.t ....... ok t/07typemap_multi.t ..... ok t/08taint.t ............. 1/10 sh: make: No such file or directory A problem was encountered while attempting to compile and install your + Inline C code. The command that failed was: make > out.make 2>&1 The build directory was: /root/.cpan/build/Inline-0.54-lWJF7c/C/_Inline_test/build/_08taint_1_p +_0965 To debug the problem, cd to the build directory, and inspect the outpu +t files. at ./t/08taint_1.p line 7. ...propagated at /root/.cpan/build/Inline-0.54-lWJF7c/C/../blib/li +b/Inline/C.pm line 797. BEGIN failed--compilation aborted at ./t/08taint_1.p line 13. Compilation failed in require at t/08taint.t line 45. # Looks like you planned 10 tests but ran 1. # Looks like your test exited with 127 just after 1. t/08taint.t ............. Dubious, test returned 127 (wstat 32512, 0x7 +f00) Failed 9/10 subtests t/09parser.t ............ This test could take a couple of minutes to +run t/09parser.t ............ ok <snip...>
make [/usr/bin/make] make_arg [] make_install_arg [] make_install_make_command [/usr/bin/make]
I have tried installing this module on three different CentOS 6 machines, same issue on all of them! I am at a loss - but I really need to get Device::USB working somehow.
Any help on this would be greatly appreciated!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cannot install cpan module Device::USB
by Anonymous Monk on Apr 03, 2014 at 01:49 UTC | |
by lab007 (Novice) on Apr 03, 2014 at 05:12 UTC | |
by Anonymous Monk on Apr 03, 2014 at 06:16 UTC | |
by lab007 (Novice) on Apr 03, 2014 at 15:07 UTC |