all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Klaus.Zeitler@alcatel-lucent.com
Cc: 17118@debbugs.gnu.org
Subject: bug#17118: 24.3 build on Centos 6.5: undefined ref to `g_settings_get_value
Date: Thu, 27 Mar 2014 11:59:04 -0400	[thread overview]
Message-ID: <8cy4zvpr93.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <q5gmwgbvq2v.fsf@destgd0h411156.de.alcatel-lucent.com> (Klaus Zeitler's message of "Thu, 27 Mar 2014 12:27:52 +0100")

Klaus Zeitler wrote:

> I'm trying to build emacs on my Centos 6.5 PC
> (Linux destgd0h411156 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16
> 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux).
>
> I simply ran "configure --prefix=..." and then "make", but make fails
> with linker errors for temacs:
[...]
> xsettings.o: In function `something_changed_gsettingsCB':
> /opt/kze/emacs-24.3/src/xsettings.c:215: undefined reference to `g_settings_get_value'

Please see my explanation here:

http://lists.gnu.org/archive/html/help-gnu-emacs/2014-03/msg00503.html

Red Hat has taken the unusual step of ripping out the gsettings related
parts of their glib library. So they have something that advertises
itself as gio 2.26.1, but does not include gsettings.

I think this is an odd thing to do. I encourage anyone with a RH
subscription to report it as a bug against glib2-devel.

In Emacs, you can work around it by using configure --without-gsettings.

But Emacs should add a configure test to check that gsettings is really
present. I tried to do this by simply testing for gio/gsettings.h, but
sadly you can't include that header directly, it throws an error if not
included via gio/gio.h.





  reply	other threads:[~2014-03-27 15:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27 11:27 bug#17118: 24.3 build on Centos 6.5: undefined ref to `g_settings_get_value Klaus Zeitler
2014-03-27 15:59 ` Glenn Morris [this message]
2014-03-29 12:10   ` Jan Djärv
2014-03-29 19:38     ` Glenn Morris
2014-03-29 23:01       ` Jan D.
2014-03-29 23:26         ` Glenn Morris
2014-03-30 10:45           ` Jan Djärv
2014-03-30 18:32             ` Glenn Morris
2014-03-31  6:10               ` Jan D.

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=8cy4zvpr93.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=17118@debbugs.gnu.org \
    --cc=Klaus.Zeitler@alcatel-lucent.com \
    /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.