Subject: | fatal error: 'libxml/xmlmemory.h' file not found |
Compilation fails on some of my mac configurations:
...
cc -c -I/usr/include/libxml2 -fno-common -DPERL_DARWIN -mmacosx-version-min=10.13 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV -O3 -DVERSION=\"2.0203\" -DXS_VERSION=\"2.0203\" "-I/opt/perl-5.30.0/lib/5.30.0/darwin-2level/CORE" -DHAVE_UTF8 Devel.c
Devel.xs:28:10: fatal error: 'libxml/xmlmemory.h' file not found
#include <libxml/xmlmemory.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Devel.o] Error 1
...
However, installing the newest Alien::Libxml2 beforehand seems to help to get a successful build.
So maybe a too old Alien::Libxml2 (here: 0.09) is problematic.