2012-02-08 29 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的穩定版本正常安裝