From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: "Jeremy Baxter" <jtbx@disroot.org>
Newsgroups: gmane.emacs.devel
Subject: Re: configure fails to find gtk and glib and exits with an empty error
Date: Sun, 14 Jan 2024 07:55:33 +1300
Message-ID: <CYDT2O1DE1UX.1SYIW2ZSZGWCB@disroot.org>
References: <CYDB57TVOO17.ECZTQE6EBFZW@disroot.org> <837ckdh77v.fsf@gnu.org>
 <CYDS8FEMU0PX.197YGYYEAUMHB@disroot.org> <83wmsdf4uy.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="7980"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: <emacs-devel@gnu.org>
To: "Eli Zaretskii" <eliz@gnu.org>, "Po Lu" <luangruo@yahoo.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 13 19:56:29 2024
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1rOjBE-0001rA-Tm
	for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Jan 2024 19:56:28 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces@gnu.org>)
	id 1rOjAd-0008Uh-6w; Sat, 13 Jan 2024 13:55:51 -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 <jtbx@disroot.org>) id 1rOjAW-0008Qw-BC
 for emacs-devel@gnu.org; Sat, 13 Jan 2024 13:55:45 -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 <jtbx@disroot.org>)
 id 1rOjAT-00054M-OZ; Sat, 13 Jan 2024 13:55:44 -0500
Original-Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 7A73141A39;
 Sat, 13 Jan 2024 19:55:39 +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 QoPRDGYeaWMH; Sat, 13 Jan 2024 19:55:38 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1705172138; bh=fgTCW7muXKmd0hsBogklji6011WeASdMAFJW8dK+y5E=;
 h=Date:Cc:Subject:From:To:References:In-Reply-To;
 b=M1oqwTYUhDgKxyOUdAjBTuvhoMVb7eMY3aO2sR97lAVGpw0c81jE7EpTFRmkkYPDf
 1enc9SJEm/95/RJCx/VzLD7IVPSrBX0zDSj5zoUR8aGNHgRmNZJ8qJQwQ10t+IUW6e
 CKGZay5ZCpB4Ja6MXSbif1wQmFUM9lhZP1zL5ZbP05rmMEAXlp7oWKFg6ZwQk8CcoQ
 CqsezoBF/e1c3EN/SMJ8o67ckQ2dBKLvHT6BGpNbqogYko4vNhPpQ3yPQAGg356/q2
 qt+Mlm3t189pq4MC7NXyhOFDg3YrPbE8ree6eNQ/61g49IhO416putj3maeidCV6Uc
 Xsop84kJjCK9A==
In-Reply-To: <83wmsdf4uy.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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=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:314935
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/314935>

On Sun Jan 14, 2024 at 7:47 AM NZDT, Eli Zaretskii wrote:
> > Date: Sun, 14 Jan 2024 07:16:04 +1300
> > Cc: <emacs-devel@gnu.org>
> > From: "Jeremy Baxter" <jtbx@disroot.org>
> >=20
> > On Sat Jan 13, 2024 at 11:13 PM NZDT, Eli Zaretskii wrote:
> > > > Date: Sat, 13 Jan 2024 17:52:33 +1300
> > > > From: "Jeremy Baxter" <jtbx@disroot.org>
> > > >=20
> > > > 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:
> > > >=20
> > > >     checking for gtk+-3.0 >=3D 3.22.23 glib-2.0 >=3D 2.37.5... no
> > > >     configure: error:=20
> > > >=20
> > > > I have gtk+3 version 3.24.38 and glib version 2.78.0 installed. I a=
m
> > > > running the Void Linux distribution with glibc, and I generated the
> > > > configure script with `autoreconf -fi'. The full output log is atta=
ched,
> > > > would anyone be able to help here?
> > >
> > > Can you tell what is the purpose of using --with-x-toolkit=3Dno in th=
is
> > > case?
> >=20
> > Passing no arguments causes an error telling me to supply --with-x-tool=
kit,
> > since I didn't have X11 libraries installed. Installing those libraries
> > makes the configure run normally so I can omit --with-x-toolkit.
> >=20
> > I want to build with pgtk but passing --with-pgtk causes the same gtk/g=
lib
> > error as before.
>
> Adding Po Lu in the hope that he understands what's going on here.
> You are basically saying that Emacs cannot be build for PGTK, is that
> so?

Yes, but I also cannot build if I supply --with-x-toolkit.