GNU bug report logs - #5253
23.1.90; --without-dbus fails

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Sun, 13 Dec 2009 00:05:04 UTC

Severity: normal

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5253 in the body.
You can then email your comments to 5253 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4360; Package emacs. (Sun, 06 Sep 2009 17:00:03 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: emacs-pretest-bug <at> gnu.org
Subject: bug#5253: 23.1.90;  --without-dbus fails
Date: Sun, 20 Dec 2009 21:56:30 +0100
Hello!

When configuring  --without-dbus  this fails, because GConf is used  
and it has:

checking GCONF_CFLAGS... -DORBIT2=1 -I/sw/include/gconf/2 -I/sw/ 
include/orbit-2.0 -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/ 
sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
checking GCONF_LIBS... -L/sw/lib -lgconf-2 -lORBit-2 -lm -ldbus-1 - 
lpthread -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl - 
liconv

In the end it is reported:

  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 yes
  Does Emacs use -lfreetype?                              yes

But then, when I look at the libraries used, libdbus *is* used. I can  
only get red of it completely when I also configure --without-gconf.

--
Greetings

  Pete

A morning without coffee is like something without something else.


Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5253; Package emacs. (Tue, 05 Jan 2010 23:03:50 GMT) Full text and rfc822 format available.

Message #6 received at 5253 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Jan Djärv  <jan.h.d <at> swipnet.se>
Cc: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>, 5253 <at> debbugs.gnu.org
Subject: Re: bug#5253: 23.1.90;  --without-dbus fails
Date: Sat, 02 Jan 2010 16:39:00 -0500
Hi Jan, could you take a look at this bug report from a few weeks ago?
IIUC, Peter Dyballa is compiling on Mac OS X with the X11 and GTK
libraries, but I'm not sure how this differs from the usual GNU/Linux
case.


> When configuring  --without-dbus  this fails, because GConf is used
> and it has:
>
> checking GCONF_CFLAGS... -DORBIT2=1 -I/sw/include/gconf/2
>   -I/sw/include/orbit-2.0 -I/sw/include/dbus-1.0
>   -I/sw/lib/dbus-1.0/include -I/sw/include/glib-2.0
>   -I/sw/lib/glib-2.0/include
> checking GCONF_LIBS... -L/sw/lib -lgconf-2 -lORBit-2 -lm -ldbus-1
>   -lpthread -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl
>   -liconv
>
> In the end it is reported:
>
>   Does Emacs use -lgpm?                                   no
>   Does Emacs use -ldbus?                                  no
>   Does Emacs use -lgconf?                                 yes
>   Does Emacs use -lfreetype?                              yes
>
> But then, when I look at the libraries used, libdbus *is* used. I can
> only get red of it completely when I also configure --without-gconf.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5253; Package emacs. (Tue, 05 Jan 2010 23:03:50 GMT) Full text and rfc822 format available.

Message #9 received at 5253 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>, 5253 <at> debbugs.gnu.org, 
	5253-done <at> debbugs.gnu.org
Subject: Re: bug#5253: 23.1.90;  --without-dbus fails
Date: Sun, 03 Jan 2010 14:00:10 +0100
Peter Dyballa skrev:
> Hello!
> 
> When configuring  --without-dbus  this fails, because GConf is used and 
> it has:
> 

AFAIK, nothing "fails".  Emacs still runs doesn't it?  without-dbus does not 
mean "under no circumstances link with -ldbus", it means "do not compile in an 
elisp dbus interface into Emacs".

We can't be expected to keep track of every library requierd by libraries for 
every distribution thet Emacs uses and give configure switches to compile 
without them.  It is too much work to figure out if --without-xxx implies 
--without-yyy on OS ZZZ using PanPorts version 3.5.1.  If GConf requires dbus, 
we can't simply remove it, GConf wouldn't link then.  FWIW, dbus is not 
usually a requirement for GConf (i.e. normal GNU/LInux os), I guess 
Fink/MacPorts descided to make it so.

Some configure switches leads to a library not being linked, but those are the 
simple cases.

This is not a bug at all, it is expected behaviour.

	Jan D.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5253; Package emacs. (Tue, 05 Jan 2010 23:03:51 GMT) Full text and rfc822 format available.

Message #12 received at 5253 <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 5253-done <at> debbugs.gnu.org, 5253 <at> debbugs.gnu.org
Subject: Re: bug#5253: 23.1.90;  --without-dbus fails
Date: Sun, 3 Jan 2010 15:52:45 +0100
Am 03.01.2010 um 14:00 schrieb Jan Djärv:

> FWIW, dbus is not usually a requirement for GConf (i.e. normal GNU/ 
> LInux os), I guess Fink/MacPorts descided to make it so.


The configure parameters for building GConf2 used in Fink are:

	ConfigureParams: --mandir=%p/share/man --libexecdir=%p/lib/%n -- 
disable-debug --disable-dependency-tracking --disable-static --enable- 
gtk-doc --enable-gtk --disable-defaults-service PKG_CONFIG_PATH="%p/ 
lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"

So there is no explicite dependency introduced... OK, I could patch  
the PC file or create a local GConf package without DBus...

--
Greetings

  Pete

America believes in education: the average professor earns more money  
in a year than a professional athlete earns in a whole week.
				– Evan Esar





bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Feb 2010 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.