Hi Andreas, I can confirm that the PHP included in the web benchmark does not compile in Ubuntu 14.04. The problem is that it relies on an older version of the libxml2-dev package, and is not compatible with the one in Ubuntu 14.04.
Fortunately that is easy to fix. You need to apply this patch <https://raw.githubusercontent.com/nikolayg/CloudStoneSetupOnUbuntuAdvanced/master/php-5.4.5-libxm2-2.9.0.patch> to the PHP code, by doing the following: cd php-5.3.9 sudo patch -p0 < php-5.4.5-libxm2-2.9.0.patch Judging from my experience you may face further issues and incompatibilities along the way. You may like to consider following some of these guidelines for the web benchmark: - http://nikolaygrozev.wordpress.com/2014/05/10/automated-cloudstone-setup-in-ubuntu-vms/ - http://nikolaygrozev.wordpress.com/2014/06/02/advanced-automated-cloudstone-setup-in-ubuntu-vms-part-2/ Good luck, Nikolay http://nikgrozev.com/ On 30 June 2014 00:04, Cansu Kaynak <[email protected]> wrote: > Dear Andreas, > > Regarding web serving, I was able to compile php-5.3.9 with gcc 4.1.2. > > -- > Cansu > > On 28 Jun 2014, at 20:28, Andreas Georgiadis <[email protected]> > wrote: > > Hello, > > i am trying to run the web search, web serving and graph analytics > benchmarks in my Linux VM, using Ubuntu 14.04 and i encounter the following > problems: > > In the web search benchmark, the hadoop cluster does not start normally. > When the datanode tries to connect to the port 9000 of localhost it > terminates with an IO Exception, with the explanation ‘connection reset by > peer’. > > In the graph analytics benchmark, when i run the tunkrank executable, it > runs forever, even if i run it with the following configuration: > > ./tunkrank —powerlaw=10--ncpus=2 --engine=asynchronous > > Since the input graph has got only 10 vertices, i expected that the > execution time would be short, so I suspect there is something wrong with > the executable. > > Finally, in the web search benchmark, i get the following compilation > errors when i execute make in the php-5.3.9 directory in the front end > machine: > > /home/user/web-release/php-5.3.9/ext/dom/node.c: In function > 'dom_canonicalization': > /home/user/web-release/php-5.3.9/ext/dom/node.c:1898:21: error: > dereferencing pointer to incomplete type > ret = buf->buffer->use; > ^ > In file included from /home/user/web-release/php-5.3.9/main/php.h:38:0, > from /home/user/web-release/php-5.3.9/ext/dom/node.c:26: > /home/user/web-release/php-5.3.9/ext/dom/node.c:1900:40: error: > dereferencing pointer to incomplete type > RETVAL_STRINGL((char *) buf->buffer->content, ret, 1); > ^ > > My gcc version is 4.8.2. > > Any piece of advice regarding those issues, in case you have encountered > similar errors would help me a lot. > > I thank you in advance, > Andreas Georgiadis > > >
