ingydotnet / inline-c-pm

10 stars 19 forks source link

t/08taint.t fails kali linux perl 5.20.2 #59

Open osascruz opened 7 years ago

osascruz commented 7 years ago

Below is the screen capture : not sure if it is my environement issue , it could be a problem in my configuration. I try to install PDL, and it is failing because of it.

t/08taint.t .............. 1/10 make[1]: chmod: Command not found (#1) (A) You've accidentally run your script through csh or another shell instead of Perl. Check the #! line, or manually feed your script into Perl yourself. The #! line at the top of your file could look like

  #!/usr/bin/perl -w

BEGIN failed--compilation aborted at ./t/08taint_1.p line 6 (#2) (F) An untrapped exception was raised while executing a BEGIN subroutine. Compilation stops immediately and the interpreter is exited.

Compilation failed in require at t/08taint.t line 33 (#3) (F) Perl could not compile a file specified in a require statement. Perl uses this generic message when none of the errors that it encountered were severe enough to halt compilation immediately.

Uncaught exception from user code: make[1]: Entering directory '/root/.local/share/.cpan/build/Inline-C-0.76-1/_Inline_08taint.14737/build/_08taint_1_p_0965' make[1]: chmod: Command not found Makefile:387: recipe for target 'blib/lib/.exists' failed make[1]: *** [blib/lib/.exists] Error 127 make[1]: Leaving directory '/root/.local/share/.cpan/build/Inline-C-0.76-1/_Inline_08taint.14737/build/_08taint_1_p_0965'

A problem was encountered while attempting to compile and install your Inline
C code. The command that failed was:
  "make > out.make 2>&1" with error code 2

The build directory was:
/root/.local/share/.cpan/build/Inline-C-0.76-1/_Inline_08taint.14737/build/_08taint_1_p_0965

To debug the problem, cd to the build directory, and inspect the output files.

Environment MAKEFLAGS = ''
Environment MAKELEVEL = '1'
Environment PATH = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin'
 at ./t/08taint_1.p line 6.
    ...propagated at /root/.local/share/.cpan/build/Inline-C-0.76-1/blib/lib/Inline/C.pm line 869.
BEGIN failed--compilation aborted at ./t/08taint_1.p line 6.
Compilation failed in require at t/08taint.t line 33.
main::require_taint_1() called at t/08taint.t line 28
Test::Warn::warnings_like(CODE(0x9c9ec68), ARRAY(0x9d4dcfc), "warn_test 1") called at t/08taint.t line 28

Looks like your test exited with 2 just after 1. t/08taint.t .............. Dubious, test returned 2 (wstat 512, 0x200)