You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build Perl based on blead for Fedora and got following error:
# Failed test 'did not search PATH for C++ compiler when given absolute path to C compiler'
# at t/03-cplusplus.t line 73.
# got: 'g++'
# expected: '/builddir/build/BUILD/perl-5.41.12-build/perl-5.41.12/dist/ExtUtils-CBuilder/some/directory/what/doesnt/exist/cc'
# Looks like you failed 1 test of 7.
../dist/ExtUtils-CBuilder/t/03-cplusplus.t ...........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
The failure is caused by the $ENV{CXX} variable being defined.
Using local $ENV{CXX}; in the test fixes the failure.