in reply to Alien::Libxml2 cannot find the latest libxml2

Hi

1) report bug to rt://Alien-LibXML author, share link to this thread maybe, and you're done

Then forget that Alien-LibXML exists

2) install XML::LibXML

cpanm --look XML::LibXML

edit Makefile.PL

and replace this with your own paths

CCFLAGS => Alien::Libxml2->cflags . " $Config{ccflags}", LIBS => [ Alien::Libxml2->libs ],

Once upon a time I used something like

perl Makefile.PL INC="-IC:\citrusperl\mingw\xminms\include -IC:\citru +sperl\mingw\xminms\include\libxml2 " LIBS="-LC:\citrusperl\mingw\ming +w32\lib -LC:\citrusperl\mingw\xminms\lib -lxslt -lxml2 -liconv -lws2_ +32 "

Replies are listed 'Best First'.
Re^2: Alien::Libxml2 cannot find the latest libxml2 (look XML::LibXML)
by tobyink (Canon) on Jul 09, 2019 at 12:19 UTC

    I'm the Alien::LibXML author. Alien::LibXML and Alien::Libxml2 are different distributions.