From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: installing or compiling GNU emacs on Mac Catalina (fink for the moment) Date: Mon, 22 Feb 2021 12:26:31 +1100 Message-ID: <877dn07ulj.fsf@gmail.com> References: <8735xp5lb9.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18472"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.8; emacs 27.1.91 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 22 02:36:14 2021 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 1lE090-0004he-No for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Feb 2021 02:36:14 +0100 Original-Received: from localhost ([::1]:52682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE08z-0003Av-Qf for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Feb 2021 20:36:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE08L-0002iu-SE for emacs-devel@gnu.org; Sun, 21 Feb 2021 20:35:33 -0500 Original-Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:44647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE08E-00056t-Cs for emacs-devel@gnu.org; Sun, 21 Feb 2021 20:35:31 -0500 Original-Received: by mail-pl1-x633.google.com with SMTP id a24so6729415plm.11 for ; Sun, 21 Feb 2021 17:35:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=OY4L9VJYg6ljfU/nmMU4e4n4j6o7P/vkFVv+Z23v9KE=; b=c0ULeufPdzd+N8jBrj3o6wDuv/ZPezVW1kgH7vSTb6J8LA6z694Dr81rcJprQx20sE JRgdJhXpqm8CUoUfgcYuOwF8AXgkUu7Xa17CS2PAwJGuJgWg3c2poOmmsG9sOy2WaVrn MtVwD8d+NHR7ov1oSjs/5GMoYUuen0d8oj9V/HUH5rbXOEx0pgiEepkuEZpNSWCeYIyU eerkxQTw6iOlMFdvSGMjOmDIGjHkJbMFJ7Kd5+PnTH61ZzjbVqwMDl1zspMClnEEDyCE hGpYeD+t08ztwwpIn8t6I3U1NS8vROdZzBKBA93UVnlxyC6Av0aoSoOMBk6MTnja0NCp fibQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=OY4L9VJYg6ljfU/nmMU4e4n4j6o7P/vkFVv+Z23v9KE=; b=Dc31GXMHUOZfxgQzzVATXKh3ovgeLlJfbntibLFvNba2RwILMJ5xHZ+VJHLaBF9H49 1bfdECbauKUoBe+GyCSSu3eleoI4by1obzQ1D9FNI6P6eWUBtTfCNqggIP2Y0Yhqp3Rf uF6JQWW0czWF+HDUuAd9ku9aCZCvOq4xX7PYKNEThyIZSDfv7h56/UoPa5zLLpX0lk0E 2g3taGJ4croDX+ay1m5n/YYLWCnP6tQjiunHZ62sUINmtDPrxEEaCGNwieOpXtV5END7 3a4d+NtnPjZ5axIZZrMyZ7zdDui+xh9aN3VrZ7/eQw8+NlClg50ojGjmJ8m475MEk71F UF/w== X-Gm-Message-State: AOAM530Q7LqIu2GQjdJY6gmgFzXuC1JAEI1vbMZEcPVLTM/KZ2FcnzqZ igdfMfAsWXT2WKtu/EQhzBXVR9nR5Ac= X-Google-Smtp-Source: ABdhPJx7C4UEPOgx/1CxaJvCgQetIxPBA/g9WHpGphfPYm6E2r4VvWJ6w8SJ2DU+7dvCVT6zzI6L3w== X-Received: by 2002:a17:902:b711:b029:e3:71f1:e08e with SMTP id d17-20020a170902b711b02900e371f1e08emr12785694pls.18.1613957724651; Sun, 21 Feb 2021 17:35:24 -0800 (PST) Original-Received: from tim-desktop (106-69-124-219.dyn.iinet.net.au. [106.69.124.219]) by smtp.gmail.com with ESMTPSA id l22sm13909958pjy.6.2021.02.21.17.35.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Feb 2021 17:35:24 -0800 (PST) In-reply-to: <8735xp5lb9.fsf@mat.ucm.es> Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x633.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:265448 Archived-At: Uwe Brauer writes: > Hi > > I am not sure I will switch to a Mac, but I can use one for the moment > running Catalina (10.15). I know there are several options to obtain a > running GNU emacs of sorts. > > 1. Aquamacs (but this is based on GNU 25 and I am not sure what else > it uses). > > 2. https://emacsformacosx.com/ (haven't tried it out) it is 27.1-1 > which is pretty good. > > 3. Try the one shipped with fink (that fails at the moment), > macports (next candidate) or homebrew (I am sceptical about that > one since it does not rely on sudo) > > 4. Compile the latest master. This I want to do besides having an > official GNU emacs. > > > Lars does this regularly on MacPorts and it seems to work, so it tried > to follow him but on fink > > But configure fails > > I tried > ./configure --prefix=/opt/emacs28 --with-x-toolkit=athena --without-pop --with-mailutils > > Not sure about athena on fink, but it fails even before that. > > > configure: error: The following required libraries were not found: > gnutls > Maybe some development libraries/packages are missing? > To build anyway, give: > --with-gnutls=ifavailable > as options to configure. > oub@Uwes-MacBook-Air emacs % fink install gnutls > Password: > Information about 11044 packages read in 5 seconds. > Failed: no package found for specification 'gnutls'! > > I think the easiest approach is to use homebrew. You have at least 3 options with homebrew. There is the basic emacs recipe, which will build 27.1 by default, there is a pre-built 'cask' version which will just install it and then there are additional casks, like the rallycat/emacs cask which will install a pre-built macport version of 27.1 (which is what I use and find it really successful). If you go with the vanilla emacs homebrew recipe, you can add a command line option to have it build from the current repo HEAD. This is not a bad option if you want to run latest bleeding edge. I don't tend to do that because I prefer the stability of a released version when on the mac. Nice thing about homebrew is that it can install all the dependencies you need to build on the mac, like gnutls and libraries for svg etc. If your going to build from sources directly via a pull from the repo, I don't think you want the x-toolkit stuff. The mac doesn't include an X server anymore (you have to install XQuartz if you want an X server). Probably what you need is the ns libraries. Personally, I would go with homebrew and the emacs recipe or the rallycat cask and the macports Emacs it installs (Emacs 27.1). -- Tim Cross