* apr-util_1.3.4.bb fails, looking at host includes
@ 2010-10-13 9:04 Tasslehoff Kjappfot
2010-10-13 9:24 ` J. L.
0 siblings, 1 reply; 8+ messages in thread
From: Tasslehoff Kjappfot @ 2010-10-13 9:04 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: apr-util_1.3.4.bb fails, looking at host includes
2010-10-13 9:04 Tasslehoff Kjappfot
@ 2010-10-13 9:24 ` J. L.
0 siblings, 0 replies; 8+ messages in thread
From: J. L. @ 2010-10-13 9:24 UTC (permalink / raw)
To: openembedded-devel
On 10/13/10, Tasslehoff Kjappfot <tasskjapp@gmail.com> 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@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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: apr-util_1.3.4.bb fails, looking at host includes
[not found] <mailman.1290.1286961912.3514.openembedded-devel@lists.openembedded.org>
@ 2010-10-13 10:36 ` Tasslehoff Kjappfot
2010-10-13 12:39 ` Tasslehoff Kjappfot
0 siblings, 1 reply; 8+ messages in thread
From: Tasslehoff Kjappfot @ 2010-10-13 10:36 UTC (permalink / raw)
To: openembedded-devel
On 10/13/2010 11:25 AM,
openembedded-devel-request@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@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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: apr-util_1.3.4.bb fails, looking at host includes
2010-10-13 10:36 ` apr-util_1.3.4.bb fails, looking at host includes Tasslehoff Kjappfot
@ 2010-10-13 12:39 ` Tasslehoff Kjappfot
2010-10-13 12:39 ` Holger Freyther
0 siblings, 1 reply; 8+ messages in thread
From: Tasslehoff Kjappfot @ 2010-10-13 12:39 UTC (permalink / raw)
To: openembedded-devel
On 10/13/2010 12:36 PM, Tasslehoff Kjappfot wrote:
> On 10/13/2010 11:25 AM,
> openembedded-devel-request@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@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@gmail.com>
Date: Wed, 13 Oct 2010 14:35:01 +0200
Subject: [PATCH] add --without-pgsql to configure
Signed-off-by: Tasslehoff Kjappfot <tasskjapp@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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: apr-util_1.3.4.bb fails, looking at host includes
2010-10-13 12:39 ` Tasslehoff Kjappfot
@ 2010-10-13 12:39 ` Holger Freyther
2010-10-13 14:57 ` Paul Menzel
0 siblings, 1 reply; 8+ messages in thread
From: Holger Freyther @ 2010-10-13 12:39 UTC (permalink / raw)
To: openembedded-devel
On 10/13/2010 02:39 PM, Tasslehoff Kjappfot wrote:
>
> Signed-off-by: Tasslehoff Kjappfot <tasskjapp@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 \
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: apr-util_1.3.4.bb fails, looking at host includes
2010-10-13 12:39 ` Holger Freyther
@ 2010-10-13 14:57 ` Paul Menzel
0 siblings, 0 replies; 8+ messages in thread
From: Paul Menzel @ 2010-10-13 14:57 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1579 bytes --]
Am Mittwoch, den 13.10.2010, 14:39 +0200 schrieb Holger Freyther:
> On 10/13/2010 02:39 PM, Tasslehoff Kjappfot wrote:
>
> >
> > Signed-off-by: Tasslehoff Kjappfot <tasskjapp@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 \
>
> 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
[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=eba2dd09dfb380493e7f416bbbc437d47205b9de
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: apr-util_1.3.4.bb fails, looking at host includes
[not found] <mailman.1322.1286989169.3514.openembedded-devel@lists.openembedded.org>
@ 2010-10-13 19:07 ` Tasslehoff Kjappfot
2010-10-13 20:04 ` J. L.
0 siblings, 1 reply; 8+ messages in thread
From: Tasslehoff Kjappfot @ 2010-10-13 19:07 UTC (permalink / raw)
To: openembedded-devel
>
> Am Mittwoch, den 13.10.2010, 14:39 +0200 schrieb Holger Freyther:
>> On 10/13/2010 02:39 PM, Tasslehoff Kjappfot wrote:
>>
>>>
>>> Signed-off-by: Tasslehoff Kjappfot <tasskjapp@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 \
>>
>> 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
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: apr-util_1.3.4.bb fails, looking at host includes
2010-10-13 19:07 ` Tasslehoff Kjappfot
@ 2010-10-13 20:04 ` J. L.
0 siblings, 0 replies; 8+ messages in thread
From: J. L. @ 2010-10-13 20:04 UTC (permalink / raw)
To: openembedded-devel
On 10/13/10, Tasslehoff Kjappfot <tasskjapp@gmail.com> wrote:
>>
>> Am Mittwoch, den 13.10.2010, 14:39 +0200 schrieb Holger Freyther:
>>> On 10/13/2010 02:39 PM, Tasslehoff Kjappfot wrote:
>>>
>>>>
>>>> Signed-off-by: Tasslehoff Kjappfot <tasskjapp@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 \
>>>
>>> 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
>
> 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
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> 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
:)
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-10-13 20:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1290.1286961912.3514.openembedded-devel@lists.openembedded.org>
2010-10-13 10:36 ` apr-util_1.3.4.bb fails, looking at host includes Tasslehoff Kjappfot
2010-10-13 12:39 ` Tasslehoff Kjappfot
2010-10-13 12:39 ` Holger Freyther
2010-10-13 14:57 ` Paul Menzel
[not found] <mailman.1322.1286989169.3514.openembedded-devel@lists.openembedded.org>
2010-10-13 19:07 ` Tasslehoff Kjappfot
2010-10-13 20:04 ` J. L.
2010-10-13 9:04 Tasslehoff Kjappfot
2010-10-13 9:24 ` J. L.
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.