Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 15:09:00 +0800
From:      Vanilla Hsu <vanilla@fatpipi.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-questions@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: php5: php5-zip/php5-filter fail to upgrade after the portupdate of php5
Message-ID:  <j2kefb5f8191004160009i81a153c5z2d428d65852a28b8@mail.gmail.com>
In-Reply-To: <4BC809EB.2090207@zedat.fu-berlin.de>
References:  <4BC809EB.2090207@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
try to uninstall all php5-* ports, and reinstall again.
I guess there are some problem with old (php52) header files.

2010/4/16 O. Hartmann <ohartman@zedat.fu-berlin.de>

> Both with php5-filter and php5-zip I run into trouble.
>
> After php5 got updated (I followed steps located in ports/UPDATING, but I
> guess I  missed something) I can not upgrade the packages
>
> php5-zip
> php5-filter
>
> Both report an error in /usr/local/include/php/ext/pcre/php_pcre.h.
>
> I tried to move the above php_pcre.h to php_pcre.h.off with the success
> being unable to build anything. Reinstalling of ports pcre, phph5.5.X.X
> didn't result in success.
>
> What to do? Is there a remnant/old file/header out there?
>
>
> Thanks for the help.
>
> Regards,
>
> O. Hartmann
>
>
> ----
> In file included from
> /usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:30:
> /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/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:30:
> /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/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c: In function
> 'php_zip_pcre':
> /usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:602: error:
> 'pcre' undeclared (first use in this function)
> /usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:602: error:
> (Each undeclared identifier is reported only once
> /usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:602: error:
> for each function it appears in.)
> /usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:602: error:
> 're' undeclared (first use in this function)
> /usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:603: error:
> 'pcre_extra' undeclared (first use in this function)
> *** Error code 1
> 1 error
> *** Error code 1
>
> Stop in /usr/ports/archivers/php5-zip.
>
> ===>>> make failed for archivers/php5-zip
> ===>>> Aborting update
>
> --
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j2kefb5f8191004160009i81a153c5z2d428d65852a28b8>