Bug #80386 [Opn]: Configure with opcache enabled fails

From: Date: Fri, 20 Nov 2020 10:14:00 +0000
Subject: Bug #80386 [Opn]: Configure with opcache enabled fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230473@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80386&edit=1

 ID:                 80386
 Updated by:         nikic@php.net
 Reported by:        oliver at erply dot com
 Summary:            Configure with opcache enabled fails
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Centos 7
 PHP Version:        8.0.0RC5
 Block user comment: N
 Private report:     N

 New Comment:

Could you please share more of the configure log? There should at least be some kind of error
message at the end.


Previous Comments:
------------------------------------------------------------------------
[2020-11-20 10:07:48] oliver at erply dot com

Description:
------------
I am trying to compile a package with PHP 8 RC5. 
However when I am using the ./configure with --enable-opcache compiling fails.

Test script:
---------------
/configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu 
--prefix=/opt/ews-24-80/php --libdir=/opt/ews-24-80/php/lib64 
--with-config-file-path=/usr/local/etc/ews-24-80/php 
--with-apxs2=/opt/ews-24-80/apache2/bin/apxs 
--with-openssl --with-libxml-dir --with-pcre-regex --with-zlib 
--enable-bcmath --with-bz2 --enable-calendar 
--with-curl=/opt/ews-24-80/curl --enable-dba  --with-gd --enable-exif 
--with-jpeg-dir --with-png-dir --with-xpm-dir 
--with-freetype-dir --with-gettext --enable-intl --enable-mbstring 
--with-mysqli=/opt/ews-24-80/mysql/bin/mysql_config 
--with-pdo-mysql=/opt/ews-24-80/mysql --enable-shmop --with-zlib-dir 
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-soap --enable-wddx 
--with-xsl --enable-zip --with-libdir=lib64 --with-kerberos --with-mhash 
--enable-opcache --with-libzip=/opt/ews-24-80/libzip --with-tidy

Expected result:
----------------
It should finish with success.

Actual result:
--------------
checking whether to enable Zend OPcache support... yes
checking whether to enable copying PHP CODE pages into HUGE PAGES... yes
checking whether to enable JIT... yes
checking for opagent in default path... not found
checking for mprotect... no
checking for sysvipc shared memory support... no
checking for mmap() using MAP_ANON shared memory support... no=yes
checking for shm_open in -lrt... no
checking for __shm_open in -lrt... no
checking for shm_open in -lroot... no
checking for __shm_open in -lroot... no
checking for mmap() using shm_open() shared memory support... no


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80386&edit=1


Thread (9 messages)

« previous php.bugs (#230473) next »