Bug #76282 [NEW]: Not compiling against mysql8 (no more my_global.h)
| From: | UvgdwXcN9V2oxDoaIVT5lYI at protonmail dot ch | Date: | Fri, 27 Apr 2018 21:17:28 +0000 |
| Subject: | Bug #76282 [NEW]: Not compiling against mysql8 (no more my_global.h) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-214952@lists.php.net to get a copy of this message | ||
From: UvgdwXcN9V2oxDoaIVT5lYI at protonmail dot ch
Operating system: Centos 7
PHP version: 7.2.5
Package: MySQLi related
Bug Type: Bug
Bug description:Not compiling against mysql8 (no more my_global.h)
Description:
------------
/php-7.2.5/ext/mysqli/php_mysqli_structs.h:63:23: fatal error:
my_global.h: No such file or directory
#include <my_global.h>
^
compilation terminated.
make: *** [ext/mysqli/mysqli.lo] Error 1
As per the hint here
(https://mysqlserverteam.com/mysql-8-0-source-code-improvements/):
"my_global.h went away"
Test script:
---------------
mysql-community-client.x86_64 8.0.11-1.el7
@mysql80-community
mysql-community-common.x86_64 8.0.11-1.el7
@mysql80-community
mysql-community-devel.x86_64 8.0.11-1.el7
@mysql80-community
mysql-community-libs.x86_64 8.0.11-1.el7
@mysql80-community
mysql-community-libs-compat.x86_64
8.0.11-1.el7
@mysql80-community
mysql-community-server.x86_64 8.0.11-1.el7
@mysql80-community
mysql80-community-release.noarch el7-1 installed
./configure --enable-fpm --with-fpm-user=phpfpm --with-fpm-group=phpfpm
--with-fpm-systemd --with-libxml-dir --with-openssl --with-pcre-regex
--with-zlib --enable-bcmath --with-bz2 --with-curl --enable-exif
--with-gd --enable-soap --enable-zip --enable-mysqlnd
--with-mysqli=/usr/bin/mysql_config-64 --with-pdo-mysql=mysqlnd
--enable-mbstring --with-gmp --with-sodium
--
Edit bug report at https://bugs.php.net/bug.php?id=76282&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76282&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76282&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76282&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76282&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76282&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76282&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76282&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76282&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76282&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76282&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76282&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76282&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76282&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76282&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76282&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76282&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76282&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76282&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76282&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76282&r=mysqlcfg