all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Matthieu Moy <Matthieu.Moy@imag.fr>
Cc: 4186@emacsbugs.donarmstrong.com
Subject: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem)
Date: Fri, 21 Aug 2009 08:47:41 +0200	[thread overview]
Message-ID: <nqab1tpss2.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <mailman.4904.1250797669.2239.bug-gnu-emacs@gnu.org> (Matthieu Moy's message of "Wed, 19 Aug 2009 14:21:05 +0200")

Matthieu Moy <Matthieu.Moy@imag.fr> writes:

> Hi,

Hi,

> Short version: whether I enable dbus or not, newest Emacs fails to
> compile on my system.

I'm impressed: 23.0.91 is the newest Emacs. Really?

> Longer version:
> With the same configuration I used to succeed in compiling Emacs on my
> machine, I now get this error at link time:
>
> dbusbind.o: In function `xd_remove_watch':
> /home/moy/local/usr/src/emacs/src/dbusbind.c:766: undefined reference to `dbus_watch_get_unix_fd'
> /home/moy/local/usr/src/emacs/src/dbusbind.c:768: undefined reference to `dbus_watch_get_socket'
> dbusbind.o: In function `xd_add_watch':
> /home/moy/local/usr/src/emacs/src/dbusbind.c:741: undefined reference to `dbus_watch_get_unix_fd'
> /home/moy/local/usr/src/emacs/src/dbusbind.c:743: undefined reference to `dbus_watch_get_socket'
> collect2: ld returned 1 exit status

Both functions have been added in D-Bus 1.1.1. I've committed a fix,
which checks the availability of these functions.

> Fine, I thought, my dbus is too old, I don't need it, I'll disable it.
> But compiling with --without-dbus, it doesn't work either:
>
> Wrote /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-ftp.elc
> Compiling /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-gvfs.el
> Loading tramp...
>
> In toplevel form:
> ../../lisp/net/tramp-gvfs.el:101:1:Error: Symbol's function definition is void: dbus-init-bus
> make[2]: *** [...] Error 1
>
> Reproducible with a fresh checkout.
>
> Ideally, Emacs should be tought not to use inexisting functions in
> libdbus, but at least, fixing the build with --without-dbus should be
> done.

Yes, I've reenabled the check for (featurep 'dbusbind)

> Thanks in advance,

Best regards, Michael.





       reply	other threads:[~2009-08-21  6:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4904.1250797669.2239.bug-gnu-emacs@gnu.org>
2009-08-21  6:47 ` Michael Albinus [this message]
2009-08-21  8:27   ` bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) Matthieu Moy
2009-08-19 12:21 Matthieu Moy

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=nqab1tpss2.fsf@alcatel-lucent.de \
    --to=michael.albinus@gmx.de \
    --cc=4186@emacsbugs.donarmstrong.com \
    --cc=Matthieu.Moy@imag.fr \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.