in reply to Re: Installing Perl 5.18.0 in Mac OS X with PerlBrew
in thread Installing Perl 5.18.0 in Mac OS X with PerlBrew

That's exactly what is says:

Your cpp writes the filename in the ??? field of the line.

Replies are listed 'Best First'.
Re^3: Installing Perl 5.18.0 in Mac OS X with PerlBrew
by dave_the_m (Monsignor) on Jul 04, 2013 at 10:41 UTC
    In that case, Configure is failing to parse the output of the C preprocessor. Look at he following code, around line 5413:
    echo '#include <stdio.h>' > foo.c $cat >fieldn <<EOF $startsh $cppstdin $cppflags $cppminus <foo.c 2>/dev/null | \ $grep '^[ ]*#.*stdio\.h' | \ while read cline; do pos=1 set \$cline while $test \$# -gt 0; do if $test $testaccess \`echo \$1 | $tr -d '"'\`; then echo "\$pos" exit 0 fi shift pos=\`expr \$pos + 1\` done done EOF
    You might want to edit Configure so that it shows the exact command being executed on the $cppstdin line, then run it manually and what output you get.

    Dave.