[oe] apr-util_1.3.4.bb fails, looking at host includes

Tasslehoff Kjappfot tasskjapp at gmail.com
Wed Oct 13 12:39:09 UTC 2010


On 10/13/2010 12:36 PM, Tasslehoff Kjappfot wrote:
> On 10/13/2010 11:25 AM, 
> openembedded-devel-request at lists.openembedded.org wrote:
>> >  I'm trying to compile log4cxx, but it fails compiling apr-util, 
>> saying
>> >  that it is looking at host includes.
>> >
>> >  I suspect the following from log.do_configure is a problem:
>> >
>> >  /checking for pg_config... /usr/bin/pg_config
>> >     adding "-I/usr/include/postgresql" to CPPFLAGS
>> >     adding "-L/usr/lib" to LDFLAGS/
>> >
>> >  But I have no idea how to fix it...
>> >
>> >  - Tasslehoff
>> >  _______________________________________________
>> >  Openembedded-devel mailing list
>> >  Openembedded-devel at lists.openembedded.org
>> >  
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>> >
>> This may not be related but I ran into apr-util looking at the host
>> machine as well when I was trying to build subversion. I can not
>> remember now the exact package I installed on the build machine that
>> fixed it. So maybe trying searching for some packages that deal with
>> apr-util that you dont have on your build machine. I could be way off
>> for yours but seems very similar to what I had to do. Hope this helps
>> some
> Thanks. I read about your woes before my post :)
>
> I've installed pretty much every apr-util-package I can find on my 
> Ubuntu 10.04, and did an "apt-get build-dep subversion" in 
> desperation, but still the same error.
>
> - Tasslehoff

Solved by configuring apr-util without postgresql.

 From 97377e3b09a6b62dcd25e1fa403e4ec667497267 Mon Sep 17 00:00:00 2001
From: Tasslehoff Kjappfot <tasskjapp at gmail.com>
Date: Wed, 13 Oct 2010 14:35:01 +0200
Subject: [PATCH] add --without-pgsql to configure


Signed-off-by: Tasslehoff Kjappfot <tasskjapp at gmail.com>
---
  recipes/apr/apr-util_1.3.4.bb |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/apr/apr-util_1.3.4.bb b/recipes/apr/apr-util_1.3.4.bb
index cc6781b..5e31171 100644
--- a/recipes/apr/apr-util_1.3.4.bb
+++ b/recipes/apr/apr-util_1.3.4.bb
@@ -14,6 +14,7 @@ EXTRA_OECONF = 
"--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \
          --with-gdbm=${STAGING_DIR_HOST}${layout_prefix} \
          --without-sqlite2 \
          --without-sqlite3 \
+                --without-pgsql \
          --with-expat=${STAGING_DIR_HOST}${layout_prefix}"


-- 
1.7.0.4






More information about the Openembedded-devel mailing list