Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
-
10.2.8, 10.2.11, 10.2.12
-
Centos 7 + MariaDB-devel 10.2.11 + PHP 7.1.12
Description
How to reproduce:
install MariaDB-devel package >= 10.2.10
Unpack PHP tarball and run
./configure --with-mysqli=/usr/bin/mysql_config CPPFLAGS="-I/usr/include/mysql"
make
Expected result:
Complied PHP binary with mysqli extension:
Actual result:
In file included from /root/php-7.1.12/ext/mysqli/php_mysqli_structs.h:63:0, |
from /root/php-7.1.12/ext/mysqli/mysqli.c:34: |
/usr/include/mysql/my_global.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp] |
#warning This file should not be included by clients, include only <mysql.h>
|
^
|
In file included from /root/php-7.1.12/ext/mysqli/php_mysqli_structs.h:79:0, |
from /root/php-7.1.12/ext/mysqli/mysqli.c:34: |
/usr/include/mysql/my_sys.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp] |
#warning This file should not be included by clients, include only <mysql.h>
|
^
|
In file included from /root/php-7.1.12/ext/mysqli/mysqli.c:34:0: |
/root/php-7.1.12/ext/mysqli/php_mysqli_structs.h:82:21: fatal error: my_list.h: No such file or directory |
#include <my_list.h>
|
^
|
compilation terminated.
|
make: *** [ext/mysqli/mysqli.lo] Error 1 |