Subject: | Option -print-search-dirs not available for all compilers |
Can you update Makefile.PL & Build.PL as follows:
my $data = `$cc -print-search-dirs`;
becomes
my $data = `$cc -print-search-dirs 2>/dev/null`;
This way when the option is invalid for a particular compiler used to build perl it will throw away the error messages (pages on pages of errors).
Looking at check_for_stray_headers() it doesn't seem to care if $data is empty or undef.
I've been troubleshooting why this module won't build on AIX for the last couple of days and the above issue wasted a lot of time tracking down that the error thrown here was meaningless. That my problems probably reside elsewhere.
Curtis