GNOME Bugzilla – Bug 354127
[PATCH] libbtctl source would not configure with new openobex versions
Last modified: 2006-09-03 19:27:55 UTC
Please describe the problem: If you try to build libbtctl from source on a system that has a recent version of openobex (I have openobex-1.3, for example), the "./configure" step will fail, because libbtctl wants the deprecated "openobex-config" script, while never versions of openopex use "pkg-config openobex" instead. Steps to reproduce: 1. bunzip2 < libbtctl-0.6.0.tar.bz2 | tar xfp - 2. cd libbtctl-0.6.0 3. ./configure Actual results: An abort message to the effect that openobex-config could not be found. Expected results: The configure process would complete successfully, creating various Makefile and config.h files. Does this happen every time? Yes. Other information: I already have a patch, which I will attach immediately after submitting this bug report.
Created attachment 72134 [details] [review] Patch to update aclocal.m4 to use pkg-config for newer openobex This pachanges aclocal.m4 to use the new centralized "pkg-config" facility instead of looking for an "openobex-config" program, which is longer included in newer versions of openobex (because the newer versions register their information with pkg-config). pkg-config conveniently provides a macro to do what much of the AM_PATH_OPENOBEX() macro in libbtctl-0.6.0/aclocal.m4 was doing, so this patch makes that file considerably smaller. A note to anyone attempting to apply this patch manually instead of waiting for a release that uses it: you must run "autoconf" to generate a new "./configure" file in order for this change to take effect. tch
*** Bug 354125 has been marked as a duplicate of this bug. ***
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 330983 ***