From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: a.daniel.eliason@gmail.com Newsgroups: gmane.emacs.help Subject: Emacs 26.1: ./configure does not find my GTK Date: Fri, 16 Nov 2018 07:29:37 -0800 (PST) Message-ID: <0cda1bb2-c3c4-40ab-932b-8ce7fb8b594e@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1542382102 6268 195.159.176.226 (16 Nov 2018 15:28:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2018 15:28:22 +0000 (UTC) Injection-Date: Fri, 16 Nov 2018 15:29:38 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 16 16:28:18 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNg2c-0001Wj-FL for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Nov 2018 16:28:18 +0100 Original-Received: from localhost ([::1]:45334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNg4h-0000G9-JF for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Nov 2018 10:30:27 -0500 X-Received: by 2002:a6b:db04:: with SMTP id t4-v6mr3651206ioc.1.1542382178090; Fri, 16 Nov 2018 07:29:38 -0800 (PST) X-Received: by 2002:a0c:cd87:: with SMTP id v7mr61293qvm.6.1542382177704; Fri, 16 Nov 2018 07:29:37 -0800 (PST) Original-Path: usenet.stanford.edu!g188-v6no534005itg.0!news-out.google.com!y103-v6ni717ita.0!nntp.google.com!g188-v6no534002itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=154.43.32.82; posting-account=-18RjQoAAAA4Ql9mwvJFrgXoJVqb_xDF Original-NNTP-Posting-Host: 154.43.32.82 Original-Xref: usenet.stanford.edu gnu.emacs.help:224567 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118696 Archived-At: I'm trying to compile from the current 26.1 tarball on CentOS.. It stops because it can't find by GTK. Anybody have similar problem? My GTK libs are in to /usr/lib64: -bash-4.2$ ls /usr/lib64/libgtk* /usr/lib64/libgtk-3.so.0 /usr/lib64/libgtk-3.so.0.2200.26 /usr/lib64/libgtk-x11-2.0.so.0 /usr/lib64/libgtk-x11-2.0.so.0.2400.31 There is no GTK in my 32 bit libs, however: -bash-4.2$ ls /usr/lib/libgtk* ls: cannot access /usr/lib/libgtk*: No such file or directory -bash-4.2$ When I run./configure, it does not find the 64 bit libs, apparently: <...clipped> checking for GTK... no checking for GTK... no checking for DBUS... yes checking for dbus_watch_get_unix_fd... yes checking for dbus_type_is_valid... yes checking for dbus_validate_bus_name... yes checking for dbus_validate_path... yes checking for dbus_validate_interface... yes checking for dbus_validate_member... yes checking for GSETTINGS... yes checking whether GSettings is in gio... yes checking for GOBJECT... yes checking for lgetfilecon in -lselinux... yes checking for LIBGNUTLS... no checking for LIBSYSTEMD... no checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking for inotify_init1... yes checking for xaw3d... no checking for libXaw... configure: error: No X toolkit could be found. If you are sure you want Emacs compiled without an X toolkit, pass --with-x-toolkit=no to configure. Otherwise, install the development libraries for the toolkit that you want to use (e.g. Gtk+) and re-run configure. -bash-4.2$ I did try "yum install gtk+", and it did a bunch of work, but it made no difference. I even tried installing "xaw" from yum, 'cause I saw ./configure was looking for it, but that made no difference either. I tried setting LD_LIBRARY_PATH, but it did not help -bash-4.2$ echo $LD_LIBRARY_PATH /usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib -bash-4.2$ My /etc/ld.so.conf is -bash-4.2$ cat /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/lib64 /usr/lib -bash-4.2$ cat /etc/ld.so.conf.d/*.conf /usr/local/lib /usr/local/lib64 /usr/local/lib /usr/local/lib64 /usr/local/lib /usr/local/lib64 /usr/lib64/mysql /usr/pgsql-9.4/lib -bash-4.2$ It seems like emacs ./configure really doesn't know how to deal with the 64 bit libraries??