Edit report at https://bugs.php.net/bug.php?id=65423&edit=1
ID: 65423 Updated by: johan...@php.net Reported by: vasilis at vatsos dot gr Summary: Configure error with opcache and mcrypt -Status: Open +Status: Feedback Type: Bug Package: Compile Failure Operating System: CentOS release 6.2 (Final) PHP Version: 5.5.1 Block user comment: N Private report: N New Comment: I can't reproduce locally. Please check your config.log file. Somewhere towards the end (above the loooong list of variable declarations) there should be a some line with "checking for known struct flock definition" and then a small C program, the way it was compiled and a more verbose error message. Please provide this. Previous Comments: ------------------------------------------------------------------------ [2013-08-09 07:06:19] vasilis at vatsos dot gr Description: ------------ When you try to configure php with mcrypt, i get the "Don't know how to define struct flock on this system". If i remove it, if finishes ok Test script: --------------- ./configure '--with-libdir=lib64' '--cache-file=../config.cache' '--prefix=/usr/local/php551' '--with-config-file-path=/usr/local/php551/etc' '--disable-debug' '--with-pic' '--disable-rpath' '--enable-fastcgi' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr/local/php551' '--with-png-dir=/usr/local/php551' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr/local/php551' '--with-openssl' '--with-pspell' '--with-pcre-regex' '--with-zlib' '--enable-exif' '--enable-ftp' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--with-unixODBC=/usr' '--enable-shmop' '--enable-calendar' '--without-sqlite3' '--with-libxml-dir=/usr/local/php551' '--enable-pcntl' '--with-imap' '--with-imap-ssl' '--enable-mbstring' '--enable-mbregex' '--with-gd' '--enable-bcmath' '--with-xmlrpc' '--with-ldap' '--with-ldap-sasl' '--with-mysql=/usr' '--with-mysqli' '--with-snmp' '--enable-soap' '--w ith-xsl' '--enable-xmlreader' '--enable-xmlwriter' '--enable-pdo' '--with-pdo-mysql' '--with-pdo-pgsql' '--with-pear=/usr/local/php551/pear' '--with-mcrypt' '--enable-intl' '--without-pdo-sqlite' '--with-config-file-scan-dir=/usr/local/php551/php.d' Expected result: ---------------- To finish configure Actual result: -------------- checking for mmap() using MAP_ANON shared memory support... no checking for mmap() using /dev/zero shared memory support... no checking for mmap() using shm_open() shared memory support... no checking for mmap() using regular file shared memory support... no checking for known struct flock definition... configure: error: Don't know how to define struct flock on this system, set --enable-opcache=no ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65423&edit=1