in reply to Alien::Libxml2 cannot find the latest libxml2
You could try to build a shared version, as opposed to it picking up the system version. This has the advantage that it is isolated from the system version so will not be affected by system updates, but with the caveat that it will not benefit from updates.
Shared builds can be forced using an environment variable, set before you build the makefile. This is documented at https://metacpan.org/pod/Alien::Build#ALIEN_INSTALL_TYPE.
Note that there are failures listed for darwin (mac) in cpan testers: http://matrix.cpantesters.org/?dist=Alien-Libxml2+0.09. I have not looked closely at the reasons, but they might be relevant to your case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Alien::Libxml2 cannot find the latest libxml2
by PhilipS (Novice) on Jul 04, 2019 at 19:10 UTC | |
by PhilipS (Novice) on Jul 24, 2019 at 14:40 UTC | |
by choroba (Cardinal) on Jul 24, 2019 at 15:11 UTC |