[one-users] one compilation on Centos 5.4

makhanmail makhanmail at gmail.com
Mon Apr 26 09:40:28 PDT 2010


Hi

Do you have the right version of xmlrpc-c installed? Is your system 32- or  
64-bit?
Don't know how it's on CentOS, but I had problems with xmlrpc-c - it was  
32 bit and I needed 64 bit.
Commands I used to install dependencies on Scientific Linux:

yum -y install yum-conf-epel.noarch
yum -y install ruby ruby-devel ruby-docs ruby-ri ruby-irb ruby-rdoc  
sqlite-devel xmlrpc rubygems openssl openssl-devel openssh scons gcc flex  
bison make rubygem-rake.noarch
gem install nokogiri rake xmlparser
wget http://prdownloads.sourceforge.net/scons/scons-1.2.0-1.noarch.rpm
rpm -Uvh scons-1.2.0-1.noarch.rpm
wget  
http://centos.karan.org/el5/extras/testing/SRPMS/xmlrpc-c-1.06.18-1.el5.kb.src.rpm
yum -y install cmake
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
wget http://www.sqlite.org/sqlite-amalgamation-3.6.17.tar.gz
tar xvzf sqlite-amalgamation-3.6.17.tar.gz
cd sqlite-3.6.17/
./configure
make
make install

Regards,
Maciej Kruk


Dnia 26-04-2010 o 19:57:14 Ruben Diez <rdiez at cesga.es> napisał(a):

> Hi:
>
> I'm try to compile one on a centos 5.4....
>
> I am follow the steps specified at  
> http://www.opennebula.org/documentation:rel1.4:notes for the centos  
> 5/RLE 5 case....
>
> But, after make all the specified stuff, i get the follow error when i  
> run the "scons" command:
>
> ------------ BEGIN CODE -----------------
> [root at nuba-cesga-1b one-1.4]# scons
> 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/xmlrpc_test.80dc48.cc -o  
> .xmlrpc_test/xmlrpc_test.80dc48.cc.out -I/opt/local/include  
> -L/opt/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit  
> -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>>.xmlrpc_test/xmlrpc_test.80dc48.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 "/root/one-1.4/SConstruct", line 114:
>     exit(-1)
> --------- END CODE ---------------
>
> Anybody knows what is failing???
>
> Regards.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



More information about the Users mailing list