bosh-sample-release icon indicating copy to clipboard operation
bosh-sample-release copied to clipboard

stop during php compiling

Open ghost opened this issue 10 years ago • 0 comments

Thank you for using PHP.

, Stderr: + echo 'Extracting php5...'

  • tar xzf php5/php-5.3.10.tar.gz
  • export APACHE2=/var/vcap/packages/apache2
  • APACHE2=/var/vcap/packages/apache2
  • echo 'Building php5...'
  • cd php-5.3.10
  • ./configure --prefix=/var/vcap/packages/php5 --with-apxs2=/var/vcap/packages/apache2/bin/apxs --with-config-file-path=/var/vcap/jobs/wordpress/config/php.ini --with-mysql=/var/vcap/packages/mysqlclient shtool:echo:Warning: unable to determine terminal sequence for bold mode shtool:echo:Warning: unable to determine terminal sequence for bold mode configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 (found: 3.0.2). configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none). configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 (found: none).
  • make /var/vcap/data/compile/php5/php-5.3.10/ext/dom/document.c: In function 'zif_dom_document_import_node': /var/vcap/data/compile/php5/php-5.3.10/ext/dom/document.c:1214:5: warning: passing argument 2 of 'dom_get_ns' discards 'const' qualifier from pointer target type [enabled by default] nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix); ^ In file included from /var/vcap/data/compile/php5/php-5.3.10/ext/dom/document.c:28:0: /var/vcap/data/compile/php5/php-5.3.10/ext/dom/php_dom.h:109:10: note: expected 'char ' but argument is of type 'const xmlChar *' xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix); ^ /var/vcap/data/compile/php5/php-5.3.10/ext/dom/document.c:1214:5: warning: passing argument 4 of 'dom_get_ns' discards 'const' qualifier from pointer target type [enabled by default] nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix); ^ In file included from /var/vcap/data/compile/php5/php-5.3.10/ext/dom/document.c:28:0: /var/vcap/data/compile/php5/php-5.3.10/ext/dom/php_dom.h:109:10: note: expected 'char *' but argument is of type 'const xmlChar *' xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix); ^ /var/vcap/data/compile/php5/php-5.3.10/ext/dom/node.c: In function 'dom_canonicalization': /var/vcap/data/compile/php5/php-5.3.10/ext/dom/node.c:1898:21: error: dereferencing pointer to incomplete type ret = buf->buffer->use; ^ In file included from /var/vcap/data/compile/php5/php-5.3.10/main/php.h:38:0, from /var/vcap/data/compile/php5/php-5.3.10/ext/dom/node.c:26: /var/vcap/data/compile/php5/php-5.3.10/ext/dom/node.c:1900:40: error: dereferencing pointer to incomplete type RETVAL_STRINGL((char *) buf->buffer->content, ret, 1); ^ /var/vcap/data/compile/php5/php-5.3.10/Zend/zend_API.h:547:20: note: in definition of macro 'ZVAL_STRINGL' const char *__s=(s); int __l=l;
    ^ /var/vcap/data/compile/php5/php-5.3.10/ext/dom/node.c:1900:5: note: in expansion of macro 'RETVAL_STRINGL' RETVAL_STRINGL((char *) buf->buffer->content, ret, 1); ^ make: *
    * [ext/dom/node.lo] Error 1

Task 31 error

ghost avatar Jun 10 '15 13:06 ghost