From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 18:58:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF7B81065700 for ; Tue, 20 Apr 2010 18:58:33 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 898D28FC22 for ; Tue, 20 Apr 2010 18:58:33 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1O4IeS-000DC8-3b; Tue, 20 Apr 2010 14:58:31 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 74E7D3EB0CBB; Tue, 20 Apr 2010 14:58:28 -0400 (EDT) Message-ID: <4BCDF94A.2070302@FreeBSD.org> Date: Tue, 20 Apr 2010 14:58:18 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Joe Auty References: <20100419185300.55218.qmail@joyce.lan> <4BCCAA33.5040500@FreeBSD.org> <4BCCAE5E.2060407@netmusician.org> <4BCCB9EE.9030503@FreeBSD.org> <4BCDF7C9.9090303@netmusician.org> In-Reply-To: <4BCDF7C9.9090303@netmusician.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: John Levine , freebsd-questions@freebsd.org Subject: Re: Questions about port revision numbers, portsnap, csup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2010 18:58:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joe Auty wrote: > Greg Larkin wrote: >> Joe Auty wrote: >>> Greg Larkin wrote: >>>> John Levine wrote: >>>>> I have the same problem, recently upgraded to PHP 5.3.2 and Apache >>>>> was crashing whenever I tried to use a mediawiki page until I >> commented >>>>> out the apc library. (Apache is 2.0, Freebsd is still 7.0, if that >>>>> matters.) >>>>>> cd /usr/ports >>>>>> fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff >>>>>> patch < pecl-APC-3.1.3p1.diff >>>>> Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I >>>>> edited the patch to be www/ rather than devel/ at which point the >>>>> patch applied but make failed due to one of the other patches: >>>> Hi John, >>>> >>>> Sorry about that bit - I'll check my local development environment. >>>> >>>>> ===> Patching for pecl-APC-3.1.3.p1 >>>>> ===> Applying FreeBSD patches for pecl-APC-3.1.3.p1 >>>>> 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej >>>>> => Patch patch-apc_sem.c failed to apply cleanly. >>>>> *** Error code 1 >>>> Please run the other commands in my email to move those now-obsolete >>>> patch files out of the way: >>>> >>>> mkdir /usr/ports/devel/pecl-APC/files/save-patches >>>> mv /usr/ports/devel/pecl-APC/files/patch-* \ >>>> /usr/ports/devel/pecl-APC/files/save-patches >>>> >>>> Regards, >>>> Greg >>> I just did a search/replace of devel->www in Greg's patch... >>> It downloaded the beta, but I have compile errors now. Isn't pcre >>> supposed to be built into PHP 5.3 now? >>>> In file included from >> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: >>>> /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No >>>> such file or directory >>>> In file included from >> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: >>>> /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', >>>> ',', ';', 'asm' or '__attribute__' before '*' token >> Hi Joe, >> >> PCRE problems are very common after upgrading to 5.3.2. ale@ added an >> entry in /usr/ports/UPDATING that recommends uninstalling all >> PHP-related ports and recompiling, IIRC. That's the best way to clean >> out all remnants of the php5-pcre port. >> > > Yeah, I saw that notice and I've actually done this already... Perhaps I > missed something, although why would the older version compile before > applying this patch? Hi Joe, My apologies, I went down the wrong path while troubleshooting that error message. I later reproduced the same compiler error here and then committed a fix for it. If you refresh your ports tree again to get the latest version of www/pecl-APC, you should be all set. Let me know if you run into any problems after that. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLzflJ0sRouByUApARAqtGAJ0UPNqW0g83i/W9GEXjdu5RPEu+/gCdGR8a MBPUq23QNFsF2saB03HpKho= =a/iE -----END PGP SIGNATURE-----