#39724 [Opn->Fbk]: Build php cli is broken
| From: | iliaa@php.net | Date: | Mon, 04 Dec 2006 17:33:12 +0000 |
| Subject: | #39724 [Opn->Fbk]: Build php cli is broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105899@lists.php.net to get a copy of this message | ||
ID: 39724
Updated by: iliaa@php.net
Reported By: elkner at cs dot uni-magdeburg dot de
-Status: Open
+Status: Feedback
Bug Type: PCRE related
Operating System: Linux
PHP Version: 5.2.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
If the snapshot does not work, could you please try compiling
pcre as a non-shared extension and see if that makes it work.
Previous Comments:
------------------------------------------------------------------------
[2006-12-04 05:40:29] elkner at cs dot uni-magdeburg dot de
Description:
------------
The cli build is broken because of a missing pcre.lo
Reproduce code:
---------------
./configure \
--prefix=${PROTO}/opt/php \
--disable-static \
--enable-shared \
\
--enable-cli \
--disable-cgi \
--enable-discard-path \
--enable-path-info-check \
\
--enable-debug \
--enable-safe-mode \
--enable-magic-quotes \
--disable-rpath \
--enable-short-tags \
--disable-ipv6 \
\
--enable-libxml \
--enable-bcmath=shared \
--enable-calendar=shared \
--enable-ctype=shared \
--enable-dba=shared \
--enable-dbase=shared \
--enable-dom=shared \
--enable-exif=shared \
--enable-filepro=shared \
--enable-filter=shared \
--enable-ftp=shared \
--enable-gd-native-ttf=shared \
--enable-gd-jis-conv=shared \
--enable-hash=shared \
--enable-json=shared \
--enable-mbstring=shared \
--enable-mbregex=shared \
--enable-embedded-mysqli=no \
--enable-pdo=shared \
--enable-posix=shared \
--enable-reflection=shared \
--enable-session=shared \
--enable-shmop=shared \
--enable-shared=simplexml \
--enable-soap=shared \
--enable-sockets=shared \
--enable-spl=shared \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-tokenizer=shared \
--disable-wddx \
--enable-xml=shared \
--enable-xmlreader=shared \
--enable-xmlwriter=shared \
--enable-zip=shared \
\
--enable-inline-optimization \
--enable-memory-limit \
--enable-zend-multibyte \
\
--with-apxs2=${ROOT4BUILD}/${APACI_BASE}/bin/apxs \
--with-config-file-path=/etc \
--with-exec-dir \
--with-libxml-dir=${ROOT4BUILD}/usr \
--with-openssl=shared,${ROOT4BUILD}/usr \
--with-openssl-dir=${ROOT4BUILD}/usr \
--with-zlib=shared,${ROOT4BUILD}/usr \
--with-zlib-dir=${ROOT4BUILD}/usr \
--with-bz2=shared,${ROOT4BUILD}/usr \
--without-cpdflib \
--with-jpeg-dir=${ROOT4BUILD}/usr \
--with-tiff-dir=${ROOT4BUILD}/usr \
--without-curl \
--without-curl-wrappers \
--without-qdbm \
--with-gdbm=${ROOT4BUILD}/usr \
--with-db4=${ROOT4BUILD}/usr \
--with-inifile \
--with-flatfile \
--with-fam=shared \
--with-gd=shared \
--with-png-dir=${ROOT4BUILD}/usr \
--with-xpm-dir=${ROOT4BUILD}/usr \
--without-ttf \
--with-freetype-dir=${ROOT4BUILD}/usr \
--with-t1lib=${ROOT4BUILD}/usr \
--with-gettext=shared,/usr \
--without-gmp \
--with-iconv=shared \
--without-imap \
--without-mime-magic \
--with-mysql=shared,${ROOT4BUILD}/usr \
--with-mysql-sock=/var/run/mysql.sock \
--with-pdo-mysql=shared,${ROOT4BUILD}/usr \
--without-pdo-sqlite \
--with-ncurses=shared,${ROOT4BUILD}/usr \
--with-pcre-regex=shared,${ROOT4BUILD}/usr \
--without-sqlite \
--without-readline \
--without-pear \
--with-regex=php \
--with-xsl=shared,${ROOT4BUILD}/usr \
\
--enable-dbx=shared \
--enable-dio=shared \
--enable-maintainer-zts
Expected result:
----------------
sapi/cli/php
Actual result:
--------------
ext/filter/.libs/logical_filters.o(.text+0x11bf): In function
`php_filter_validate_regexp':
/export/scratch/build/php-5.2.0/ext/filter/logical_filters.c:463:
undefined reference to `pcre_get_compiled_regex'
ext/filter/.libs/logical_filters.o(.text+0x1439): In function
`php_filter_validate_email':
/export/scratch/build/php-5.2.0/ext/filter/logical_filters.c:512:
undefined reference to `pcre_get_compiled_regex'
ext/spl/.libs/spl_iterators.o(.text+0x26e7): In function
`spl_dual_it_construct':
/export/scratch/build/php-5.2.0/ext/spl/spl_iterators.c:1014: undefined
reference to `pcre_get_compiled_regex_cache'
ext/spl/.libs/spl_iterators.o(.text+0x3878): In function
`zim_spl_RegexIterator_accept':
/export/scratch/build/php-5.2.0/ext/spl/spl_iterators.c:1421: undefined
reference to `php_pcre_match_impl'
ext/spl/.libs/spl_iterators.o(.text+0x399c):/export/scratch/build/php-5.2.0/ext/spl/spl_iterators.c:1434:
undefined reference to `php_pcre_split_impl'
ext/spl/.libs/spl_iterators.o(.text+0x3a49):/export/scratch/build/php-5.2.0/ext/spl/spl_iterators.c:1441:
undefined reference to `php_pcre_replace_impl'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39724&edit=1