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!!
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.