Bug #81136 [Csd]: Can't build opcache: 'zend_dfg.h' file not found

From: Date: Mon, 14 Jun 2021 13:07:20 +0000
Subject: Bug #81136 [Csd]: Can't build opcache: 'zend_dfg.h' file not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234413@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81136&edit=1 ID: 81136 User updated by: php-bugs-2021 at ryandesign dot com Reported by: php-bugs-2021 at ryandesign dot com Summary: Can't build opcache: 'zend_dfg.h' file not found Status: Closed Type: Bug Package: Compile Failure Operating System: macOS 10.13.6 PHP Version: 8.1.0alpha1 Assigned To: krakjoe Block user comment: N Private report: N New Comment: Super, that works for me. php81 and bundled extensions are now available in MacPorts for those who like to install that way. Previous Comments: ------------------------------------------------------------------------ [2021-06-14 09:10:02] git@php.net Automatic comment on behalf of krakjoe Revision: https://github.com/php/php-src/commit/a297c66cfbfecdeeee83d9a08e049839d8f34423 Log: Fix #81136 opcache header not installed, causing shared build to fail ------------------------------------------------------------------------ [2021-06-14 09:01:09] php-bugs-2021 at ryandesign dot com 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 this bug report at https://bugs.php.net/bug.php?id=81136&edit=1

« previous php.bugs (#234413) next »