Re: [ANNOUNCEMENT] mysql_xdevapi-1.0.0 (alpha) Released.
| From: | Remi Collet | Date: | Thu, 08 Dec 2016 17:11:14 +0000 |
| Subject: | Re: [ANNOUNCEMENT] mysql_xdevapi-1.0.0 (alpha) Released. | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-14337@lists.php.net to get a copy of this message | ||
Le 08/12/2016 à 16:51, PECL Announce a écrit :
> The new PECL package mysql_xdevapi-1.0.0 (alpha) has been released at
> http://pecl.php.net/.
I was finally able to build it on Fedora, with various workaround.
add missing headers from 7.1.0 in ext/json
config.m4 =>
https://github.com/remicollet/remirepo/commit/c3b6e39aea593607c4b102d20222ccdd64bb2f62#diff-70bc1e54342d5e4bd04db15477c7a331
BTW build ok on Fedora 22+ (with recent composer and libraries)
Build KO on RHEL-7
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.0/NTS/xmysqlnd/xmysqlnd_stmt_execution_state.c:
In function 'xmysqlnd_xmysqlnd_stmt_execution_state_free_contents_pub':
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.0/NTS/xmysqlnd/xmysqlnd_stmt_execution_state.c:145:3:
error: 'for' loop initial declarations are only allowed in C99 mode
for( int i = 0 ; i < state->num_of_doc_ids; ++i ) {
^
/builddir/build/BUILD/php-pecl-mysql-xdevapi-1.0.0/NTS/xmysqlnd/xmysqlnd_stmt_execution_state.c:145:3:
note: use option -std=c99 or -std=gnu99 to compile your code
/
The test suite can't be run, as MYSQLX_TEST_PORT is ignored in connections.
Remi.
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc