From:             reh at hebis dot uni-frankfurt dot de
Operating system: Solaris / Illumos
PHP version:      5.5.0
Package:          Compile Failure
Bug Type:         Bug
Bug description:OPCache can't be compiled with SolarisStudio 

Description:
------------
Configure tries to define a macro for the os dependent structure of flock.
(lines 64988 to 65007)
Using solarisstudio 12.3 as compiler, non of the pattern matches and
configure suggests to disable OPCache
Not really knowing what I'm doing, I tried to patch the line 64991
>From "# elif defined(__svr4__)" 
to   "# elif defined(__svr4__) || defined(__SVR4)"
This workaround is poor I know, but it seems to work, configure generates
the Makefiles. 
The same construct can be found in ext/opcache/ZendAccelerator.h and for me
it looks like that there were some other smells in the opcache package.
Make still fails.



Test script:
---------------
Configure itself

Actual result:
--------------
Configure:
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=65207&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65207&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65207&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=65207&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65207&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65207&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65207&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65207&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65207&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65207&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65207&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=65207&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=65207&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65207&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65207&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65207&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65207&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65207&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65207&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65207&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65207&r=mysqlcfg

Reply via email to