From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: Resources for an old newbie ? Date: Sat, 03 Jun 2023 18:00:30 -0700 Message-ID: References: <0e037ca2-517d-3b52-2187-a7bba7956fbd@starynkevitch.net> <87353ndhzg.fsf@web.de> <871qj7397n.fsf@dataswamp.org> <87ilch19ub.fsf@dataswamp.org> <87cz2nvk51.fsf@web.de> <87v8gfybhv.fsf@robbyzambito.me> <87zg5p5hm0.fsf@web.de> <875y8a698v.fsf@web.de> <875y89z9m7.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22509"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 03:06:22 2023 Return-path: Envelope-to: geh-help-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 1q5cCL-0005dE-UE for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 03:06:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5cBh-000421-LQ; Sat, 03 Jun 2023 21:05:41 -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 1q5cBg-00041t-QY for help-gnu-emacs@gnu.org; Sat, 03 Jun 2023 21:05:40 -0400 Original-Received: from mail-dm6nam04olkn2081f.outbound.protection.outlook.com ([2a01:111:f400:7e8b::81f] helo=NAM04-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5cBd-0005H3-8u for help-gnu-emacs@gnu.org; Sat, 03 Jun 2023 21:05:40 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k0TeiVccl+UguDYiBuLbRQKXccQJ8sABdKZou55VFrqOHjR0JEtXeTVx96CTHzWrlJeD91K1VJxkeG8hm2kJnMA+ezr77cx8iCZ8p5eVGCnWdU6t+6SsPeLd2qTk1uC9I/0HQOcRrFOyigKv+A6zJNqCcW4g5w8eH1jlzV1z0fJW0dJoWAqYb1rLcsu3y83vyGuoz959T/OBbImmP+P5vhrErzh4ZertVvRWoT7rFD82SgP5NPvb4Yp9EQzQbsBh+wa/kjEKdYP0+rjg8cw6Hb4LNR6Fya216M5y7G+I0crMpegPtivfQcM9uBH7ogPlr6RRnG/lN6KjLb5dh3uUsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fvqbk5E6vsKRIn3A9RCgmlP4wh2p3QRvC+eIJlXkHic=; b=hFq+nx/qUf5M3lETY9gTZ/OaLhAlHBAKs3fs/pKMzWMeP6EJJKS9fKiQ1eHNbuTbWwsPRl82SoAiYEQwii2FUORYexop1elwTpV15tXBCyGWNt7I7v1QBVf2sXFywAF9OFUZp1lhwTLQhGWKwPcyzbfU07eYKkWBlzRTQHdRUzo6foC3NY7br5rR796/hfl74Np2wAg3Jz5ezM2TyjgCryH7MPw1x0t+vcfsGQTS2WmTy5isrLnCHQ69OyfFNrlrtNLvMGHH3/CsLtpQAswsipHZeWj590Ji1sbPRNrbZVosb41qpS/vw8bLy+jsu5ncmw7g7Rj+sbhPrgVgvIsdmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fvqbk5E6vsKRIn3A9RCgmlP4wh2p3QRvC+eIJlXkHic=; b=U6A3AP6/Lw9YrNb6Oy0VT1ViK1Pecp3vmpY4SsiOwm3MgsycVZR6zlPWsMytA0/LH1rHkzDS3x6bNHNx+LpQfnp5uMNQmNBYoZkz5PBpKn7YpouwUaptujcZGMVVYbFhEFp4YkCUPEH9s7EC148GM21wtMV0QFRLAHoVvszo1pffe4ilS/3u+RK3gZxoKpAV9RMpoocjkncHttXHGPYtwpzUDYazS4hr6DTO4xEeE/lNM2wvWU+UprsgdtFHMaZkvBSyx6BkTmy8S/64IYFKHBzEo0f91yzc0g7834ShUKWHC1YQ293poeInNjdUkCMmvgR0ZtduJIAxJbsKNTZGEQ== Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by SJ2PR03MB7354.namprd03.prod.outlook.com (2603:10b6:a03:567::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.28; Sun, 4 Jun 2023 01:00:33 +0000 Original-Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::499:a72:e468:8ee9]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::499:a72:e468:8ee9%6]) with mapi id 15.20.6455.028; Sun, 4 Jun 2023 01:00:32 +0000 In-Reply-To: <875y89z9m7.fsf@dataswamp.org> (Emanuel Berg's message of "Wed, 31 May 2023 01:24:00 +0200") X-TMN: [tXuGnzjkXln0olboc/MOqmdcg7UQCf0Zkwsy+0gW3vL47RP7qlvl7OBRtSWAE+u2] X-ClientProxiedBy: PH8PR20CA0014.namprd20.prod.outlook.com (2603:10b6:510:23c::24) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87bkhw59e9.fsf@penguin> X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB5455:EE_|SJ2PR03MB7354:EE_ X-MS-Office365-Filtering-Correlation-Id: 54a6cd75-1841-48a1-8dc2-08db649718ee X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QuKiFwKBGWH30ARTM2dNv+ay563WUSPITUoLHFwYB0lv8Nf3qDh4XHH9PUt6axDPFHkbqqG7K9R+cFk851cF0j7L/Uq/lUuvEtW/a/hnNvJ1Ei2xnkzaVIpMv4Rxlqwf2OBOwEO6TaVwBksj1uZ9GCkf/jwbFSnyTuZNQXJYO60kT8imkLcYGgh1MfNB2HmFFj7mzCNfJSMaPaxHNXvFAWxMifLAUY76CL1pGYOPX3pSumsk6skyY2MqidDQtUWNCtAZ246WQmqCMpEKY0NuU84CZeqk6SOYl4UD2grFWzXvAPeSwQ6t3+pbKe5RrsVEeeIYvSprTat0IKH5NbMHPAHqcPt24+rpa5dypEs9zWVp3ynCj1ZG9KmVEmWeW9B03nDAJ0dji2TrHGnfIn96MLTL84N83m/9Id34SPKGcFcy7aamybJKWGAh1m8CtbBoWyM5O+4RTT6/1yJ/Zc6PDwfxdmKKNe0FLCLRQoZ/2gBgtFjObbk/OUpiGM+a5m+ctwwbGIhD0vsvHY3ioCJnc4u8NB5Iz615UCv6lh6fbcfoIn6sHWCHzHLQ+YUwBvDy1tAC2aWOxMBZqeVt09PwELeVrW8OrPoCuEk2+Wx+bXU= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?MFSmJOYUINW/s2WXC4S2YtOey9w2GL+11DQ3o5/oPgWRzF6D76mk3XtHYTKH?= =?us-ascii?Q?uhEvDS0Wm5H1I8VGe6M4x2OU2HBrp44gy0DOeB7Rb8JOSQg6kfrEx+owaGoB?= =?us-ascii?Q?c5tvY/OmzEiEnoMnHeEvT5/AWzPh3ndGXktAqnU+2rOTgJifjOL+h7fs7Rv1?= =?us-ascii?Q?4sIjrAByKdo5QMXaOBfjp9IHsHULPKKoevqambfJdjFh/w4YB2y3VHH8I45Z?= =?us-ascii?Q?J9/hHmhIxVgrXGVGWl6b/VN/32bglA1tx8iYiRy8g0ID9wJQhp9K9q1hEAL1?= =?us-ascii?Q?5KSGeIz/FYBmrpkBKWIeL4bZOAL13wkKtLUprYrsCz9PgRBs4ohn34h54Nqp?= =?us-ascii?Q?1bGg5sTNpSrWtZ0McjMtGjPtzw9XoaktNqNrnyNpREcH26FA+TVEdOYMbL+u?= =?us-ascii?Q?SpgUe4ahVOq0+m3rkXXp3C2CJcTz9vqEb77SLFVJwRWPpYH/vrcQHxvsrqwj?= =?us-ascii?Q?vgKMobagqfOGe/srZui5AHsga/522eJtMkRlqUkd4EhO8vamV4084w4oYR28?= =?us-ascii?Q?V4I3KsqrVLDya/WRhnJjoMv/Irz0T4uNkjdq8twec16lgsdcQrNtfYIoJEAL?= =?us-ascii?Q?HsfvJDsEyKVo1yYJbh9Jse5AOuSSlFXUWRz05fKRTTUhxxhywjc6M6OAsbis?= =?us-ascii?Q?au X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54a6cd75-1841-48a1-8dc2-08db649718ee X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB5455.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2023 01:00:32.7624 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR03MB7354 Received-SPF: pass client-ip=2a01:111:f400:7e8b::81f; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM04-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143837 Archived-At: Emanuel Berg writes: > Here are the minimal (?) commands required to install the > latest Emacs on Debian. > > I removed the shell functions in this version, if that is what > made it so scary last time. (But actually I recommend using > functions: less error prone, faster and more reliable.) > > Anyway, as you now see below beyond doubt, it is > a trivial affair. > > Installing Emacs is step 1-3 and 5, that is 12 commands. > Upgrading it after that, step 4 and 5, is only 7 commands. > All of them well familiar to most Joe Unix Hacker on > the globe. > > If one can do it better or shorter, do say! And when we are > done, we could mail the EmacsWiki maintainers and ask them to > publish the list of commands, if they lack such a page. > > # 1. setup directories > src_dir=~/src > emacs_dir=${src_dir}/emacs > mkdir -p $emacs_dir > > # 2. get dependencies > sudo apt-get -qq update > sudo apt-get install build-essential debian-goodies libgccjit-10-dev > sudo apt-get build-dep emacs This pulled in a *LOT* of stuff. > # 3. get source > cd $src_dir > git clone https://git.savannah.gnu.org/git/emacs.git > > # 4. refresh source/upgrade > cd $emacs_dir > git fetch > git merge I modified this to 'git pull' as previously suggested. There was nothing to pull. > # 5. compile and install > autogen.sh > configure --with-x-toolkit=no --with-native-compilation > make > sudo make install Gave this a try. Still having problems: 1. with-x-toolkit=no means no Lucid or GTK -- the process gets much more complex for dependency if you want a toolkit (I think Lucid is easier than GTK) 2. autogen.sh and configure need "./" in front of them (you never know what PATH the user is using). 3. The GNUMakefile in the Emacs distribution seems to rerun configure with no options, so your "configure" is NO-OP. 4. You can add arguments to the configure in the make step by passing 'configure="--ARG1..."' to make. 5. Even so, after doing everything else you listed and using your configure options, I got these libraries missing with configure suggesting how to get around it: libXpm libjpeg libgif/libungif libtiff gnutls 6. Oops -- missed the build-dep step! Got thru configure and it's building properly, but it's gonna take awhile... ;) 7. Probably should've tee'd the output of make to a log file... :( I'm building on a Chromebook with a basic Debian v11.7. > https://dataswamp.org/~incal/conf/.zsh/install-emacs > (with functions, recommended) > > https://dataswamp.org/~incal/scripts/emacs-install-minimal > (as a script) -- David Masterson