http://www.perlmonks.org?node_id=11108621


in reply to XML::LibXML setup of library paths

Hi.

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:\citrusperl\mingw\xminms\include\libxml2 " LIBS="-LC:\citrusperl\mingw\mingw32\lib -LC:\citrusperl\mingw\xminms\lib -lxslt -lxml2 -liconv -lws2_32 "