我一直在尝试在solaris机器上安装XML-LibXML-2.0132 libxml,它可以在我的某个开发环境中运行,但在我的质量检查中失败并显示以下消息。
enable native perl UTF8
running xml2-config...failed
The installed version of libxml2 VERSION 2.9.4
is not compatible with XML::LibXML (and probably buggy)!
You may continue at your own risk using 'perl Makefile.PL FORCE=1', but:
- don't expect XML::LibXML to build or work correctly!
- don't report errors!
- don't send patches!
Check the README file for more information on versions
that are tested with XML::LibXML
Checking for ability to link against xml2...no
Checking for ability to link against libxml2...libxml2, zlib, and/or the
Math library (-lm) have not been found.
Try setting LIBS and INC values on the command line
Or get libxml2 from
http://xmlsoft.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
to see the exact reason why the detection of libxml2 installation
failed or why Makefile.PL was not able to compile a test program.
我在这里想念的是什么?为什么它会在类似的机器上运行?