2012-02-08 110 views
0

我想在我的Ubuntu中安装XMLRPC_C。安装XMLRPC_C时出错

我已经安装了curl作为HTML包装器的先决条件。

我已经从sourceforge检出了XMLRPC的稳定版本。

当我运行make在./configure之后,退出他说:

registry.cpp: In member function ‘virtual void xmlrpc_c::method2::execute(const xmlrpc_c::paramList&, xmlrpc_c::value*)’:

registry.cpp:73:20: error: uninitialized const ‘nullCallInfo’ [-fpermissive]

blddir/include/xmlrpc-c/registry.hpp:17:24: note: ‘const class xmlrpc_c::callInfo’ has no >user-provided default constructor

make[2]: * [registry.o] Error 1

make[2]: Leaving directory `/home/sridutt/Downloads/xmlrpc-c/src/cpp'

make[1]: * [cpp/all] Error 2

make[1]: Leaving directory `/home/sridutt/Downloads/xmlrpc-c/src'

make: * [src/all] Error 2

当我在论坛上检查,它给Fedora的RC15修正错误。

如何解决这个问题?

回答

0

我也跟着下面的步骤:

  1. 安装libc6的,libcurl3,中的zlib1g
  2. 然后我安装源文件夹卷曲7.21.6(须藤-贴切不能作为XML-RPC安装说,一些类型的解决.h缺少更新版本的卷曲)
  3. 然后按照xmlrpc -c的稳定版本正常安装