All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe] [PATCH] postgresql configure error
@ 2014-07-16 14:59 Amy Fong
  2014-07-16 15:26 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Amy Fong @ 2014-07-16 14:59 UTC (permalink / raw)
  To: openembedded-devel

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
 PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
 
 EXTRA_OECONF += "--enable-thread-safety --disable-rpath \



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe] [PATCH] postgresql configure error
  2014-07-16 14:59 [meta-oe] [PATCH] postgresql configure error Amy Fong
@ 2014-07-16 15:26 ` Martin Jansa
  2014-07-16 15:36   ` Amy Fong
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2014-07-16 15:26 UTC (permalink / raw)
  To: openembedded-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe] [PATCH] postgresql configure error
  2014-07-16 15:26 ` Martin Jansa
@ 2014-07-16 15:36   ` Amy Fong
  0 siblings, 0 replies; 3+ messages in thread
From: Amy Fong @ 2014-07-16 15:36 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Jul 16, 2014 at 05:26:57PM +0200, Martin Jansa wrote:
> 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)

D'oh. Thanks!

> >  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



> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-16 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16 14:59 [meta-oe] [PATCH] postgresql configure error Amy Fong
2014-07-16 15:26 ` Martin Jansa
2014-07-16 15:36   ` Amy Fong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.