[oe] release-2010.12: PHP build issues

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Thu Dec 2 12:53:31 UTC 2010


2010/12/2 Pierluigi Passaro <pierluigi.passaro at phoenixsoftware.it>:
> Hi all,
> I still have problem compiling PHP 5.2.13 with release-2010.12 branch.
>
> I fixed the problem with the following patch regarding iconv option. Can
> anyone confirm the issue?
>
> Thanks
> Regards
> Pierluigi
>
> --- a/recipes/php/php_5.2.13.bb
> +++ b/recipes/php/php_5.2.13.bb
> @@ -21,7 +21,7 @@ export LIBS=" -lpthread "
>
> EXTRA_OECONF = "    --enable-mbstring \
>                    --enable-discard-path \
> -                    --disable-iconv \
> +                    --without-iconv \
>                    --enable-sockets \
>                    --enable-shared \
>                    --enable-pcntl \
>
> --
> Ing. Pierluigi Passaro
> Via Pasqualigo 31
> 30174 Venezia Mestre
> Cel: +39 348 355 4119
> Tel: +39 041 862 3373
> Fax: +39 041 862 3173
> Web: www.phoenixsoftware.it
> P.IVA 03884060272

Pierluigi,

This indeed fixes the build problem.
The disable has been a mistake at my side.
A better solution is to merge
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=fa117e417c1f2277c9c0fff0367edb678ea0d844
into the release version.
This fixes the problem and adds iconv support (which is needed by some
other recipes).

Anyway either your patch or my git patch above needs to be applied.

Frans. (who spent quite some time debugging php configure to find the
cause iconv support was not working properly)




More information about the Openembedded-devel mailing list