Bug #66767 [Opn->Csd]: mysqli build problem with 5.6.0 alpha2
| From: | johannes@php.net | Date: | Tue, 25 Feb 2014 18:00:55 +0000 |
| Subject: | Bug #66767 [Opn->Csd]: mysqli build problem with 5.6.0 alpha2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-184425@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66767&edit=1
ID: 66767
Updated by: johannes@php.net
Reported by: dkasyanov at cloudlinux dot com
Summary: mysqli build problem with 5.6.0 alpha2
-Status: Open
+Status: Closed
Type: Bug
Package: MySQLi related
Operating System: RHEL 6 / CloudLinux 6
PHP Version: 5.6.0alpha2
-Assigned To:
+Assigned To: johannes
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2014-02-25 18:00:37] johannes@php.net
Fixed in this commit:
http://git.php.net/?p=php-src.git;a=commit;h=756ee95605ab0677bfd20e0d1f0ba1053b2075d7
Side note: We suggest building using mysqlnd by using --with-mysqli=shared without path.
------------------------------------------------------------------------
[2014-02-25 10:20:06] dkasyanov at cloudlinux dot com
Description:
------------
Configure string:
./configure --with-php-config=/opt/alt/php56/usr/bin/php-config
--with-mysqli=shared,/usr/bin/mysql_config --with-libdir=lib64 LDFLAGS="-lm -lpthread -ldl
-L/usr/lib64/mysql -lmysqlclient" CPPFLAGS="-I/usr/include/mysql"
After configure and make I get next error:
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:683: error: conflicting types for
'mysqli_commit_or_rollback_libmysql'
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:684: note: an argument type that has a
default promotion can't match an empty parameter name list declaration
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:605: note: previous implicit
declaration of 'mysqli_commit_or_rollback_libmysql' was here
make: *** [mysqli_api.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66767&edit=1