[one-users] Opennebula 2.2.1 on Ubuntu 12.04 - scons Error

Javier Fontan jfontan at opennebula.org
Thu May 17 14:58:54 PDT 2012


This error can be caused because of a more strict gcc compiler in
Ubuntu 12. You can try substituting the file located in source code
share/scons/get_xmlrpc_config by the latest one [1].

If this does not solve the problem send us the directory .xmlrpc_test
as it contains the log on the attempts to compile some examples and
will give us more info.

[1] https://github.com/OpenNebula/one/blob/master/share/scons/get_xmlrpc_config

On Wed, May 16, 2012 at 3:50 PM, Filippo Gaudenzi
<filippo.gaudenzi at inria.fr> wrote:
> Hi everybody,
> I'm Filippo, i'm trying to configure the my machine with Ubuntu 12.04 to
> work with Opennebula 2.2.1
>
> I've already known that there is a ready-made package on ubuntu's repository
> by it installs the 3.2 version. I need to test a software that work with
> opennebula 2.2 apis.
>
> I have an error executing command $scons
>
> the error:
> _____________________________________________________________________
> $ scons -j2
> scons: Reading SConscript files ...
> Testing recipe: pkg-config
>  Error calling pkg-config xmlrpc_server_abyss++ --static --libs
> Testing recipe: xmlrpc-c-config
> g++ .xmlrpc_test/xmlrpc_test.9fda46.cc -o
> .xmlrpc_test/xmlrpc_test.9fda46.cc.out  -L/usr/lib   -lxmlrpc_server_abyss++
> -lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss
>  -lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
> -lxmlrpc_xmltok  -I/usr/include 1>>.xmlrpc_test/xmlrpc_test.9fda46.cc.log
> 2>&1
>
> Testing recipe: pkg-config
>  Error calling pkg-config xmlrpc_client++ xmlrpc++ --libs
> Testing recipe: xmlrpc-c-config
> g++ .xmlrpc_test/xmlrpc_test.dbf775.cc -o
> .xmlrpc_test/xmlrpc_test.dbf775.cc.out  -L/usr/lib   -lxmlrpc_client++
> -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
> -lxmlrpc_xmltok -L/usr/lib/x86_64-linux-gnu -lcurl -Wl,-Bsymbolic-functions
> -Wl,-z,relro -lxmlrpc_packetsocket -I/usr/include
> 1>>.xmlrpc_test/xmlrpc_test.dbf775.cc.log 2>&1
>
> Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian lenny)
> g++ .xmlrpc_test/xmlrpc_test.dbf775.cc -o
> .xmlrpc_test/xmlrpc_test.dbf775.cc.out  -I/usr/include -L/usr/lib
> -lxmlrpc_client -lxmlrpc_client -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
> -lxmlrpc_xmltok -lxmlrpc_client++ -lxmlrpc++
> 1>>.xmlrpc_test/xmlrpc_test.dbf775.cc.log 2>&1
>
> Testing recipe: hardcoded libraries for Mac OS X (installed using port)
> g++ .xmlrpc_test/xmlrpc_test.dbf775.cc -o
> .xmlrpc_test/xmlrpc_test.dbf775.cc.out  -I/opt/local/include
> -L/opt/local/lib -lcurl -lxmlrpc_client++ -lxmlrpc_client -lxmlrpc++
> -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -lwwwxml -lxmltok
> -lxmlparse -lwwwzip -lwwwinit -lwwwapp -lwwwtelnet -lwwwhtml -lwwwnews
> -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache
> -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lm -lmd5
> 1>>.xmlrpc_test/xmlrpc_test.dbf775.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.
> _______________________________________________________________________________
>
> i've installed all the required software, please let me know if someone has
> a solution
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula



More information about the Users mailing list