[oe] [meta-oe] [PATCH] postgresql configure error

Martin Jansa martin.jansa at gmail.com
Wed Jul 16 15:26:57 UTC 2014


On Wed, Jul 16, 2014 at 10:59:28AM -0400, Amy Fong wrote:
> Author: Amy Fong <amy.fong at windriver.com>
> Date:   Wed Jul 16 10:57:38 2014 -0400
> 
>     postgresql: libxml2 configure error
>     
>     postgresql is looking for libxml2 in the wrong location .../usr/include
>     libxml2 installs its header files under .../usr/include/libxml2
>     
>     Signed-off-by: Amy Fong <amy.fong at windriver.com>
> 
> diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgre
> index 4e5ec02..47aa3a6 100644
> --- a/meta-oe/recipes-support/postgresql/postgresql.inc
> +++ b/meta-oe/recipes-support/postgresql/postgresql.inc
> @@ -47,7 +47,7 @@ PACKAGECONFIG[uuid] = "--with-ossp-uuid,--without-ossp-uuid,ossp-uuid,"
>  PACKAGECONFIG[tcl] = \
>      "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl,"
>  PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,,"
> -PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2"
> +PACKAGECONFIG[libxml] = "--with-libxml CFLAGS=-I${STAGING_INCDIR}/libxml2,--without-libxml,libx

Using libxml pkgconfig is better option (see patch on ML)

>  PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
>  
>  EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140716/4ee837bc/attachment-0002.sig>


More information about the Openembedded-devel mailing list