From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 11:45:53 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 C1D62106564A for ; Mon, 12 Apr 2010 11:45:53 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 401AF8FC18 for ; Mon, 12 Apr 2010 11:45:52 +0000 (UTC) Received: by bwz8 with SMTP id 8so2894707bwz.3 for ; Mon, 12 Apr 2010 04:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=Q7SHwMG0xZEax9gYLu3eCl92oWYtsaY/SGcrjrRXYQY=; b=HW58CuNN/th3gemXyVGpbfsGAgcoTp1KMSRuTVrHC2+UgD5tLIZRJUGpBxjFe4+dPK I0ozHeYaMPqyr5X0E+r7dvFUomwJ4CoLVTUYhRjITrKSTOOmmvpYMJEdUrpSszQFVJrI ZlxOrFSJH33wjjdmqopj4icgXRT3fUumJa+ko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dKQm0WfdYChQ4JNdIDLXucI2W6x5fHg0b7FhGIt8eJq/s2Ew2oK/Z/sIJFOCjXn8WL hLD6ny6v0cv3ta2YlWNHdr2z2Ia0QQsatxaCRfjj1bjS6z1KsunNzz6aLgGkjGp2tsL3 hQeYXDVkPISxPPJ0gXTpVwmih5ZpDdXYwAdnc= MIME-Version: 1.0 Received: by 10.204.163.131 with HTTP; Mon, 12 Apr 2010 04:45:50 -0700 (PDT) Date: Mon, 12 Apr 2010 13:45:50 +0200 Received: by 10.204.2.210 with SMTP id 18mr4769203bkk.15.1271072750578; Mon, 12 Apr 2010 04:45:50 -0700 (PDT) Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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:45:53 -0000 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.