Questions about port revision numbers, portsnap, csup
Joe Auty
joe at netmusician.org
Tue Apr 20 18:52:01 UTC 2010
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?
> Regards,
> Greg
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
joe at netmusician.org <mailto:joe at netmusician.org>
More information about the freebsd-questions
mailing list