Edit report at https://bugs.php.net/bug.php?id=65207&edit=1
ID: 65207
Comment by: sjnims at gmail dot com
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:
I've tried on PHP-5.5.10 and -5.5.9 with libmcrypt-2.5.8 with no success. I have confirmed that
removing "--with-mcrypt..." allows configure to complete successfully. It should be noted
that I am doing this on Heroku.
My libmcrypt configure directives:
./configure --prefix=/app/vendor/mcrypt \
--disable-posix-threads \
--enable-dynamic-loading
My PHP configure directives:
./configure --prefix=/app/vendor/php \
--with-mysqli \
--with-gd \
--with-curl=/usr/lib \
--with-config-file-path=/app/vendor/php \
--with-openssl \
--enable-fpm \
--with-zlib \
--enable-mbstring \
--disable-debug \
--disable-rpath \
--enable-gd-native-ttf \
--enable-inline-optimization \
--with-bz2 \
--with-mhash \
--enable-zip \
--with-gettext \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--enable-exif \
--enable-bcmath \
--enable-calendar \
--enable-sockets \
--with-xmlrpc \
--with-mcrypt=/app/vendor/mcrypt \
--without-pdo-sqlite \
--without-sqlite3
Previous Comments:
------------------------------------------------------------------------
[2014-02-06 21:04:53] stadtkind2 at gmx dot de
Bug seems to be gone in PHP 5.5.9. Compiling with '--enable-opcache' works fine, loading
the module in php.ini + opcache.enable=1 works as well. phpinfo() confirms that opcache is up and
running.
Tested with Solaris 11.1 x86/amd64 + Solaris Studio 12.3
------------------------------------------------------------------------
[2013-11-14 17:54:35] jdahan80 at gmail dot com
I had the same problem trying to compile in CentOS 6.4.
I needed to install libtool-ltdl-devel and then the problem went away.
------------------------------------------------------------------------
[2013-10-04 20:47:44] reh at hebis dot uni-frankfurt dot de
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. :-(
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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