no builtin shared memory supported
chaosue opened this issue · comments
cannot be built statically, but built as a "so" is ok.
php-7.2.1 静态编译报错
In file included from /root/huruihang-php-src/tmp/ext/php-ext-yac/storage/allocator/allocators/shm.c:20:0:
ext/php-ext-yac/storage/allocator/yac_allocator.h:46:2: 错误:#error (no builtin shared memory supported)
#error(no builtin shared memory supported)
^~~~~
make: *** [Makefile:1303:ext/php-ext-yac/storage/allocator/allocators/shm.lo] 错误 1
./configure
--disable-cgi --disable-phpdbg --disable-phar --disable-short-tags
--without-pear --without-sqlite3 --without-pdo-sqlite --without-iconv
--with-curl --with-openssl --with-pdo-mysql --with-libzip --with-zlib --with-swoole --with-jemalloc-dir=jemalloc
--enable-bcmath --enable-sockets --enable-openssl --enable-mbstring --enable-mysqlnd --enable-zip
--enable-redis --enable-phpiredis --enable-hprose --enable-thrift_protocol --enable-yac --enable-yaconf
--enable-swoole-static --enable-async-redis --enable-coroutine