in reply to cpan install error for XML::LibXML::Node

The easy approach is to run Makefile.PL yourself:

cpan cpan> look XML::LibXML /path/to/build/dir/for/XML-LibXML-123.456> perl Makefile.PL INC=... LI +BS=... /path/to/build/dir/for/XML-LibXML-123.456> make /path/to/build/dir/for/XML-LibXML-123.456> make test

Hopefully you see more output of which library the Makefile.PL run is missing. If the Makefile.PL is not verbose enough, consider adding print statements to it to see what it does and which libraries it tests for.

Replies are listed 'Best First'.
Re^2: cpan install error for XML::LibXML::Node
by BradV (Sexton) on May 31, 2017 at 12:46 UTC

    I added DEBUG=1 to the line. It is complaining about not being able to find all of the headers under /usr/include/libxml2/libxml. I included that with '-I.' So, not sure why it can't find them? I checked and all of the files and the path down have world readability. Does the order of the includes matter?