Skip to contentSkip to conversation

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

DISCUSSION Tasslehoff Kjappfot 2 participants 2 messages Oct 13, 2010 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 32 lines

Am Mittwoch, den 13.10.2010, 14:39 +0200 schrieb Holger Freyther:

Quoted 8 lines · Tasslehoff Kjappfot
Quoted 7 lines

---
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
index cc6781b..5e31171 100644
@@ -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/

Quoted 8 lines

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

I did the patch with "git format-patch", but sent it with thunderbird. That caused the line-breaks and the spaces, I suspect. I'll setup git-send-email for future use and improve the commit messages. Thanks for cleaning up :)

- Tasslehoff

#2 lore raw
Quoted 47 lines · Tasslehoff Kjappfot
Quoted 34 lines

Am Mittwoch, den 13.10.2010, 14:39 +0200 schrieb Holger Freyther:

Quoted 8 lines · Tasslehoff Kjappfot
Quoted 7 lines

---
recipes/apr/apr-util_1.3.4.bb | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 15 lines

recipes/apr/apr-util_1.3.4.bb EXTRA_OECONF = · line 18

Quoted 11 lines
recipes/apr/apr-util_1.3.4.bb +1 -0
index cc6781b..5e31171 100644
@@ -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/

Quoted 8 lines

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

I did the patch with "git format-patch", but sent it with thunderbird. That caused the line-breaks and the spaces, I suspect. I'll setup git-send-email for future use and improve the commit messages. Thanks for cleaning up :)

Quoted 8 lines

- Tasslehoff

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

Now seeing what you did I remembered that I had to install postgresql on the build machine to get it to build.

Dumb question time, is this really a thing that needs patching? Reason I ask is because now this is another package that will need to modified in a user.collection to get postgresql support built in. Shouldnt removing features be something the person building should do in their user.collection folder or similar folder, and the packages in the recipe folder should have the package allowing as many features as possible in the configure? To me this doesnt seem like a fix just a work around for his situation. This has been a question I have had for a little while now and figured should ask while there is a subject relating. Thanks for your time and letting me know about my questions :)