[one-users] Opennebula 2.2.1 on Ubuntu 12.04 - scons Error
Filippo Gaudenzi
filippo.gaudenzi at inria.fr
Mon May 21 01:48:39 PDT 2012
It looks better during the compilation, but i still have:
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/scheduler/src/pool/HostPoolXML.o -c -g -Wall -DSQLITE_DB
-Iinclude -I/usr/include -I/usr/include/libxml2 -Isrc/scheduler/include
src/scheduler/src/pool/HostPoolXML.cc
In file included from src/scheduler/include/HostPoolXML.h:21:0,
from src/scheduler/src/pool/HostPoolXML.cc:17:
src/scheduler/include/PoolXML.h: In member function 'virtual int
PoolXML::set_up()':
src/scheduler/include/PoolXML.h:90:28: warning: variable 'num_objs' set
but not used [-Wunused-but-set-variable]
In file included from src/scheduler/src/pool/HostPoolXML.cc:17:0:
src/scheduler/include/HostPoolXML.h: In member function 'virtual
HostXML* HostPoolXML::get(int) const':
src/scheduler/include/HostPoolXML.h:42:62: error: invalid conversion
from 'const HostXML*' to 'HostXML*' [-fpermissive]
scons: *** [src/scheduler/src/pool/HostPoolXML.o] Error 1
scons: building terminated because of errors
I looked in the directory .xmlrpc_test and it is ok,however i attached
the directory to the email
On 05/17/2012 11:58 PM, Javier Fontan wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120521/bd960f4a/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlrpc_test.zip
Type: application/zip
Size: 2355 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120521/bd960f4a/attachment-0003.zip>
More information about the Users
mailing list