in reply to Re^7: cpan install error for XML::LibXML::Node
in thread cpan install error for XML::LibXML::Node
I didn't compile libxml2. I got it from Red Hat rpms.
libxml2-2.7.6-21.el6_8.1.x86_64 libxml2-devel-2.7.6-21.el6_8.1.x86_64
Just figured it out! I think this is a bug in the Makefile.PL. I added some print statements as suggested and ran it. It seems the makefile was only looking at the first '-I' and not all of them. I had '-I/usr/include/libxml2' as the third one. When I moved it to first, it ran successfully!
Thanks to everyone for their help! :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: cpan install error for XML::LibXML::Node
by syphilis (Archbishop) on Jun 01, 2017 at 14:07 UTC | |
by BradV (Sexton) on Jun 01, 2017 at 15:20 UTC |