我尝试在Linux上安装Apache Axis2 / C但没有成功..使用libxml2
以下是我的努力 1)libxml2已成功安装 标志:LIBXML2_CFLAGS = -I / usr / local / include / libxml2 LIBXML2_LIBS =' - L / usr / local / lib / hpux32 -lxml2 -lz -lpthread -liconv -lm' AXIS2C_HOME = / tmp LD_LIBRARY_PATH = {$ LD_LIBRARY_PATH}:$ AXIS2C_HOME / lib
Ran --prefix=${AXIS2C_HOME} --enable-libxml2=yes
Installation fails with following error:
checking whether to build libxml2 xml parser library... checking pkg-config is at least version 0.9.0... ./configure[21268]: /local/lib/hpux32.
no
yes
checking for LIBXML2... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables LIBXML2_CFLAGS
and LIBXML2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我没有pkg-config实用程序,但是我已经设置了LIBXML2_CFLAGS和LIBXML2_LIBS,配置文件没有任何信息。
有人可以在这里帮忙吗?
谢谢, Hilesh