Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37749 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49705 invoked from network); 20 May 2008 15:51:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 May 2008 15:51:11 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.227 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.227 rv-out-0506.google.com Received: from [209.85.198.227] ([209.85.198.227:50886] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/15-32249-D63F2384 for ; Tue, 20 May 2008 11:51:10 -0400 Received: by rv-out-0506.google.com with SMTP id g37so1925763rvb.23 for ; Tue, 20 May 2008 08:51:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=esl8zrYwkqnxU6ApdhorUBLmzYTRNIJf3XHt9L6oVZk=; b=u6Mq1+dr9NbVif56LQgCh/SEY7d5pdV2gBXwusyZqp7j3fwgBXFfZTo8YVcvtO/y1PQvGcXv1lpsEcc5YU5A2/5+np81tL02LiO5msJS8GWUuc7927PkbQGmVVacDTKpTo8vk4BJB+QWPJWDo2OLLJIhyf3T2A6Ll1R+h8f8xhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JvdBeghJ+Q4aXcfr/JYykNPjQy3hK0Pt3Pj+1H3vcwE6xDeAVZAdMHluHzgNBkcqdL83Nv912frK1wXKr/itT39FqNSO4NLtrI9AEVXfZtfSrR08o4VUlcG8Cqg56HiAT/LbOWddmqpmHIpAWfam5a9nVhuKn7gcM1M1ltY2hX0= Received: by 10.140.82.40 with SMTP id f40mr4524240rvb.16.1211298666912; Tue, 20 May 2008 08:51:06 -0700 (PDT) Received: by 10.141.123.13 with HTTP; Tue, 20 May 2008 08:51:06 -0700 (PDT) Message-ID: Date: Tue, 20 May 2008 17:51:06 +0200 To: "Hector Santos" Cc: "Steph Fox" , internals , "Elizabeth M Smith" In-Reply-To: <4832F125.2040704@isdg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4832DDC5.7060307@isdg.net> <014f01c8ba86$9ec2ce10$4401a8c0@foxbox> <4832F125.2040704@isdg.net> Subject: Re: [PHP-DEV] Re: --with-ereg From: pierre.php@gmail.com ("Pierre Joye") hi Hector, On Tue, May 20, 2008 at 5:41 PM, Hector Santos wrote: > Steph Fox wrote: >>> >>> For PHP 5.3, you get browscap.obj linking errors. I don't understand >>> what ereg does, but I found I had to add the option: >>> >>> --with-ereg >>> >>> >>> Is this option a new required minimal build option that should be forced? >>> > >> 'This ereg stuff' is important, in that it supports legacy code... it >> moved from ext/standard to ext/ereg in 5_3 in the vague hope that it might >> be possible to move it out to PECL some day. But whoever did it obviously >> missed a bit. >> >> Again, though... you're seeing errors I don't see. > > ok, thats good. > > So just to confirm (to avoid goose chasing ) you are saying you tried the > minimal build options: > > --disable-all > --enable-cli > --enable-cgi > --enable-object-out-dir=. > --disable-ipv6. > > and the current PHP 5.3 CVS built correctly, without errors? No. As Liz and I said earlier, there is a problem in the browscap.c code. The ereg usage has to be replaced by pcre (browser_name_pattern, browser_name_regex management). Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org