Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Christian de Rivaz <jc@eclis.ch>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add host-libglib2 dependencie to dbus-glib
Date: Thu, 23 Apr 2009 10:24:30 +0200	[thread overview]
Message-ID: <49F025BE.3020606@eclis.ch> (raw)
In-Reply-To: <87zle8oiz4.fsf@macbook.be.48ers.dk>

Peter Korsgaard a ?crit :
>>>>>> "Jean-Christian" == Jean-Christian de Rivaz <jc@eclis.ch> writes:
> 
>  >> We are using libxml2, so I can't tell for sure if compiling dbus with
>  >> expat is working or not. But it looks as if the dependencies are
>  >> correct.
> 
>  Jean-Christian> Interesting. On ARM I can only build dbus with expat.
> 
>  Jean-Christian> BR2_PACKAGE_DBUS=y
>  Jean-Christian> BR2_DBUS_EXPAT=y
>  Jean-Christian> # BR2_DBUS_LIBXML2 is not set
>  Jean-Christian> BR2_PACKAGE_DBUS_GLIB=y
> 
> What happens when you try building it with libxml2? I fixed a build
> issue with libxml2 in February.
> 

Well, it take me some time to do the test because my original buildroot
folder was not clean enough. I have checked out the revision 26186 from
the buildroot SVN and I have copied it into 4 folders in order to test
without and with the patch and using expat or libxml2. The short answer
is that for my configuration only the folder with the patch and using
expat do the build successfully.


Without the patch, using expat or libxml2, let the build fail with this
error into the make of dbus-1.2.12-host:

[...]
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for XML_ParserCreate_MM in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking for DBUS_GLIB... no
checking for DBUS_GLIB_THREADS... no
configure: error: GLib development libraries not found
make: *** [/home/jcdr/try/buildroot-svn-expat/build_arm/stamps/host_dbusglib_configured] Erreur 1

It worth noticed that even if libxml2 is used, the dbus-1.2.12-host
configure log the same messages about expat and no one about libxml2.


The two others folders have this patch applyed:
------------------------------------------------
Index: package/dbus-glib/dbus-glib.mk
===================================================================
--- package/dbus-glib/dbus-glib.mk      (r?vision 26188)
+++ package/dbus-glib/dbus-glib.mk      (copie de travail)
@@ -23,7 +23,7 @@
                --disable-doxygen-docs \
                --enable-asserts=yes
 
-DBUS_GLIB_DEPENDENCIES = uclibc host-pkgconfig dbus host-dbus host-dbus-glib libglib2
+DBUS_GLIB_DEPENDENCIES = uclibc host-pkgconfig dbus host-dbus host-libglib2 host-dbus-glib libglib2
 
 $(eval $(call AUTOTARGETS,package,dbus-glib))
 
------------------------------------------------


Now using libxml2 let the build fail with this error into the make of
dbus-glib:

[...]
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for XML_ParserCreate_MM in -lexpat... no
configure: error: expat library not found, check config.log for failed attempts
make: *** [/home/jcdr/try/buildroot-svn-dep-libxml2/build_arm/dbus-glib-0.80/.stamp_configured] Erreur 1

 
Jean-Christian de Rivaz

  parent reply	other threads:[~2009-04-23  8:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26  9:10 [Buildroot] [PATCH] Add host-libglib2 dependencie to dbus-glib Jean-Christian de Rivaz
2009-04-22 12:48 ` Steffen Schulz
2009-04-22 12:52   ` Sven Neumann
2009-04-22 13:17     ` Steffen Schulz
2009-04-22 13:58       ` Sven Neumann
2009-04-22 14:15     ` Jean-Christian de Rivaz
2009-04-22 14:27       ` Sven Neumann
2009-04-22 14:34       ` Peter Korsgaard
2009-04-22 15:32         ` [Buildroot] How to incorporate linux kernel patch correctly Will Moore
2009-04-23  8:24         ` Jean-Christian de Rivaz [this message]
2009-04-23  8:40           ` [Buildroot] [PATCH] Add host-libglib2 dependencie to dbus-glib Peter Korsgaard
2009-04-23  8:57             ` Jean-Christian de Rivaz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49F025BE.3020606@eclis.ch \
    --to=jc@eclis.ch \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox