On Sun Sep 30 03:47:34 2018, g.grigelionis@gmail.com wrote:
Show quoted text> macOS Mojave puts Perl headers under
> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/
>
> /System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/ contains
> only libperl, and thus builds fail. AFAICS there is no way to figure
> out that PERL_INC is different.
However I'd like to have this solved, it is *way* beyond the scope of what Text::CSV_XS can help with.
It is the person(s) that created the distribution that decided to not include perl.h in the standard location. What you *can* do is make a symbolic link in the folder where perl.h *is* expected to the location where it is stored and then try again. This would not only help Text::CSV_XS but also all other modules that have XS code, like DBI.
The build procedure is completely based on ExtUtils::MakeMaker logic, so I think this bug might belong in their queue instead of here. As perl-5.8.1 is currently the bottom line, they might be open to changes.