Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe] [PATCH] postgresql configure error
Date: Wed, 16 Jul 2014 17:26:57 +0200	[thread overview]
Message-ID: <20140716152657.GD2433@jama> (raw)
In-Reply-To: <20140716145924.GA13352@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]

On Wed, Jul 16, 2014 at 10:59:28AM -0400, Amy Fong wrote:
> Author: Amy Fong <amy.fong@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-07-16 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-16 14:59 [meta-oe] [PATCH] postgresql configure error Amy Fong
2014-07-16 15:26 ` Martin Jansa [this message]
2014-07-16 15:36   ` Amy Fong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140716152657.GD2433@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox