hi all,
i've been building/using php503 on OSX10.3.x for awhile with no problems.
after recently updating to php504 on OSX10.4.1, i can get a successful
build/install with my ususal cofig (shown below), EXCEPT for the inclusion of
an EXTERNAL pcre v50.
with a config of:
./configure \
--disable-debug \
--prefix=/usr/local/php5 --with-layout=PHP \
--with-config-file-path=/var/Settings/PHP5 \
--sysconfdir=/var/Settings/PHP5 \
--with-pgsql=/usr/local/pgsql \
--with-db4=/usr/local/berkeley-db \
--with-mnogosearch=/usr/local/mnogosearch \
--with-apxs2=/usr/local/apache2/sbin/apxs \
--localstatedir=/var/Process \
--mandir=/var/Documentation/man \
--libdir=/usr/local/php_libs \
--with-pear=/usr/local/php_libs \
--enable-shared --disable-static \
--enable-cli \
--disable-cgi \
--disable-dmalloc \
--with-tsrm-pthreads \
--enable-shmop --enable-sockets \
--enable-inline-optimization \
--enable-xml --enable-libxml --with-libxml-dir=/usr/local \
--with-java=/Library/Java/Home \
--with-openssl=/usr/local/ssl --with-openssl-dir=/usr/local/ssl \
--with-zlib --with-zlib-dir=/usr/local \
--with-imap=/usr/local/imap --enable-mailparse \
--with-imap-ssl=/usr/local/ssl \
--with-mcrypt --with-mhash=/usr/local \
--without-gmp \
--with-gettext=/usr/local \
--with-gd=/usr/local/gd \
--with-png-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--with-tiff-dir=/usr/local \
--enable-magic-quotes \
--enable-calendar \
--with-kerberos=/usr \
--with-freetype-dir=/usr/X11R6 \
--with-xpm-dir=/usr/X11R6 \
--enable-exif \
--enable-ftp \
--enable-bcmath \
--enable-mbstring \
--enable-dio \
--enable-session \
--enable-soap \
--without-snmp \
--with-readline=/usr/local/lib \
--without-cyrus \
--with-pcre-regex
all's well & good.
but, with the SAME config, except for:
...
--with-pcre-regex=/usr/local/pcre50
'make' is still OK, but 'make install' fails with:
Installing PEAR environment: /usr/local/php_libs/
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Config.php on line 624
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Registry.php on line 107
...
/usr/ports/php-5.0.4/pear/PEAR/Registry.php on line 107
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Frontend/CLI.php on line 54
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Frontend/CLI.php on line 57
[PEAR] Archive_Tar - already installed: 1.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] PEAR - already installed: 1.3.5
Wrote PEAR system config file at: /var/Settings/PHP5/pear.conf
You may want to add: /usr/local/php_libs to your php.ini include_path
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Config.php on line 624
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Registry.php on line 107
...
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Registry.php on line 107
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Frontend/CLI.php on line 54
Warning: preg_match: internal pcre_fullinfo() error -3 in
/usr/ports/php-5.0.4/pear/PEAR/Frontend/CLI.php on line 57
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] XML_RPC - already installed: 1.2.2
Installing build environment: /usr/local/php5/lib/php/build/
Installing header files: /usr/local/php5/include/php/
Installing helper programs: /usr/local/php5/bin/
program: phpize
program: php-config
program: phpextdist
and subsequent attempts to install PEAR mods are met with the same preg_match
errors.
again, on OSX 10.3.9+php503, using external pcre-regex --> v50 was fine ...
there were some OLD discussions where these warnings/errors cropped up:
http://bugs.php.net/bug.php?id=29914
but it's not clear to me the issue's the same ...
suggestions?
richard