Sat Nov 24 07:56:37 2012: Request 81375 was acted upon. Transaction: Correspondence added by bmwiedemann Queue: Inline Subject: chdir without cc Broken in: 0.50 Severity: Normal Owner: Nobody Requestors: bernhard+c...@lsmod.de Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81375 >
Am Fr 23. Nov 2012, 20:17:08, SISYPHUS schrieb: > If I hide cc (gcc.exe in my case), the build fails for that reason, and > the script falls back to the pure perl implementation (sub bar). > This is as it's meant to be, and as it should be. I appended to your script: system("pwd"); then did mv /usr/bin/cc{,.bak} rm -rf _Inline perl testc.pl [...] Starting "make" Stage /usr/bin/perl /usr/lib/perl5/5.16.0/ExtUtils/xsubpp -typemap "/usr/lib/perl5/5.16.0/ExtUtils/typemap" testc_pl_b91d.xs > testc_pl_b91d.xsc && mv testc_pl_b91d.xsc testc_pl_b91d.c cc -c -I"/home/bernhard/temp" -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/usr/lib/perl5/5.16.0/x86_64-linux-thread-multi/CORE" testc_pl_b91d.c /bin/sh: cc: command not found make: *** [testc_pl_b91d.o] Error 127 Using Pure Perl Implementation 42 /home/bernhard/temp/_Inline/build/testc_pl_b91d and it showed that it changed the current dir for the perl process