Hi,<div><br></div><div>I'm afraid we haven't been able to reproduce that bug. In our case, using a similar environment it does compile. Are you still experiencing this? any extra clues that might help?</div><div><br>
</div><div>regards,</div><div>Jaime<br><br><div class="gmail_quote">2011/4/21 ½¯ÇåÒ° <span dir="ltr"><<a href="mailto:jiangqingye2011@tianya.cn">jiangqingye2011@tianya.cn</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, <br><br>I am having problem installing opennebula onto CentOS 5.5 x86_64. Please kindly help.<br><br>First of all, this is a freshly installed CentOS 5.5 x86_64 on a 64bit system. The selected components are "Server" and "Virtualization".<br>
<br>Second, I did read and followed the instructions at the following URL: <br><br><pre><i><i><a href="http://opennebula.org/documentation:rel2.0:notes" target="_blank">http://opennebula.org/documentation:rel2.0:notes</a> <br>
<br>Third, I have also followed this thread, with no luck:<br><br><a href="http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2010-October/003111.html" target="_blank">http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2010-October/003111.html</a><br>
<br>Therefore I think it would be better for me to describe my installation procedures, so that you guys could help.<br><br>The following operations were executed by root.<br><br>(1) Install a CentOS 5.5 x86_64 system, with "Server" and "Virtualization" as the selected components. Then login as root.<br>
<br>(2) Setup CentOS Karan Depo<br><br></i></i># cd /etc/yum.repos.d
# wget <a href="http://centos.karan.org/kbsingh-CentOS-Extras.repo" target="_blank">http://centos.karan.org/kbsingh-CentOS-Extras.repo</a><br><br>Edit kbsingh-CentOS-Extras.repo and set "enabled=1" for kbs-CentOS-Testing.<br>
<br># yum update<br><br>(3) Install the many packages<br></pre><pre># yum install gcc gcc-c++ make openssl-devel flex bison
# yum install ruby ruby-devel ruby-docs ruby-ri ruby-irb ruby-rdoc
# yum install rubygems
# gem install nokogiri rake xmlparser
# yum install scons
# yum install xmlrpc-c xmlrpc-c-devel</pre>(4) Install sqlite 3.6.17<br><pre># wget <a href="http://www.sqlite.org/sqlite-amalgamation-3.6.17.tar.gz" target="_blank">http://www.sqlite.org/sqlite-amalgamation-3.6.17.tar.gz</a>
# tar xvzf sqlite-amalgamation-3.6.17.tar.gz
# cd sqlite-3.6.17/
# ./configure; make; make install
</pre>(5) Setup directories, groups, and users<br><br># mkdir -p /srv/cloud/one<br># mkdir -p /srv/cloud/images<br># groupadd cloud<br>#
useradd -d /srv/cloud/one -g cloud -m oneadmin <br><br>(6) Download opennebula-2.2.tar.gz, unpack into /tmp/opennebula-2.2 directory, and compile<br><br># scons<br><pre>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/<a href="http://xmlrpc_test.28bf26.cc" target="_blank">xmlrpc_test.28bf26.cc</a> -o .xmlrpc_test/xmlrpc_test.28bf26.cc.out
-I/opt/local/include -L/opt/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lw
wwinit -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>>.xm
lrpc_test/xmlrpc_test.28bf26.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 "/tmp/opennebula-2.2/SConstruct", line 151:
exit(-1)</pre><br>(7) Try the following resolution<br><br><a href="http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2010-October/003118.html" target="_blank">http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2010-October/003118.html</a><br>
<pre># wget <a href="http://centos.karan.org/el5/extras/testing/SRPMS/xmlrpc-c-1.06.18-1.el5.kb.src.rpm" target="_blank">http://centos.karan.org/el5/extras/testing/SRPMS/xmlrpc-c-1.06.18-1.el5.kb.src.rpm</a>
# rpmbuild --rebuild xmlrpc-c-1.06.18-1.el5.kb.src.rpm
# cd /usr/src/redhat/RPMS/x86_64/
# rpm -i xmlrpc-c-1.06.18-1.x86_64.rpm
# rpm -i xmlrpc-c-devel-1.06.18-1.x86_64.rpm</pre>Try again, failed with the same error messages.<br><br>(8) Try the binary packages, 2.0-1 and 2.2-1 have the same problem.<br><br><pre>bash-3.2# yum localinstall --nogpgcheck opennebula-2.0-1.x86_64.rpm
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining opennebula-2.0-1.x86_64.rpm: opennebula-2.0-1.x86_64
Marking opennebula-2.0-1.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* addons: <a href="http://ftp.monash.edu.au" target="_blank">ftp.monash.edu.au</a>
* base: <a href="http://ftp.monash.edu.au" target="_blank">ftp.monash.edu.au</a>
* epel: <a href="http://mirror.aarnet.edu.au" target="_blank">mirror.aarnet.edu.au</a>
* extras: <a href="http://ftp.monash.edu.au" target="_blank">ftp.monash.edu.au</a>
* updates: <a href="http://ftp.monash.edu.au" target="_blank">ftp.monash.edu.au</a>
Resolving Dependencies
--> Running transaction check
---> Package opennebula.x86_64 0:2.0-1 set to be updated
--> Processing Dependency: libxmlrpc++.so.3()(64bit) for package: opennebula
--> Processing Dependency: libxmlrpc_client++.so.3()(64bit) for package: openneb
ula
--> Processing Dependency: libxmlrpc_server++.so.3()(64bit) for package: openneb
ula
--> Processing Dependency: libxmlrpc_server_abyss++.so.3()(64bit) for package: o
pennebula
--> Processing Dependency: libxmlrpc_server_abyss.so.3()(64bit) for package: ope
nnebula
--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: opennebula
--> Finished Dependency Resolution
opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems
--> Missing Dependency: libxmlrpc_server++.so.3()(64bit) is needed by package
opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems
--> Missing Dependency: libxmlrpc++.so.3()(64bit) is needed by package openneb
ula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems
--> Missing Dependency: libxmlrpc_server_abyss.so.3()(64bit) is needed by pack
age opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems
--> Missing Dependency: libxmlrpc_util.so.3()(64bit) is needed by package open
nebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems
--> Missing Dependency: libxmlrpc_client++.so.3()(64bit) is needed by package
opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems
--> Missing Dependency: libxmlrpc_server_abyss++.so.3()(64bit) is needed by pa
ckage opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
Error: Missing Dependency: libxmlrpc_server_abyss++.so.3()(64bit) is needed by p
ackage opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
Error: Missing Dependency: libxmlrpc_util.so.3()(64bit) is needed by package ope
nnebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
Error: Missing Dependency: libxmlrpc_client++.so.3()(64bit) is needed by package
opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
Error: Missing Dependency: libxmlrpc_server_abyss.so.3()(64bit) is needed by pac
kage opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
Error: Missing Dependency: libxmlrpc_server++.so.3()(64bit) is needed by package
opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
Error: Missing Dependency: libxmlrpc++.so.3()(64bit) is needed by package openne
bula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles -nodigest
<br><br>(9) Any ideas?<br><br>Best regards,<br><br>John<br><br></pre><br><span></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div><br clear="all"><br>-- <br>Jaime Melis, Cloud Technology Engineer/Researcher<br>Major Contributor<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>