[one-users] Problem with compiling opennebula 2.2.1

Daniel Gebauer danielgebauer at gmail.com
Mon Jun 20 10:25:06 PDT 2011


Hello everyone,

i hope i am doing everythin right, with writing to this mailinglist. Its my
first time ;)

Does anyone have any solution for me how to solve that problem!?

I am trying to compile opennebula 2.2.1 on an ubuntu 10.04 x64 and getting
the following errors after doing "scons":

daniel at cloudia:/srv/cloud/one/SRC/opennebula-2.2.1$ sudo scons
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.338034.cc -o
.xmlrpc_test/xmlrpc_test.338034.cc.out  -L/usr/local/lib
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss
-lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util
-lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/local/include
1>>.xmlrpc_test/xmlrpc_test.338034.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.fd61fb.cc -o
.xmlrpc_test/xmlrpc_test.fd61fb.cc.out  -L/usr/local/lib   -lxmlrpc_client++
-lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
-lxmlrpc_xmltok -lxmlrpc_packetsocket -I/usr/local/include
1>>.xmlrpc_test/xmlrpc_test.fd61fb.cc.log 2>&1

Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian lenny)
g++ .xmlrpc_test/xmlrpc_test.41fa3c.cc -o
.xmlrpc_test/xmlrpc_test.41fa3c.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.41fa3c.cc.log 2>&1

Testing recipe: hardcoded libraries for Mac OS X (installed using port)
g++ .xmlrpc_test/xmlrpc_test.41fa3c.cc -o
.xmlrpc_test/xmlrpc_test.41fa3c.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.41fa3c.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.


The mentioned logfiles saying:

daniel at cloudia:/srv/cloud/one/SRC/opennebula-2.2.1/.xmlrpc_test$ cat
xmlrpc_test.1d986a.cc.log
g++ .xmlrpc_test/xmlrpc_test.1d986a.cc -o
.xmlrpc_test/xmlrpc_test.1d986a.cc.out  -L/usr/local/lib   -lxmlrpc_client++
-lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
-lxmlrpc_xmltok -lxmlrpc_packetsocket -I/usr/local/include
1>>.xmlrpc_test/xmlrpc_test.1d986a.cc.log 2>&1
.xmlrpc_test/xmlrpc_test.1d986a.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.1d986a.cc:36: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.1d986a.cc:37: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.1d986a.cc:40: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.1d986a.cc:41: warning: taking address of temporary
/usr/bin/ld: cannot find -lxmlrpc_client++
collect2: ld returned 1 exit status
g++ .xmlrpc_test/xmlrpc_test.1d986a.cc -o
.xmlrpc_test/xmlrpc_test.1d986a.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.1d986a.cc.log 2>&1
.xmlrpc_test/xmlrpc_test.1d986a.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.1d986a.cc:36: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.1d986a.cc:37: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.1d986a.cc:40: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.1d986a.cc:41: warning: taking address of temporary
/usr/bin/ld: cannot find -lxmlrpc_client++
collect2: ld returned 1 exit status

daniel at cloudia:/srv/cloud/one/SRC/opennebula-2.2.1/.xmlrpc_test$ cat
xmlrpc_test.338034.cc.log
g++ .xmlrpc_test/xmlrpc_test.338034.cc -o
.xmlrpc_test/xmlrpc_test.338034.cc.out  -L/usr/local/lib
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss
-lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util
-lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/local/include
1>>.xmlrpc_test/xmlrpc_test.338034.cc.log 2>&1

daniel at cloudia:/srv/cloud/one/SRC/opennebula-2.2.1/.xmlrpc_test$ cat
xmlrpc_test.41fa3c.cc.log
g++ .xmlrpc_test/xmlrpc_test.41fa3c.cc -o
.xmlrpc_test/xmlrpc_test.41fa3c.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.41fa3c.cc.log 2>&1
.xmlrpc_test/xmlrpc_test.41fa3c.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.41fa3c.cc:36: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.41fa3c.cc:37: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.41fa3c.cc:40: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.41fa3c.cc:41: warning: taking address of temporary
/usr/bin/ld: cannot find -lxmlrpc_client++
collect2: ld returned 1 exit status
g++ .xmlrpc_test/xmlrpc_test.41fa3c.cc -o
.xmlrpc_test/xmlrpc_test.41fa3c.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.41fa3c.cc.log 2>&1
.xmlrpc_test/xmlrpc_test.41fa3c.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.41fa3c.cc:36: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.41fa3c.cc:37: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.41fa3c.cc:40: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.41fa3c.cc:41: warning: taking address of temporary
/usr/bin/ld: cannot find -lcurl
collect2: ld returned 1 exit status

daniel at cloudia:/srv/cloud/one/SRC/opennebula-2.2.1/.xmlrpc_test$ cat
xmlrpc_test.463d72.cc.log
g++ .xmlrpc_test/xmlrpc_test.463d72.cc -o
.xmlrpc_test/xmlrpc_test.463d72.cc.out  -L/usr/local/lib
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss
-lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util
-lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/local/include
1>>.xmlrpc_test/xmlrpc_test.463d72.cc.log 2>&1

daniel at cloudia:/srv/cloud/one/SRC/opennebula-2.2.1/.xmlrpc_test$ cat
xmlrpc_test.6e1533.cc.log
g++ .xmlrpc_test/xmlrpc_test.6e1533.cc -o
.xmlrpc_test/xmlrpc_test.6e1533.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.6e1533.cc.log 2>&1
.xmlrpc_test/xmlrpc_test.6e1533.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.6e1533.cc:36: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.6e1533.cc:37: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.6e1533.cc:40: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.6e1533.cc:41: warning: taking address of temporary
/usr/bin/ld: cannot find -lcurl
collect2: ld returned 1 exit status

daniel at cloudia:/srv/cloud/one/SRC/opennebula-2.2.1/.xmlrpc_test$ ^C
daniel at cloudia:/srv/cloud/one/SRC/opennebula-2.2.1/.xmlrpc_test$ cat
xmlrpc_test.fd61fb.cc.log
g++ .xmlrpc_test/xmlrpc_test.fd61fb.cc -o
.xmlrpc_test/xmlrpc_test.fd61fb.cc.out  -L/usr/local/lib   -lxmlrpc_client++
-lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
-lxmlrpc_xmltok -lxmlrpc_packetsocket -I/usr/local/include
1>>.xmlrpc_test/xmlrpc_test.fd61fb.cc.log 2>&1
.xmlrpc_test/xmlrpc_test.fd61fb.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.fd61fb.cc:36: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.fd61fb.cc:37: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.fd61fb.cc:40: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.fd61fb.cc:41: warning: taking address of temporary
/usr/bin/ld: cannot find -lxmlrpc_client++
collect2: ld returned 1 exit status


Daniel


-- 
____________________
Daniel Gebauer
Hellenbank 3
44227 Dortmund

mail. danielgebauer at gmail.com
tel. 0173 / 2079829
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110620/a438b447/attachment-0002.htm>


More information about the Users mailing list