我尝试在 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,配置文件没有任何信息。
有人可以在这里帮忙吗?
谢谢, 希尔什