From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Resources for an old newbie ? Date: Sun, 04 Jun 2023 08:25:25 +0300 Message-ID: <83fs777q9m.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20841"; mail-complaints-to="usenet@ciao.gmane.io" 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 07:25:13 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 1q5gEr-0005Fq-Lt for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 07:25:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5gEF-0002GW-Rf; Sun, 04 Jun 2023 01:24:35 -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 1q5gED-0002GF-G4 for help-gnu-emacs@gnu.org; Sun, 04 Jun 2023 01:24:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5gED-0000xx-6w for help-gnu-emacs@gnu.org; Sun, 04 Jun 2023 01:24:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PQ/Pqx1gjTXD+9hBt0lR7mZpOpY+mIsvtlfHpPNOiis=; b=QOekXbN32rJx nmAGXojUPwfHtfEef5m4NLiQr+NsFc1FBVabUx22n2EeMEwL282Z5wm30wBOQtXEVFtBscQs4vMQE 3Aus7XEPczpGAohSclvNFJnHqOKjheJEj03J6pb22gJ59bfk08KUj4euVXUMxdy2RBvGdEIMN2tSp ZQXChTFEd7yndaiTPeST9B2TGNJK4dC4GP7Bfn6aK78yMEVPytQznaE+QV8ujwGqzR8bVwlAPJD1U g98J2YjOMD4ipaiCQ1fcLToPp7MX7C7qi/2W8Ok0GBWKKXxCsXE+vQH4PwrSK7NLk36X0kBKQjLdL +9twGHlwE/c+edXakAtgew==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5gEC-0007Mg-Lq for help-gnu-emacs@gnu.org; Sun, 04 Jun 2023 01:24:32 -0400 In-Reply-To: (message from David Masterson on Sat, 03 Jun 2023 18:00:30 -0700) 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:143840 Archived-At: > From: David Masterson > Date: Sat, 03 Jun 2023 18:00:30 -0700 > > > # 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: Is this about concise and comprehensive instructions for how to build Emacs? In such cases, I've many times found the "Linux from scratch!" site very useful. In this case, read here: https://www.linuxfromscratch.org/blfs/view/svn/postlfs/emacs.html This lists all the dependencies, both mandatory and optional. Each dependency is a link to another page, which describes how to build it (if you don't have it installed already, and cannot download a pre-built package). If you want to decide which optional dependency you want, read the file INSTALL in the Emacs source tree, it gives that information. > 3. The GNUMakefile in the Emacs distribution seems to rerun configure > with no options, so your "configure" is NO-OP. That's incorrect. I guess you've misread GNUMakefile. In reality, if you have run the configure script, GNUMakefile redirects to the top-level Makefile, and that obeys the configure-time options. > 4. You can add arguments to the configure in the make step by passing > 'configure="--ARG1..."' to make. True. Type "./configure --help" for the full story. > 7. Probably should've tee'd the output of make to a log file... :( Or run the commands inside Emacs's shell mode.