Bug #77206 [NEW]: my_global.h: No such file or directory

From: Date: Tue, 27 Nov 2018 07:22:15 +0000
Subject: Bug #77206 [NEW]: my_global.h: No such file or directory
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218150@lists.php.net to get a copy of this message
From: jackie dot luo at kpmg dot com Operating system: CentOS Linux release 7.5.1804 (C PHP version: 7.2.12 Package: *General Issues Bug Type: Bug Bug description:my_global.h: No such file or directory Description: ------------ I am setting up a PHP environment which is used to combine with mysql and Nginx server. I already installed mysql and Nginx server. when I used source code installation method to compile the files. it terminated with an error: /usr/local/php-7.2.12/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/mysqli/ -I/usr/local/php-7.2.12/ext/mysqli/ -DPHP_ATOM_INC -I/usr/local/php-7.2.12/include -I/usr/local/php-7.2.12/main -I/usr/local/php-7.2.12 -I/usr/local/php-7.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/local/php-7.2.12/ext/mbstring/oniguruma -I/usr/local/php-7.2.12/ext/mbstring/libmbfl -I/usr/local/php-7.2.12/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include -I/usr/local/php-7.2.12/ext/sqlite3/libsqlite -I/usr/local/php-7.2.12/ext/zip/lib -I/usr/local/php-7.2.12/TSRM -I/usr/local/php-7.2.12/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /usr/local/php-7.2.12/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo In file included from /usr/local/php-7.2.12/ext/mysqli/mysqli.c:34:0: /usr/local/php-7.2.12/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 the PHP version is 7.2.12, I downloaded the source code from official website. Test script: --------------- none Expected result: ---------------- none Actual result: -------------- I already installed all necessary features, but the compilation still failed -- Edit bug report at https://bugs.php.net/bug.php?id=77206&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77206&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77206&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77206&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=77206&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=77206&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=77206&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=77206&r=needscript Try newer version: https://bugs.php.net/fix.php?id=77206&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=77206&r=support Expected behavior: https://bugs.php.net/fix.php?id=77206&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=77206&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=77206&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=77206&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77206&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=77206&r=dst IIS Stability: https://bugs.php.net/fix.php?id=77206&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=77206&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=77206&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=77206&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=77206&r=mysqlcfg

« previous php.bugs (#218150) next »