From owner-freebsd-ports@FreeBSD.ORG Tue Mar 13 12:03:45 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB04E16A403 for ; Tue, 13 Mar 2007 12:03:45 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from smtp107.sbc.mail.mud.yahoo.com (smtp107.sbc.mail.mud.yahoo.com [68.142.198.206]) by mx1.freebsd.org (Postfix) with SMTP id 6F31D13C4AD for ; Tue, 13 Mar 2007 12:03:45 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: (qmail 61372 invoked from network); 13 Mar 2007 11:37:05 -0000 Received: from unknown (HELO mail.mikestammer.com) (mikestammer@sbcglobal.net@71.147.32.49 with login) by smtp107.sbc.mail.mud.yahoo.com with SMTP; 13 Mar 2007 11:37:04 -0000 X-YMail-OSG: c4HTdl8VM1mP9AvSGUuMvX3swwS2w0bQR4G1uJwbf7Rh1aoWyi3OnE0n5LfWGrDdml_ONcinIHAYV0YZIrh.CHleWdlHEhrl1wk0veRgXsBFUgMTJEHvQG0Kiw306WicW1aGzUwPlbAo8iw- Received: from localhost (localhost [127.0.0.1]) by mail.mikestammer.com (Postfix) with ESMTP id 405971146C for ; Tue, 13 Mar 2007 06:37:04 -0500 (CDT) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from mail.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RsHa3oSbd-Lt for ; Tue, 13 Mar 2007 05:37:02 -0600 (CST) Received: from [IPv6:::1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by mail.mikestammer.com (Postfix) with ESMTP id BDBC011469 for ; Tue, 13 Mar 2007 06:37:02 -0500 (CDT) Message-ID: <45F68CDD.6020402@mikestammer.com> Date: Tue, 13 Mar 2007 06:37:01 -0500 From: Eric User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: ports@freebsd.org References: <45EDF2CF.2070807@clear-data.com> <45F5D0F6.8000306@abtime.de> <20070313081751.GA12929@lordcow.org> In-Reply-To: <20070313081751.GA12929@lordcow.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: php5-pcre-5.2.1_4 was Re: FreeBSD Port: php5-5.2.1_3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2007 12:03:45 -0000 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