Hi Qasim,

I think I've seen this issue before. The problem is that the PHP code
relies on an old version of libxml2-dev. Try applying the following patch
file
<https://github.com/nikolayg/CloudStoneSetupOnUbuntu/blob/master/php-5.4.5-libxm2-2.9.0.patch>
to the PHP code as follows:
cd php-5.3.9
sudo patch -p0 < php-5.4.5-libxm2-2.9.0.patch


For more info on how to setup CloudStone you can look at:

   -
   
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/


Regards,
Nikolay Grozev
PhD Candidate, University of Melbourne
www.nikgrozev.com






On 25 September 2014 16:16, Qasim Ali <[email protected]> wrote:

> Hello,
>
> I am getting the below error when compiling the Cloudstone PHP component.
> Here is the error
>
> /home/qali/web-release/php-5.3.9/ext/dom/node.c: In function
> âdom_canonicalizationâ:
> /home/qali/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/qali/web-release/php-5.3.9/main/php.h:38:0,
>                  from /home/qali/web-release/php-5.3.9/ext/dom/node.c:26:
> /home/qali/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);
>                                         ^
> /home/qali/web-release/php-5.3.9/Zend/zend_API.h:547:20: note: in
> definition of macro âZVAL_STRINGLâ
>    const char *__s=(s); int __l=l;  \
>                     ^
> /home/qali/web-release/php-5.3.9/ext/dom/node.c:1900:5: note: in expansion
> of macro âRETVAL_STRINGLâ
>      RETVAL_STRINGL((char *) buf->buffer->content, ret, 1);
>
>
>
>
>
> Regards,
> Dr. Qasim Ali
>
> Staff R&D Engineer
> VMware Inc
>

Reply via email to