Bug #65423 [NEW]: Configure error with opcache and mcrypt
| From: | vasilis at vatsos dot gr | Date: | Fri, 09 Aug 2013 07:06:20 +0000 |
| Subject: | Bug #65423 [NEW]: Configure error with opcache and mcrypt | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-180809@lists.php.net to get a copy of this message | ||
From: vasilis at vatsos dot gr
Operating system: CentOS release 6.2 (Final)
PHP version: 5.5.1
Package: Compile Failure
Bug Type: Bug
Bug description:Configure error with opcache and mcrypt
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'
'--with-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 bug report at https://bugs.php.net/bug.php?id=65423&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65423&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65423&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65423&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65423&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65423&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65423&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65423&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65423&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65423&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65423&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65423&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65423&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65423&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65423&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65423&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65423&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65423&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65423&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65423&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65423&r=mysqlcfg