[one-users] Problems compiling under CentOS 5 x86_64

Jason Hamilton jhamilton at simulexinc.com
Mon Nov 2 08:35:03 PST 2009


Yeah...nevermind. I don't know why I thought the i386 rpm would be ok. I 
grabbed the srpm from 
http://centos.karan.org/el5/extras/testing/SRPMS/xmlrpc-c-1.06.18-1.el5.kb.src.rpm 
rebuilt it and installed. When I issue 'scons' now it works without a hitch.

-Jason

jhamilton at simulexinc.com wrote:
> Hi all,
>
> I'm new to OpenNebula. I've followed through the platform notes (here: http://opennebula.org/doku.php?id=documentation:rel1.4:notes) for CentOS 5, however I've hit a problem upon trying to build under CentOS 5.4:
>
> root at cloudpocfe:[11:09:50 AM]/usr/local/src/one-1.3.85$ scons
> 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.a247ea.cc -o .xmlrpc_test/xmlrpc_test.a247ea.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.a247ea.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 "/usr/local/src/one-1.3.85/SConstruct", line 114:
>     exit(-1)
> root at cloudpocfe:[11:09:53 AM]/usr/local/src/one-1.3.85$ cat .xmlrpc_test/xmlrpc_test.a247ea.cc.log
> g++ .xmlrpc_test/xmlrpc_test.a247ea.cc -o .xmlrpc_test/xmlrpc_test.a247ea.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.a247ea.cc.log 2>&1
> .xmlrpc_test/xmlrpc_test.a247ea.cc:9:2: warning: no newline at end of file
> /usr/bin/ld: cannot find -lwwwxml
> collect2: ld returned 1 exit status
> root at cloudpocfe:[11:12:06 AM]/usr/local/src/one-1.3.85$
>
>
>
> root at cloudpocfe:[11:13:45 AM]/usr/local/src/one-1.3.85$ rpm -qa xmlrpc-c-devel
> xmlrpc-c-devel-1.06.18-1.el5.kb
> root at cloudpocfe:[11:17:11 AM]/usr/local/src/one-1.3.85$ rpm -qa xmlrpc-c
> xmlrpc-c-1.06.18-1.el5.kb
>
>
>
>
> Not sure what I'm missing. Any tips?
>
> Thanks,
> Jason
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>   



More information about the Users mailing list