Skip to contentSkip to conversation

postgresql configure error

PATCH In review Amy Fong 2 participants 3 messages Jul 16, 2014

lore
Share & tools
lore

Amy Fong

author
#0 lore raw

PATCH 1/1 postgresql configure error

Author: Amy Fong <[email protected]>
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

meta-oe/recipes-support/postgresql/postgresql.inc +1 -1
index 4e5ec02..47aa3a6 100644
@@ -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 \
#1 lore raw
Quoted 15 lines · Amy Fong
Author: Amy Fong <[email protected]>
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

meta-oe/recipes-support/postgresql/postgresql.inc +0 -0
index 4e5ec02..47aa3a6 100644

meta-oe/recipes-support/postgresql/postgresql.inc PACKAGECONFIG[uuid] = "--with-ossp-uuid,--without-ossp-uuid,ossp-uuid," · line 50

Quoted 5 lines
meta-oe/recipes-support/postgresql/postgresql.inc +1 -1
@@ -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)

Quoted 9 lines
meta-oe/recipes-support/postgresql/postgresql.inc +0 -0
 PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
 
 EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
Signature · 5 lines
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author
#2 lore raw
Quoted 11 lines · Martin Jansa
Quoted 10 lines · Amy Fong
Author: Amy Fong <[email protected]>
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

Quoted 12 lines

meta-oe/recipes-support/postgresql/postgresql.inc PACKAGECONFIG[uuid] = "--with-ossp-uuid,--without-ossp-uuid,ossp-uuid," · line 50

Quoted 10 lines
meta-oe/recipes-support/postgresql/postgresql.inc +1 -1
index 4e5ec02..47aa3a6 100644
@@ -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!

Quoted 20 lines
Quoted 9 lines
meta-oe/recipes-support/postgresql/postgresql.inc +0 -0
 PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
 
 EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
Signature · 5 lines
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 9 lines
Martin 'JaMa' Jansa     jabber: [email protected]



-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel