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: Tue, 23 Feb 2021 06:32:09 +1100 Message-ID: References: <8735xp5lb9.fsf@mat.ucm.es> <877dn07ulj.fsf@gmail.com> <87mtvw1rfu.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000050f8cb05bbf1dc9a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6407"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 22 20:33:54 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 1lEGxu-0001ZZ-Om for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Feb 2021 20:33:54 +0100 Original-Received: from localhost ([::1]:60988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEGxq-0001zn-EE for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Feb 2021 14:33:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEGwW-0000UR-63 for emacs-devel@gnu.org; Mon, 22 Feb 2021 14:32:29 -0500 Original-Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:35057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEGwR-0006dx-CD for emacs-devel@gnu.org; Mon, 22 Feb 2021 14:32:27 -0500 Original-Received: by mail-ot1-x32f.google.com with SMTP id r19so5869140otk.2 for ; Mon, 22 Feb 2021 11:32:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=a2xrXF96VCGmbP1rwEehvGq+A3v/DIXMivrx+E5VI1A=; b=oYkKeg/tze9k3Ty3v83AQeTTAW0XBVrMa4oKBw1QSRtpe0qDc1nem+OkhILmqoQN/u EYUerFTm6369R6x9axYc7xlgyK1HzNdiSYlniw9t2k8Lc1F9OxZIzj54dVGZyKz5U9NN WIwZKiJqcwRJOSGMjtFUVq60lhJcxOaMS2ASk/RWTuNZXJGguQdsdmPx9tq6ASFQL0Nb dNpZJpMqxv1F5bFsvudimQ6hKjQ1VM+NwQS3C+WfUFkEzz7KppOHleK4LbqDUswcAi/u oimlG6ddkkRjWxLB8mlXSAnIOswDDP5fqt/oH2a8rtd+W1mu8gSiqVftvrRJw7CNji10 vc+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=a2xrXF96VCGmbP1rwEehvGq+A3v/DIXMivrx+E5VI1A=; b=SeQMwUvC9GnbOLPEOTDX4+GjMjXw8QmAyUNt5ivnrKGN3ZKTg23WHsrP0XRAyXE9Rr 1dEgsj+rlx37gCNdx3vR0o6RJo19+x4cwNyY+WIsN6QFDIVb+eJU3GAz/Tv3YtbxusXP 11OwNk/LggaWRgMAcSp8LoJUBudlWGaR1uQxdxWYG71PEP1ZUVhz+j653L+c/rElEMQG 4v8ZNZKOGHT15eRqQ7VJ+FTcfeyK24eIkwMRp26nZbUUbfI9qzfk5qn4ydkM7+KglnUg x3te8Qd9/9gXBr5NFOtLCwLHu0nePGeu00DmXc9umfioHWhyPJNC7DyLo9EBeG3uVUnM rQsw== X-Gm-Message-State: AOAM533NlMO88JaGijG2G7BqO3Zz/6sjZWQ9P+DFVIRJRSJHp5IXwoHw TuYicvd/0witmNK58Gwn8CwS/thhcydrDiJHoiTlILAQ X-Google-Smtp-Source: ABdhPJzuWdh1DgRQ+vlCRoSwUDXWBj1SF3+Ha3OMmIB/EO5Ms9cmWTIPPjflGS3khedYRH2pUtZ82ePx8WelXQAkpFc= X-Received: by 2002:a9d:67c1:: with SMTP id c1mr18228376otn.325.1614022341358; Mon, 22 Feb 2021 11:32:21 -0800 (PST) In-Reply-To: <87mtvw1rfu.fsf@mat.ucm.es> Received-SPF: pass client-ip=2607:f8b0:4864:20::32f; envelope-from=theophilusx@gmail.com; helo=mail-ot1-x32f.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, HTML_MESSAGE=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:265501 Archived-At: --00000000000050f8cb05bbf1dc9a Content-Type: text/plain; charset="UTF-8" iThe emacsforosx binaries work well and are fine if you don't want to actually compile fro source. BTW I don't think you should be overly concerned about homebrew not using sudo. While there are issues with homebrew on multi-use systems, the way it works without sudo is really no different to downloading the source and building it in your home directory and running it from there. Yes, it does store the software in /usr/local, but it is not installing it as root/system, but as your user (one reason it doesn't work well with multi-user systems). If you really want, you can install it within your home directory (although this can cause some problems with some recipes where the source expects to be installed in /usr/local and you will need to handle linking to bin dirs yourself). Main point is, homebrew isn't doing dangerous things with suid etc in order to avoid sudo and your not installing something which has dangerous escalated privileges etc. There are all the standard risks of installing software from the 'net', but these are no different whether you use sudo or not. On Mon, 22 Feb 2021 at 18:51, Uwe Brauer wrote: > > > Uwe Brauer writes: > > > > 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). > > > Thanks > > 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. > > I have XQuartz installed via fink but it turns out I will need to fiddle > the modifies (at least the fink version of emacs) > > > > Personally, I would go with homebrew and the emacs recipe or the > > rallycat cask and the macports Emacs it installs (Emacs 27.1). > > I might give also emacsforosx a try > -- regards, Tim -- Tim Cross --00000000000050f8cb05bbf1dc9a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
iThe emacsforosx=C2=A0binaries work well and are fine if y= ou don't want to actually compile fro source.=C2=A0

