* bug#4202: 23.0.60; CVS emacs fails to build with D-Bus support (newer version needed)
@ 2009-08-19 14:08 Tim Van Holder
0 siblings, 0 replies; 2+ messages in thread
From: Tim Van Holder @ 2009-08-19 14:08 UTC (permalink / raw)
To: emacs-pretest-bug
Current CVS emacs fails to build on my (admittedly outdated) Debian system:
dbusbind.o: In function `xd_remove_watch':
/home/tim/gnu/src/emacs/src/dbusbind.c:766: undefined reference to `dbus_watch_get_unix_fd'
/home/tim/gnu/src/emacs/src/dbusbind.c:768: undefined reference to `dbus_watch_get_socket'
dbusbind.o: In function `xd_add_watch':
/home/tim/gnu/src/emacs/src/dbusbind.c:741: undefined reference to `dbus_watch_get_unix_fd'
/home/tim/gnu/src/emacs/src/dbusbind.c:743: undefined reference to `dbus_watch_get_socket'
My guess is those are from a newer version of D-Bus; configure finds
version 1.x on my system:
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for dbus-1 >= 1.0... yes
checking DBUS_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
checking DBUS_LIBS... -ldbus-1
checking for pkg-config... (cached) /usr/bin/pkg-config
So either those functions should only be used if a newer d-bus is found,
or, if they're needed, configure should look for the minimum version
required (and either error out or just disable dbus support).
Building using --without-dbus works fine of course, and I'm not sure I
even ever used D-Bus support (not consciously anyway); but the build
still should not fail (especially since I didn't actively enable the
dbus support in the first place).
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#4202: 23.0.60; CVS emacs fails to build with D-Bus support (newer version needed)
[not found] <mailman.4946.1250802834.2239.bug-gnu-emacs@gnu.org>
@ 2009-08-21 6:50 ` Michael Albinus
0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2009-08-21 6:50 UTC (permalink / raw)
To: Tim Van Holder; +Cc: 4202
Tim Van Holder <tim.vanholder@gmail.com> writes:
> Current CVS emacs fails to build on my (admittedly outdated) Debian
> system:
Are you sure, that 23.0.60 is a "current CVS emacs"?
> dbusbind.o: In function `xd_remove_watch':
> /home/tim/gnu/src/emacs/src/dbusbind.c:766: undefined reference to `dbus_watch_get_unix_fd'
> /home/tim/gnu/src/emacs/src/dbusbind.c:768: undefined reference to `dbus_watch_get_socket'
> dbusbind.o: In function `xd_add_watch':
> /home/tim/gnu/src/emacs/src/dbusbind.c:741: undefined reference to `dbus_watch_get_unix_fd'
> /home/tim/gnu/src/emacs/src/dbusbind.c:743: undefined reference to `dbus_watch_get_socket'
>
> My guess is those are from a newer version of D-Bus; configure finds
> version 1.x on my system:
>
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for dbus-1 >= 1.0... yes
> checking DBUS_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> checking DBUS_LIBS... -ldbus-1
> checking for pkg-config... (cached) /usr/bin/pkg-config
>
> So either those functions should only be used if a newer d-bus is found,
> or, if they're needed, configure should look for the minimum version
> required (and either error out or just disable dbus support).
Both functions have been added in D-Bus 1.1.1. I've committed a fix,
which checks the availability of these functions.
Best regards, Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-21 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4946.1250802834.2239.bug-gnu-emacs@gnu.org>
2009-08-21 6:50 ` bug#4202: 23.0.60; CVS emacs fails to build with D-Bus support (newer version needed) Michael Albinus
2009-08-19 14:08 Tim Van Holder
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).