- 论坛徽章:
- 0
|
下完XML-LibXML-2.0004后, run 'perl Makefile.PL ' 如下错误提示:
# perl Makefile.PL
enable native perl UTF8
running xml2-config...didn't manage to get libxml2 config, guessing
options:
LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
$ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
looking for -lxml2... system call to 'make test OTHERLDFLAGS=' failed at Makefile.PL line 516.
no
looking for -llibxml2... system call to 'make test OTHERLDFLAGS=' failed at Makefile.PL line 516.
no
libxml2, zlib, and/or the Math library (-lm) have not been found.
Try setting LIBS and INC values on the command line
但是我的系统中有这个库
# find / -name libxml2*
/opt/LU3P/lib/libxml2.so.2.7.8
/opt/LU3P/lib/libxml2.so.2
/opt/LU3P/lib/libxml2.so
/usr/share/doc/libxml2-2.6.26
/usr/share/doc/libxml2-python-2.6.26
/usr/share/doc/libxml2-python-2.6.26/libxml2class.txt
/usr/lib64/libxml2.so.2
根据以上提示也加上了不同的LIBS实验,可是还是同样的提示:
perl Makefile.PL LIBS='L/usr/lib64'
perl Makefile.PL LIBS='L/opt/LU3P/lib/'
有XDJM遇到这样的情况吗? 请问该如何解决?
|
|