From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 19:26:30 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 BCDB61065675; Mon, 19 Apr 2010 19:26:30 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from mail.netmusician.org (dorian.netmusician.org [66.244.95.101]) by mx1.freebsd.org (Postfix) with ESMTP id 81D7B8FC21; Mon, 19 Apr 2010 19:26:30 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by mail.netmusician.org (Postfix) with ESMTP id A31E9B91F; Mon, 19 Apr 2010 15:26:29 -0400 (EDT) X-Virus-Scanned: amavisd-new at netmusician.org Received: from mail.netmusician.org ([127.0.0.1]) by localhost (dorian.netmusician.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4YorXJ3F+wPs; Mon, 19 Apr 2010 15:26:29 -0400 (EDT) Received: from Shakti.local (c-67-176-145-181.hsd1.in.comcast.net [67.176.145.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.netmusician.org (Postfix) with ESMTPSA id ABC38B8F1; Mon, 19 Apr 2010 15:26:28 -0400 (EDT) Message-ID: <4BCCAE5E.2060407@netmusician.org> Date: Mon, 19 Apr 2010 15:26:22 -0400 From: Joe Auty User-Agent: Postbox 1.1.4 (Macintosh/20100408) MIME-Version: 1.0 To: glarkin@FreeBSD.org References: <20100419185300.55218.qmail@joyce.lan> <4BCCAA33.5040500@FreeBSD.org> In-Reply-To: <4BCCAA33.5040500@FreeBSD.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2010 19:26:30 -0000 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 > /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', > ',', ';', 'asm' or '__attribute__' before '*' token > /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected > specifier-qualifier-list before 'pcre' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:368: error: expected > specifier-qualifier-list before 'pcre' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c: In function > 'apc_regex_compile_array': > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:429: error: 'apc_regex' > has no member named 'preg' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:429: error: 'apc_regex' > has no member named 'preg' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:430: error: 'apc_regex' > has no member named 'nreg' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:430: error: 'apc_regex' > has no member named 'nreg' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c: In function > 'apc_regex_match_array': > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:462: error: 'apc_regex' > has no member named 'preg' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:462: error: 'apc_regex' > has no member named 'preg' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:463: error: 'apc_regex' > has no member named 'nreg' > /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:463: error: 'apc_regex' > has no member named 'nreg' > *** Error code 1 > > Stop in /usr/ports/www/pecl-APC/work/APC-3.1.3p1. > *** Error code 1 > > Stop in /usr/ports/www/pecl-APC. > *** Error code 1 > > Stop in /usr/ports/www/pecl-APC. Feel free to change the subject of this message if that would be appropriate... I did notice the full PHP 5.3 support in APC 3.1.3, but I figured that the "initial support" in 3.0.19 was sufficient. I was obviously wrong! http://pecl.php.net/package-changelog.php?package=APC