= BTW I don't think you should be overly concerned about homebrew not usi= ng sudo. While there are issues with homebrew on multi-use systems, the way= it works without sudo is really no different to downloading=C2=A0the sourc= e and building it in your home directory and running it from there. Yes, it= does store the software in /usr/local, but it is not installing it as root= /system, but as your user (one reason it doesn't work well with multi-u= ser systems). If you really want, you can install it within your home direc= tory (although this can cause some problems with some recipes where the sou= rce expects to be installed in /usr/local and you will need to handle linki= ng to bin dirs yourself).=C2=A0 Main point is, homebrew isn't doing dan= gerous things with suid etc in order to avoid sudo and your not installing = something which has dangerous escalated privileges etc. There are all the s= tandard risks of installing software from the 'net', but these are = no different whether you use sudo or not.=C2=A0

On Mon, 22 Feb 2021 = at 18:51, Uwe Brauer <oub@mat.ucm.es> wrote:
=C2=A0 =C2=A0> Uwe Brauer <oub@mat.ucm.es> writes:


=C2=A0 =C2=A0> I think the easiest approach is to use homebrew. You have= at least 3
=C2=A0 =C2=A0> options with homebrew. There is the basic emacs recipe, w= hich will build
=C2=A0 =C2=A0> 27.1 by default, there is a pre-built 'cask' vers= ion which will just
=C2=A0 =C2=A0> install it and then there are additional casks, like the = rallycat/emacs
=C2=A0 =C2=A0> cask which will install a pre-built macport version of 27= .1 (which is
=C2=A0 =C2=A0> what I use and find it really successful).


Thanks
=C2=A0 =C2=A0> Nice thing about homebrew is that it can install all the = dependencies
=C2=A0 =C2=A0> you need to build on the mac, like gnutls and libraries f= or svg etc.

=C2=A0 =C2=A0> If your going to build from sources directly via a pull f= rom the repo, I
=C2=A0 =C2=A0> don't think you want the x-toolkit stuff. The mac doe= sn't include an X
=C2=A0 =C2=A0> server anymore (you have to install XQuartz if you want a= n X server).
=C2=A0 =C2=A0> Probably what you need is the ns libraries.

I have XQuartz installed via fink but it turns out I will need to fiddle the modifies (at least the fink version of emacs)


=C2=A0 =C2=A0> Personally, I would go with homebrew and the emacs recipe= or the
=C2=A0 =C2=A0> rallycat cask and the macports Emacs it installs (Emacs 2= 7.1).

I might=C2=A0 give also emacsforosx a try


--
regards,

Tim

--
Tim Cross

--00000000000050f8cb05bbf1dc9a--