apr-util_1.3.4.bb fails, looking at host includes
A message that is not in the archive (sent off-list or not yet received): mailman.1290.1286961912.3514.openembedded-devel@lists.openembedded.org
Quoted 17 lines · On 10/13/2010 11:25 AM, [email protected] wrote:
Quoted 9 lines
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/Quoted 8 lines
But I have no idea how to fix it...
- Tasslehoff
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 8 lines
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
Quoted 27 lines · Tasslehoff Kjappfot
Quoted 19 lines · On 10/13/2010 11:25 AM, [email protected] wrote:
Quoted 1 line
I'm trying to compile log4cxx, but it fails compiling apr-util,
saying
Quoted 8 lines
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/Quoted 7 lines
But I have no idea how to fix it...
- Tasslehoff
_______________________________________________
Openembedded-devel mailing list
[email protected]http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 1 line
Quoted 7 lines
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
Quoted 5 lines
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 <[email protected]>
Date: Wed, 13 Oct 2010 14:35:01 +0200
Subject: [PATCH] add --without-pgsql to configure
--- recipes/apr/apr-util_1.3.4.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
recipes/apr/apr-util_1.3.4.bb +1 -0
@@ -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}"
Signature · 1 line
1.7.0.4
Quoted 11 lines · Tasslehoff Kjappfot
Signed-off-by Tasslehoff Kjappfot <[email protected]>--- recipes/apr/apr-util_1.3.4.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)recipes/apr/apr-util_1.3.4.bb +0
-0
recipes/apr/apr-util_1.3.4.bb EXTRA_OECONF = · line 18
Quoted 5 lines
recipes/apr/apr-util_1.3.4.bb +1
-0@@ -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 \
hmm... the existing file is using spaces, you use tabs... I will fix it when pushing the changes. Please try to follow the indention of the file.
Am Mittwoch, den 13.10.2010, 14:39 +0200 schrieb Holger Freyther:
Quoted 8 lines · Tasslehoff Kjappfot
Quoted 7 lines
Signed-off-by Tasslehoff Kjappfot <[email protected]>--- recipes/apr/apr-util_1.3.4.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 13 lines
recipes/apr/apr-util_1.3.4.bb EXTRA_OECONF = · line 18
Quoted 10 lines
recipes/apr/apr-util_1.3.4.bb +1
-0@@ -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 \hmm... the existing file is using spaces, you use tabs... I will fix it when pushing the changes. Please try to follow the indention of the file.
Holger committed your patch in eba2dd [1]. It would be nice if you could write a elaborate commit message next time with the actual error message and reason added.
/checking for pg_config... /usr/bin/pg_config
adding "-I/usr/include/postgresql" to CPPFLAGS adding "-L/usr/lib" to LDFLAGS/
I build tested r7 with minimal-uclibc for MACHINE = "beagleboard" and it worked for me without any problems as it was with r6. But I did not have pg_config installed on my build system anyway.
Thanks,
Paul