Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 06:37:01 -0500
From:      Eric <heli@mikestammer.com>
To:        ports@freebsd.org
Subject:   Re: php5-pcre-5.2.1_4 was Re: FreeBSD Port: php5-5.2.1_3
Message-ID:  <45F68CDD.6020402@mikestammer.com>
In-Reply-To: <20070313081751.GA12929@lordcow.org>
References:  <45EDF2CF.2070807@clear-data.com> <45F5D0F6.8000306@abtime.de> <20070313081751.GA12929@lordcow.org>

next in thread | previous in thread | raw e-mail | index | archive | help
gareth wrote:
> On Mon 2007-03-12 (23:15), Andr? B?hm wrote: 
> i get exactly the same.
> 
> this's a bug report about related errors that i also get: http://bugs.php.net/bug.php?id=29914
> and it suggests using the 'bundled' as opposed to 'external PCRE lib'. that doesn't
> seem like the best way gto go about it, but how would you? i don't see any bundled
> PCRE 'make config' options in php5?
> _______________________________________________


this is what i spent 5 hours messing around with yesterday. heres how I 
got it to work:

edit /usr/ports/lang/php5/Makefile

add --with-pcre-regex to the bottom of CONFIGURE_ARGS:

CONFIGURE_ARGS= --enable-versioning \
         --with-layout=GNU \
         --with-config-file-scan-dir=${PREFIX}/etc/php \
         --disable-all \
         --enable-libxml \
         --with-libxml-dir=${LOCALBASE} \
         --enable-reflection \
         --program-prefix="" \
         --with-pcre-regex

reinstall php5 and php5-pcre

Now it works. Before phpinfo was showing pcre version 2.x and now it 
shows 6.7 which i believe is what is built into 5.2

This has been a painful change

Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F68CDD.6020402>