php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51957 unable to build filter-extension shared
Submitted: 2010-05-31 15:47 UTC Modified: 2010-12-20 15:27 UTC
From: rs at bytecamp dot net Assigned:
Status: Open Package: Filter related
PHP Version: 5.2.13 OS: FreeBSD 7.1-RELEASE-p11
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-05-31 15:47 UTC] rs at bytecamp dot net
Description:
------------
When compiling PHP from source, it is not possible to build the "filter" extension as a shared object:

./configure [...]
[...]
checking whether to enable input filter support... yes, shared
configure: error: 
You've configured extension filter to build statically, but it
depends on extension pcre, which you've configured to build shared.
You either need to build filter shared or build pcre statically for the
build to be successful.



Test script:
---------------
./configure \
        --prefix=/some/where --with-config-file-path=/some/where/etc \
        --disable-ipv6 \
        --enable-hash \
        --enable-bcmath=shared \
        --enable-libxml=shared --enable-xml=shared \
        --with-xmlrpc=shared \
        --enable-xmlreader=shared --enable-xmlwriter=shared \
        --enable-wddx=shared --with-xsl=shared \
        --with-openssl=shared \
        --with-imap=shared \
        --with-imap-ssl \
        --enable-ftp=shared \
        --with-zlib=shared --with-bz2=shared \
        --enable-calendar=shared \
        --enable-ctype=shared \
        --with-curl=shared \
        --enable-dba=shared \
        --enable-exif=shared \
        --with-pcre-regex=shared \
        --with-gd=shared \
        --enable-filter=shared \
        --with-png-dir \
        --with-jpeg-dir \
        --with-freetype-dir \
        --enable-gd-native-ttf \
        --with-gettext=shared \
        --with-mhash=shared \
        --with-iconv=shred \
        --enable-dom=shared \
        --enable-mbstring=shared \
        --with-mcrypt=shared \
        --enable-json=shared \
        --disable-mbregex \
        --with-mysql=shared \
        --with-mysqli=shared \
        --enable-pdo=shared --with-pdo-pgsql=shared --with-pdo-mysql=shared --with-pdo-sqlite=shared \
        --with-pgsql=shared \
        --enable-posix=shared \
        --with-pspell=shared \
        --enable-session \
        --enable-simplexml=shared \
        --enable-soap=shared \
        --enable-sockets=shared \
        --with-sqlite=shared \
        --enable-sqlite-utf8 \
        --enable-tokenizer=shared \



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-31 16:02 UTC] pajoye@php.net
-Status: Open +Status: To be documented
 [2010-05-31 16:02 UTC] pajoye@php.net
It can't and should not be build shared.
 [2010-05-31 16:09 UTC] rs at bytecamp dot net
If it shouldn't/can't be built shared, then does it mean, that I have to build pcre static too? Btw. in FreeBSD's ports collection, filter has always been a shared object and in PHP >=5.3 it can also be built shared without a problem.
 [2010-12-20 15:27 UTC] jani@php.net
-Package: *Compile Issues +Package: Filter related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Nov 15 17:01:42 2019 UTC