Bug #2409
Updated by Tino Vázquez over 7 years ago
Find attached a patch for 3.8.5 to enable new parameters to increase the number of xmlrpc sockets. To compile it follow the steps:
* Install libcurl development libraries
* Download a newer xmlrpmc-c library:
$ svn checkout http://svn.code.sf.net/p/xmlrpc-c/code/stable xmlrpc-c
* Set CXXFLAGS so it compiles for x86_64:
$ export CXXFLAGS=-fPIC
* Configure, make, make install with a prefix:
$ ./configure --prefix=$PWD/install
$ make
$ make install
* Delete dynamic libraries from xmlrpc dir:
$ rm <xmlrpc dir>/lib/*.so <xmlrpc dir>/lib/*.so.*
* Set path to point to xmlrpc bin dir:
$ export PATH=<xmlrpc dir>/bin:$PATH
* Compile OpenNebula after applying the patch
$ git clone git://git.opennebula.org/one.git
$ cd one
$ git checkout release-3.8.5
release-3.8.3
$ git apply xmlprc.patch
$ scons -j2 mysql=yes
* Install libcurl development libraries
* Download a newer xmlrpmc-c library:
$ svn checkout http://svn.code.sf.net/p/xmlrpc-c/code/stable xmlrpc-c
* Set CXXFLAGS so it compiles for x86_64:
$ export CXXFLAGS=-fPIC
* Configure, make, make install with a prefix:
$ ./configure --prefix=$PWD/install
$ make
$ make install
* Delete dynamic libraries from xmlrpc dir:
$ rm <xmlrpc dir>/lib/*.so <xmlrpc dir>/lib/*.so.*
* Set path to point to xmlrpc bin dir:
$ export PATH=<xmlrpc dir>/bin:$PATH
* Compile OpenNebula after applying the patch
$ git clone git://git.opennebula.org/one.git
$ cd one
$ git checkout release-3.8.5
release-3.8.3
$ git apply xmlprc.patch
$ scons -j2 mysql=yes