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::USB
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...>
Here are the o conf entries for make:
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!!


In reply to Cannot install cpan module Device::USB by lab007

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.