all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jeremy Baxter" <jtbx@disroot.org>
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: <yuri.v.khan@gmail.com>, <emacs-devel@gnu.org>
Subject: Re: configure fails to find gtk and glib and exits with an empty error
Date: Mon, 15 Jan 2024 07:44:47 +1300	[thread overview]
Message-ID: <CYENGYMKKTJC.QFXPO9WL9MM2@disroot.org> (raw)
In-Reply-To: <83mst8fnp7.fsf@gnu.org>

On Sun Jan 14, 2024 at 7:12 PM NZDT, Eli Zaretskii wrote:
> > Date: Sun, 14 Jan 2024 09:21:11 +1300
> > Cc: <emacs-devel@gnu.org>
> > From: "Jeremy Baxter" <jtbx@disroot.org>
> > 
> > On Sun Jan 14, 2024 at 9:15 AM NZDT, Yuri Khan wrote:
> > > On Sat, 13 Jan 2024 at 11:53, Jeremy Baxter <jtbx@disroot.org> wrote:
> > > >
> > > > I'm trying to compile Emacs with pgtk support from the current master
> > > > (4edb7713) but after I run the configure script with --with-x-toolkit=no
> > > > and --with-pgtk I get the following error:
> > > >
> > > >     checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... no
> > > >     configure: error:
> > > >
> > > > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I am
> > > > running the Void Linux distribution
> > >
> > > Do you have only runtime libraries installed, or development packages
> > > also? I’m not familiar with Void Linux, but, for example, in
> > > Debian-based distributions, files needed to *run* software using GTK+
> > > go in the libgtk-3-0 package, while files needed to *build* such
> > > software go in libgtk-3-dev.
> > >
> > > Sorry for the noise if you are already aware of the distinction and do
> > > have development packages installed.
> > 
> > Yes, I do have the development packages installed.
>
> Please show the portions of config.log that test for the above
> components: gtk+-3.0 and glib-2.0.  They could explain why the
> configure script fails in your case.

In the log there was nothing that would cause checking for gtk/glib to
fail.  I looked inside the configure script and saw it uses pkg-config
to test for gtk, and I did not have that installed.  After I installed
pkg-config it detected gtk and configure succeeded, which is strange
because it detects gtk without pkg-config in a non-pgtk build.

Thank you very much for your help!



  reply	other threads:[~2024-01-14 18:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-13  4:52 configure fails to find gtk and glib and exits with an empty error Jeremy Baxter
2024-01-13 10:13 ` Eli Zaretskii
2024-01-13 18:16   ` Jeremy Baxter
2024-01-13 18:47     ` Eli Zaretskii
2024-01-13 18:55       ` Jeremy Baxter
2024-01-13 20:15 ` Yuri Khan
2024-01-13 20:21   ` Jeremy Baxter
2024-01-14  6:12     ` Eli Zaretskii
2024-01-14 18:44       ` Jeremy Baxter [this message]
2024-01-14 19:05         ` Eli Zaretskii
2024-02-07 20:24           ` Björn Bidar
     [not found]           ` <87h6ikm39m.fsf@>
2024-02-08  5:50             ` Eli Zaretskii

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=CYENGYMKKTJC.QFXPO9WL9MM2@disroot.org \
    --to=jtbx@disroot.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=yuri.v.khan@gmail.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.