From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudi C Newsgroups: gmane.emacs.bugs Subject: bug#70071: [FR] Provide official install scripts without requiring root, e.g., by making a static build possible Date: Sat, 30 Mar 2024 18:01:31 +0330 Message-ID: References: <86r0ftdv6p.fsf@gnu.org> <87frw84iuc.fsf@yahoo.com> <86jzljdf2f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f5d7b90614e19eb4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11914"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 70071@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 30 15:33:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rqZlj-0002rw-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Mar 2024 15:33:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqZlW-000883-Ab; Sat, 30 Mar 2024 10:33:02 -0400 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 1rqZlU-00087n-MD for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 10:33:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqZlU-0004FH-B1 for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 10:33:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rqZlW-0003fq-7F for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rudi C Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Mar 2024 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70071 X-GNU-PR-Package: emacs Original-Received: via spool by 70071-submit@debbugs.gnu.org id=B70071.171180913914017 (code B ref 70071); Sat, 30 Mar 2024 14:33:02 +0000 Original-Received: (at 70071) by debbugs.gnu.org; 30 Mar 2024 14:32:19 +0000 Original-Received: from localhost ([127.0.0.1]:45966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqZko-0003di-3N for submit@debbugs.gnu.org; Sat, 30 Mar 2024 10:32:19 -0400 Original-Received: from mail-oa1-x33.google.com ([2001:4860:4864:20::33]:53465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqZkl-0003dJ-6G for 70071@debbugs.gnu.org; Sat, 30 Mar 2024 10:32:17 -0400 Original-Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-22222357d76so1916495fac.2 for <70071@debbugs.gnu.org>; Sat, 30 Mar 2024 07:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711809127; x=1712413927; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CtuhmtLDlo98/HRrYrQZqOlZaMmL3PUJP0IS8y9vqqY=; b=Aip5MFEtyZUBHrsjO85JviRGNAzQjkFpVrdzdypMq1BjkD3jmuVvfgyjhcfc4WHflZ FG8BfNVMmMPizu4eicGOacc2zxFrY8iR++qvPRz2PMyzfP1sB9oAiXi2kVFfELclM6AB vPFEHYyfKIUr4Buymz+JClrDmh5JaTVwSXxhAxHgBEzpcTp7YSeyKTG1yCqCCJQBf9Wy /FsskPFjZPuV3Bs787GlxHoBnuc786X7Tm6JPRsXndQCx4Q3gBEDt2IZKYyDuGQuw7q0 fIwIYwAHu8YWi/shA/z/uEV+eViwvIzC/ulGWzy0NxxeqDOe0SlTP7l06t6wFFaXrNwi Tegg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711809127; x=1712413927; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CtuhmtLDlo98/HRrYrQZqOlZaMmL3PUJP0IS8y9vqqY=; b=ZBUeXs5/mUZFls1YT71vCCD45HRvrCr4Mo5pCGuNykMsdJHdp2uoG6YzjfoUe3HrAp x9leNNVhLMIFBnSjbMeE9AVNSUx5GErMr9ux8u/b7WA3rXapUiDMQ7+78sYYKUmZCqVU 7doOouSmIRZNbap7lE7aVRnGu84gG9YrZC0fqGdYh4sgb14JDxV481tA65JQOjPa05ht cYNvaqFo+NjGwzh/gk7fDllK3RqYt0XQ5i1lqdnFP/dhQdOO2DMKdF/qxSQxBFoR0L61 F3ZANQFo5OoIXoO2LbvtfWp22Skjgwzahe3iD4t63yCwu9JJ4aABLH6UnFEqhC81Dhp8 V+yw== X-Forwarded-Encrypted: i=1; AJvYcCXG4of4emK/AyCpbFdITNji5VEK9TpL7aGhpALFhxw8YmuIg1HC/YO5gR8iVXo5qT3yt9HgpaprsYgHo3e78I6cWpTAkM8= X-Gm-Message-State: AOJu0YyVG5KX0WD/0aCFxpYbQ+hmY+W6Swcd5kEFwMQFZj8XRKvMtj6C 9hg/cWADRqCTZCUKfUgMkIZ3b9cChkeyhEFB4ORxszwfyskNMPtIATj6XPrlJj3gzzDL0QBhHa8 0QFnnogDlrQEo5tsQyrIkhPFFc38= X-Google-Smtp-Source: AGHT+IFMW/3Qz0VicnUZRmE+tDlWm+SzyHGXOIECAhW2daCqgyPwTRCGGg8YsPnHzJQDLPC4I8xGpnAonrcCrCO/r+I= X-Received: by 2002:a05:6871:e023:b0:21e:9aa5:f3f7 with SMTP id by35-20020a056871e02300b0021e9aa5f3f7mr5237507oac.58.1711809127370; Sat, 30 Mar 2024 07:32:07 -0700 (PDT) In-Reply-To: <86jzljdf2f.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282375 Archived-At: --000000000000f5d7b90614e19eb4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Given my lack of root access, I'm unsure about the best approach to install these libraries. Manually writing an installer script for every missing Emacs dependency raises concerns, as these dependencies might have their own dependencies, making the task complex, error-prone, and time-consuming. This approach may not be the most practical or efficient solution for the majority of users, and it certainly isn't the simple two-liner that your previous messages suggested. The complexity involved in manually resolving dependencies is precisely the reason I turned to package managers like Linuxbrew, Guix, and Nix in the first place. On Sat, Mar 30, 2024 at 4:58=E2=80=AFPM Eli Zaretskii wrote: > > From: Rudi C > > Date: Sat, 30 Mar 2024 16:25:49 +0330 > > Cc: Eli Zaretskii , 70071@debbugs.gnu.org > > > > I get this error (and this is after adding all those configure options > which had previously caused errors): > > ``` > > checking for library containing tputs... no > > configure: error: The required function 'tputs' was not found in any > library. > > The following libraries were tried (in order): > > libtinfo, libncurses, libterminfo, libcurses, libtermcap > > Please try installing whichever of these libraries is most appropriate > > for your system, together with its header files. > > For example, a libncurses-dev(el) or similar package. > > ``` > > > > So what should I do now? > > The error message is pretty self-explanatory, I think: you should > install one of the libraries it mentions, i.e. > > libtinfo, libncurses, libterminfo, libcurses, or libtermcap > > together with the corresponding header files (usually, the package > will be called LIBRARY-dev or LIBRARY-devel), and then reconfigure. > --000000000000f5d7b90614e19eb4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Given my lack of root access, I'm unsure about the bes= t approach to install these libraries. Manually writing an installer script= for every missing Emacs dependency raises concerns, as these dependencies = might have their own dependencies, making the task complex, error-prone, an= d time-consuming. This approach may not be the most practical or efficient = solution for the majority of users, and it certainly isn't the simple t= wo-liner that your previous messages suggested. The complexity involved in = manually resolving dependencies is precisely the reason I turned to package= managers like Linuxbrew, Guix, and Nix in the first place.

On Sat, Mar 30, = 2024 at 4:58=E2=80=AFPM Eli Zaretskii <e= liz@gnu.org> wrote:
> From: Rudi C <rudiwillalwaysloveyou@gmail.com>
> Date: Sat, 30 Mar 2024 16:25:49 +0330
> Cc: Eli Zaretskii <eliz@gnu.org>, 70071@debbugs.gnu.org
>
> I get this error (and this is after adding all those configure options= which had previously caused errors):
> ```
> checking for library containing tputs... no
> configure: error: The required function 'tputs' was not found = in any library.
> The following libraries were tried (in order):
>=C2=A0 =C2=A0libtinfo, libncurses, libterminfo, libcurses, libtermcap > Please try installing whichever of these libraries is most appropriate=
> for your system, together with its header files.
> For example, a libncurses-dev(el) or similar package.
> ```
>
> So what should I do now?

The error message is pretty self-explanatory, I think: you should
install one of the libraries it mentions, i.e.

=C2=A0 libtinfo, libncurses, libterminfo, libcurses, or libtermcap

together with the corresponding header files (usually, the package
will be called LIBRARY-dev or LIBRARY-devel), and then reconfigure.
--000000000000f5d7b90614e19eb4--