[one-users] scons error: Error searching for xmlrpc-c libraries

Roberto robedal at gmail.com
Mon Sep 14 05:38:24 PDT 2009


I'm trying to compile OpenNebula on Centos 5.3. When I try to execute
scons I have got this error:

scons: Reading SConscript files ...
Testing recipe: pkg-config
  Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Testing recipe: xmlrpc-c-config
  Error calling xmlrpc-c-config c++2 abyss-server --libs --cflags
Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian lenny)
  Error calling xmlrpc-c-config c++2 abyss-server --libs --cflags
Testing recipe: hardcoded libraries for Mac OS X (installed using port)
g++ .xmlrpc_test/xmlrpc_test.6818af.cc -o
.xmlrpc_test/xmlrpc_test.6818af.cc.out -I/opt/local/include
-L/opt/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit
-lwwwapp -lwwwtelnet -lwwwhtml -lwwwnews -lwwwhttp -lwwwmime
-lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream
-lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -lpthread
-lxmlrpc_client++ -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util
-lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_server_abyss++
-lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss
1>>.xmlrpc_test/xmlrpc_test.6818af.cc.log 2>&1


Error searching for xmlrpc-c libraries. Please check this things:

 * You have installed development libraries for xmlrpc-c. One way to check
   this is calling xmlrpc-c-config that is provided with the development
   package.
 * Check that the version of xmlrpc-c is at least 1.06. You can do this also
   calling:
   $ xmlrpc-c-config --version
 * If all this requirements are already met please send log files located in
   .xmlrpc_test to the mailing list.

TypeError: 'str' object is not callable:
  File "/home/kuntz/Temp/one-1.3.80/SConstruct", line 114:
    exit(-1)

This is the content of log file in .xmlrpc_test:

g++ .xmlrpc_test/xmlrpc_test.6818af.cc -o
.xmlrpc_test/xmlrpc_test.6818af.cc.out -I/opt/local/include
-L/opt/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit
-lwwwapp -lwwwtelnet -lwwwhtml -lwwwnews -lwwwhttp -lwwwmime
-lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream
-lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -lpthread
-lxmlrpc_client++ -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util
-lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_server_abyss++
-lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss
1>>.xmlrpc_test/xmlrpc_test.6818af.cc.log 2>&1
.xmlrpc_test/xmlrpc_test.6818af.cc:9:2: warning: no newline at end of file
/usr/bin/ld: cannot find -lwwwxml
collect2: ld returned 1 exit status

I've installed all the packages required. This is a merged output of
some 'rpm -qa |grep '

xmlrpc-c-1.06.18-1.el5.kb
xmlrpc-c-devel-1.06.18-1.el5.kb
xmlrpc-c-apps-1.06.18-1.el5.kb
scons-1.2.0-1
libgcc-4.1.2-44.el5
libgcc-4.1.2-44.el5
gcc-c++-4.1.2-44.el5
gcc-4.1.2-44.el5

Any advice?
Thanks in advance.



More information about the Users mailing list