From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jeremy Baxter" Newsgroups: gmane.emacs.devel Subject: Re: configure fails to find gtk and glib and exits with an empty error Date: Mon, 15 Jan 2024 07:44:47 +1300 Message-ID: References: <83mst8fnp7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10737"; mail-complaints-to="usenet@ciao.gmane.io" Cc: , To: "Eli Zaretskii" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 14 19:45:44 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rP5UN-0002aL-UU for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jan 2024 19:45:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rP5Tk-0004qh-In; Sun, 14 Jan 2024 13:45:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rP5Th-0004qR-Ot for emacs-devel@gnu.org; Sun, 14 Jan 2024 13:45:01 -0500 Original-Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rP5Tf-0004dV-Tz; Sun, 14 Jan 2024 13:45:01 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8C788412C1; Sun, 14 Jan 2024 19:44:55 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id thyLuhOksMVj; Sun, 14 Jan 2024 19:44:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1705257894; bh=ArghAfcb6av4ELCCuGQFZvpaC7rkV8ImwM6u9Xqf5CM=; h=Date:To:Cc:Subject:From:References:In-Reply-To; b=EO02iDDLpZLAt9xc+lO9PrPG2LTKK4F8E5AMSOQ0wBQeRO7AdXMXoiqVd25yKWZiM tOAoAP2560YnfhM8kwrsU8Gjbzdr7PJGUufEYIWbnFBVP7GijtC8upp6vGu8bmDBkL iyjYBSQEfgwXygtNHsNaFhVnhnOU3kig6O7kt2MfivdgCII6XTjf/RfPxYZ0lv6uNG Ik0ZSEqE/1qPT9kiTjyMDYycNdw1AbjCa01vlBRDm7EevuAqEwB2khZcu3FVg2TjMz c9Bab617ZJPO0ODyCloUYj6Vs+B/zYxgIknqQdGjIXpR1O/cLP45nwQ6Sda6lu+oqD RXvDWGyTL75UQ== In-Reply-To: <83mst8fnp7.fsf@gnu.org> Received-SPF: pass client-ip=178.21.23.139; envelope-from=jtbx@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314973 Archived-At: On Sun Jan 14, 2024 at 7:12 PM NZDT, Eli Zaretskii wrote: > > Date: Sun, 14 Jan 2024 09:21:11 +1300 > > Cc: > > From: "Jeremy Baxter" > >=20 > > On Sun Jan 14, 2024 at 9:15 AM NZDT, Yuri Khan wrote: > > > On Sat, 13 Jan 2024 at 11:53, Jeremy Baxter wrote: > > > > > > > > I'm trying to compile Emacs with pgtk support from the current mast= er > > > > (4edb7713) but after I run the configure script with --with-x-toolk= it=3Dno > > > > and --with-pgtk I get the following error: > > > > > > > > checking for gtk+-3.0 >=3D 3.22.23 glib-2.0 >=3D 2.37.5... no > > > > configure: error: > > > > > > > > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I a= m > > > > running the Void Linux distribution > > > > > > Do you have only runtime libraries installed, or development packages > > > also? I=E2=80=99m 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 d= o > > > have development packages installed. > >=20 > > 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!