<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    It looks better during the compilation, but i still have:<br>
    <br>
    <font face="Courier New, Courier, monospace">scons: done reading
      SConscript files.<br>
      scons: Building targets ...<br>
      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<br>
      In file included from src/scheduler/include/HostPoolXML.h:21:0,<br>
                       from src/scheduler/src/pool/HostPoolXML.cc:17:<br>
      src/scheduler/include/PoolXML.h: In member function 'virtual int
      PoolXML::set_up()':<br>
      src/scheduler/include/PoolXML.h:90:28: warning: variable
      'num_objs' set but not used [-Wunused-but-set-variable]<br>
      In file included from src/scheduler/src/pool/HostPoolXML.cc:17:0:<br>
      src/scheduler/include/HostPoolXML.h: In member function 'virtual
      HostXML* HostPoolXML::get(int) const':<br>
      src/scheduler/include/HostPoolXML.h:42:62: error: invalid
      conversion from 'const HostXML*' to 'HostXML*' [-fpermissive]<br>
      scons: *** [src/scheduler/src/pool/HostPoolXML.o] Error 1<br>
      scons: building terminated because of errors</font><br>
    <br>
    I looked in the directory .xmlrpc_test and it is ok,however i
    attached the directory to the email<br>
    <br>
    On 05/17/2012 11:58 PM, Javier Fontan wrote:
    <blockquote
cite="mid:CAK+uMM-URdp-dtEowsWAPVp54XWTpzpjtn4Ffa7p4TTEqzKnCg@mail.gmail.com"
      type="cite">
      <pre wrap="">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] <a class="moz-txt-link-freetext" href="https://github.com/OpenNebula/one/blob/master/share/scons/get_xmlrpc_config">https://github.com/OpenNebula/one/blob/master/share/scons/get_xmlrpc_config</a>

On Wed, May 16, 2012 at 3:50 PM, Filippo Gaudenzi
<a class="moz-txt-link-rfc2396E" href="mailto:filippo.gaudenzi@inria.fr"><filippo.gaudenzi@inria.fr></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
      </blockquote>
      <pre wrap="">


</pre>
    </blockquote>
    <br>
  </body>
</html>