From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs 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 Message-ID: <8cy4zvpr93.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1395936003 16201 80.91.229.3 (27 Mar 2014 16:00:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2014 16:00:03 +0000 (UTC) Cc: 17118@debbugs.gnu.org To: Klaus.Zeitler@alcatel-lucent.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 27 17:00:13 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WTCiy-0003cn-PX for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Mar 2014 17:00:12 +0100 Original-Received: from localhost ([::1]:54532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCiy-0004Bu-Hq for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Mar 2014 12:00:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCiu-00048q-9l for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 12:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTCir-0005um-19 for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 12:00:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTCiq-0005uN-VO for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 12:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WTCip-0002NG-7u for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2014 12:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Mar 2014 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17118-submit@debbugs.gnu.org id=B17118.13959359508993 (code B ref 17118); Thu, 27 Mar 2014 16:00:02 +0000 Original-Received: (at 17118) by debbugs.gnu.org; 27 Mar 2014 15:59:10 +0000 Original-Received: from localhost ([127.0.0.1]:52938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTChx-0002Ky-Al for submit@debbugs.gnu.org; Thu, 27 Mar 2014 11:59:09 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:53821) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTChv-0002Kp-Am for 17118@debbugs.gnu.org; Thu, 27 Mar 2014 11:59:08 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WTChs-0002kZ-8A; Thu, 27 Mar 2014 11:59:04 -0400 X-Spook: counter terrorism Blowpipe Al Jazeera morse Medco Vickie X-Ran: tw#A>zmbZ>(YF2KUZ$5?s)!:wY<4,9Hw;`A#:vvuiocgHHnr (Klaus Zeitler's message of "Thu, 27 Mar 2014 12:27:52 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87455 Archived-At: 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.