From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 11:49:46 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 4200C106564A for ; Mon, 12 Apr 2010 11:49:46 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id ED33F8FC1E for ; Mon, 12 Apr 2010 11:49:45 +0000 (UTC) Received: by qyk11 with SMTP id 11so4736728qyk.13 for ; Mon, 12 Apr 2010 04:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type; bh=CnDgIa4avF45BgPHphcZsoL42gZCfhqitgxnOvgODdE=; b=uGjZT1xqM6+jf7j1oK9ke+a1fCKsPjnWtmrKvh7cEB7ENbLIjU05xH0R1HS1s8qP4P 4lqHmL7f1S2uWZki1iUepN5IaTKwrXKfrIFDGgMIlO0Gp85dOA4c1ZdbI8YiEHDV4Cc8 ZDRQXOLvuoYMV6BVtkkHKElTIOYB/RR/5Vp+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=N5xtalsNm/dci8wjwF5bWarJsUICXErhsXXpq5fAOE8hBT/MmBUCYCCCqSDyGhpktN WjEFZa4BMavv/h6wBl64/PohYwrw9rCwVMV8PXwFGwpfMFWrrPYTTe5waKRzFurn8Rp2 hDCO6m6HzPLZQVpK05Q0NEB6fltL7pR41imGs= MIME-Version: 1.0 Received: by 10.229.85.21 with HTTP; Mon, 12 Apr 2010 04:49:25 -0700 (PDT) In-Reply-To: References: From: Amitabh Kant Date: Mon, 12 Apr 2010 17:19:25 +0530 Received: by 10.229.191.18 with SMTP id dk18mr295702qcb.9.1271072985140; Mon, 12 Apr 2010 04:49:45 -0700 (PDT) Message-ID: To: n dhert Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: pgp5-filter-5.3.2, php5-imap-5.3.2, php-extensions-1.4 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, 12 Apr 2010 11:49:46 -0000 On Mon, Apr 12, 2010 at 5:15 PM, n dhert wrote: > There have been several updates to php, php-extensions and php5-* > My php is now 5.3.2, most of my php5-* also 5.3.2, but > a portupgrade didn't want to upgrade php5-filter and php-imap (errors) > of php-extensions. They stayed version 5.2.12, 5.2.12 and 1.3 respectively. > I did > # pkg_delete -f php5-filter-5.2.12 > # pkg_delete -f php5-imap-5.2.12 > # pkg_delete -f php_extensions-1.3 > and several pkgdb -F until it reported everything OK > > Yet still, I can't compile php5-filter-5.3.2, nor php5-imap-5.3.2 or > php-extensions-1.4 (which > depends on these) > > How to fix it? > > This is what I get > ----- > cc -I. -I/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter > -DPHP_ATOM_IN > C -I/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/include > -I/usr/por > ts/security/php5-filter/work/php-5.3.2/ext/filter/main > -I/usr/ports/security/php > 5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php > -I/usr/local/include > /php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend > -I/usr/loc > al/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H > -O2 > -pi > pe -fno-strict-aliasing -c > /usr/ports/security/php5-filter/work/php-5.3.2/ext/fi > lter/logical_filters.c -fPIC -DPIC -o .libs/logical_filters.o > In file included from > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/ > logical_filters.c:25: > /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/security/php5-filter/work/php-5.3.2/ext/filter/ > logical_filters.c:25: > /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', > ';', 'a > sm' or '__attribute__' before '*' token > /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',', > ';', 'a > sm' or '__attribute__' before '*' token > /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected > specifier-qualifi > er-list before 'pcre' > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c: > In > function 'php_filter_validate_regexp': > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: > error: 'pcre' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: > error: (Each undeclared identifier is reported only once > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: > error: for each function it appears in.) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: > error: 're' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413: > error: 'pcre_extra' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c: > In > function 'php_filter_validate_email': > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500: > error: 'pcre' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500: > error: 're' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501: > error: 'pcre_extra' undeclared (first use in this function) > *** Error code 1 > 1 error > *** Error code 1 > Stop in /usr/ports/security/php5-filter. > If I am not wrong, php5-filter has been removed as it now forms part of the code PHP. You can confirm by checking /usr/ports/Updating file. With regards Amitabh Kant