Bug #81136 [NEW]: Can't build opcache: 'zend_dfg.h' file not found
| From: | php-bugs-2021 at ryandesign dot com | Date: | Mon, 14 Jun 2021 09:01:09 +0000 |
| Subject: | Bug #81136 [NEW]: Can't build opcache: 'zend_dfg.h' file not found | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-234403@lists.php.net to get a copy of this message | ||
From: php-bugs-2021 at ryandesign dot com
Operating system: macOS 10.13.6
PHP version: 8.1.0alpha1
Package: Compile Failure
Bug Type: Bug
Bug description:Can't build opcache: 'zend_dfg.h' file not found
Description:
------------
Hi, with php 8.1.0alpha1 (and the fixes for bug #81130 and bug #81133) I
am unable to build the opcache extension (with phpize). The error is:
In file included from
/path/to/php-8.1.0alpha1/ext/opcache/jit/zend_jit.c:40:
/opt/local/include/php81/php/Zend/Optimizer/zend_dump.h:23:10: fatal
error: 'zend_dfg.h' file not found
#include "zend_dfg.h"
^~~~~~~~~~~~
1 error generated.
If I copy /path/to/php-8.1.0alpha1/Zend/Optimizer/zend_dfg.h into
/opt/local/include/php81/php/Zend/Optimizer/ then I am able to build
opcache. Is this the correct fix?
--
Edit bug report at https://bugs.php.net/bug.php?id=81136&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81136&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81136&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81136&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81136&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81136&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81136&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81136&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81136&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81136&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81136&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81136&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81136&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81136&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81136&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81136&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81136&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81136&r=mysqlcfg