unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Glenn Morris <rgm@gnu.org>, Klaus.Zeitler@alcatel-lucent.com
Cc: 17118-done@debbugs.gnu.org
Subject: bug#17118: 24.3 build on Centos 6.5: undefined ref to `g_settings_get_value
Date: Sat, 29 Mar 2014 13:10:35 +0100	[thread overview]
Message-ID: <5336B83B.6040306@swipnet.se> (raw)
In-Reply-To: <8cy4zvpr93.fsf@fencepost.gnu.org>

Hello.

I have added a configure check for this in the trunk.

	Jan D.

2014-03-27 16:59, Glenn Morris skrev:
> 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-29 12:10 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
2014-03-29 12:10   ` Jan Djärv [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5336B83B.6040306@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=17118-done@debbugs.gnu.org \
    --cc=Klaus.Zeitler@alcatel-lucent.com \
    --cc=rgm@gnu.org \
    /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 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).