unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs 26.1: ./configure does not find my GTK
@ 2018-11-16 15:29 a.daniel.eliason
  2018-11-16 17:34 ` Glenn Morris
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: a.daniel.eliason @ 2018-11-16 15:29 UTC (permalink / raw)
  To: help-gnu-emacs

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?? 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs 26.1: ./configure does not find my GTK
  2018-11-16 15:29 Emacs 26.1: ./configure does not find my GTK a.daniel.eliason
@ 2018-11-16 17:34 ` Glenn Morris
  2018-11-16 18:29 ` Javier
       [not found] ` <mailman.4148.1542389693.1284.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2018-11-16 17:34 UTC (permalink / raw)
  To: a.daniel.eliason; +Cc: help-gnu-emacs


Works fine for me on RHEL 7.5.
You seem to be jumping to a conclusion about 64-bit libs based on no evidence.
You can check config.log to see the precise reason a configure test failed.

You can perhaps shortcut the whole process by running:
 yum-builddep emacs
as suggested in the INSTALL file.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs 26.1: ./configure does not find my GTK
  2018-11-16 15:29 Emacs 26.1: ./configure does not find my GTK a.daniel.eliason
  2018-11-16 17:34 ` Glenn Morris
@ 2018-11-16 18:29 ` Javier
  2018-11-19  7:28   ` a.daniel.eliason
       [not found] ` <mailman.4148.1542389693.1284.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 5+ messages in thread
From: Javier @ 2018-11-16 18:29 UTC (permalink / raw)
  To: help-gnu-emacs

>   checking for libXaw... configure: error: No X toolkit could be found.

Try to see in which directory libXaw is.

sudo updatedb ; locate libXaw.so



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs 26.1: ./configure does not find my GTK
       [not found] ` <mailman.4148.1542389693.1284.help-gnu-emacs@gnu.org>
@ 2018-11-19  7:26   ` a.daniel.eliason
  0 siblings, 0 replies; 5+ messages in thread
From: a.daniel.eliason @ 2018-11-19  7:26 UTC (permalink / raw)
  To: help-gnu-emacs

On Friday, November 16, 2018 at 6:34:55 PM UTC+1, Glenn Morris wrote:
> ...
> You can perhaps shortcut the whole process by running:
>  yum-builddep emacs
> as suggested in the INSTALL file.

Super!!  YES!!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs 26.1: ./configure does not find my GTK
  2018-11-16 18:29 ` Javier
@ 2018-11-19  7:28   ` a.daniel.eliason
  0 siblings, 0 replies; 5+ messages in thread
From: a.daniel.eliason @ 2018-11-19  7:28 UTC (permalink / raw)
  To: help-gnu-emacs

On Friday, November 16, 2018 at 7:29:03 PM UTC+1, Javier wrote:
> ...
> Try to see in which directory libXaw is.
>   sudo updatedb ; locate libXaw.so

Thanks, cool command - I didn't know that one..


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-11-19  7:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-16 15:29 Emacs 26.1: ./configure does not find my GTK a.daniel.eliason
2018-11-16 17:34 ` Glenn Morris
2018-11-16 18:29 ` Javier
2018-11-19  7:28   ` a.daniel.eliason
     [not found] ` <mailman.4148.1542389693.1284.help-gnu-emacs@gnu.org>
2018-11-19  7:26   ` a.daniel.eliason

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).