How to make perl Makefile.PL use a given C compiler when compiling an XS module?
问题 I am trying to build Acme::Damn using a pre-compiled perl downloaded with conda, see this question for details. The cc that was used to build perl with is given by: $ perl -V | grep cc=./ cc='/tmp/build/80754af9/perl_1527832170752/_build_env/bin/x86_64-conda_cos6-linux-gnu-gcc' which does not exist on my machine, and make thus fails: $ perl Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite Test::Exception 0 not found. Generating a Unix-style Makefile Writing