Edit report at https://bugs.php.net/bug.php?id=65207&edit=1
ID: 65207 User updated by: reh at hebis dot uni-frankfurt dot de Reported by: reh at hebis dot uni-frankfurt dot de Summary: OPCache can't be compiled with SolarisStudio Status: Open Type: Bug Package: Compile Failure Operating System: Solaris / Illumos PHP Version: 5.5.0 Block user comment: N Private report: N New Comment: Sorry, but I can't provide a patch. My solution from the first post is roughly a workaround, to get the code compiled. But 'make test' still fails. My skills as c-programmer are too poor, to understand the system librarys in detail. :-( Previous Comments: ------------------------------------------------------------------------ [2013-09-16 16:17:38] skrueger at europe dot com Guys, since you already got it working, how about providing a patch? ------------------------------------------------------------------------ [2013-07-20 10:29:12] reh at hebis dot uni-frankfurt dot de For me it looks like two probs. 1. Lineterminators 2. Flock library Both seems to be tested only with GCC (1) and GLIBC (2) which is likely standard on most linux systems. It is just a question of the portability of the code. ------------------------------------------------------------------------ [2013-07-20 03:11:25] lj2007331 at gmail dot com I tested many times. Influence and Linux OS version. CentOS 5 32/64bit and CentOS 6 64bit has been passed, but CentOS 6 32bit ./configure error: checking for known struct flock definition... configure: error: Don't know how to define struct flock on this system, set --enable-opcache=no ------------------------------------------------------------------------ [2013-07-20 00:00:55] yohg...@php.net > checking for known struct flock definition... configure: error: Don't know > how to define struct flock on this system, I don't have this problem with my Scientific Linux 6.4. ------------------------------------------------------------------------ [2013-07-19 05:20:51] lj2007331 at gmail dot com PHP Version:5.5.0 and 5.5.1 OS:CentOS release 6.4 (Final) Kernel: 2.6.32-358.6.2.el6.i686 Error: 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 make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=65207 -- Edit this bug report at https://bugs.php.net/bug.php?id=65207&edit=1