From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Resources for an old newbie ? Date: Sun, 04 Jun 2023 03:31:27 +0200 Message-ID: <87leh0xbbk.fsf@dataswamp.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32706"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:nZhgDGWfWpkVH4RLesBy8JMuUJo= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 13:56:47 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 1q5mLn-0008L7-6l for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 13:56:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5mLC-0003CE-0a; Sun, 04 Jun 2023 07:56:10 -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 1q5cb3-0007T0-Tj for help-gnu-emacs@gnu.org; Sat, 03 Jun 2023 21:31:53 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5cb1-0001Aj-C8 for help-gnu-emacs@gnu.org; Sat, 03 Jun 2023 21:31:53 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1q5cay-0003B3-H7 for help-gnu-emacs@gnu.org; Sun, 04 Jun 2023 03:31:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 04 Jun 2023 07:56:08 -0400 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:143853 Archived-At: David Masterson writes: >> # 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. Don't know - how much is a lot? It is what you need/want anyway ... >> # 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. Immediate after 'git clone' there are probably no changes to pull, try it again later. It is used to update, in that situation you only do it (step 4) and then step 5 below. >> # 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) Those are only my settings, adjust for your purposes obviously. > 2. autogen.sh and configure need "./" in front of them (you > never know what PATH the user is using). Right, good point. Yes, I have "." first in $PATH. > 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. Okay, that should mean that --with-native-compilation is on by default since I know that happens. > 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... ;) Tell us how it went ... -- underground experts united https://dataswamp.org/~incal