From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/117398 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Carlos via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex Date: Mon, 10 Apr 2023 21:47:03 -0400 Message-ID: <20230411014703.rnl5sxgpi4ubitgv@gmail.com> References: <20230410235805.ahlty7ebnsxrpzgg@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30730"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Carlos To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 11 03:47:49 2023 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.ntg.nl ([5.39.185.232]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pm36q-0007ne-AU for gctc-ntg-context-518@m.gmane-mx.org; Tue, 11 Apr 2023 03:47:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7DFCD1C2F1F; Tue, 11 Apr 2023 03:47:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id azXrjXz9gwjq; Tue, 11 Apr 2023 03:47:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4C54E1C10EF; Tue, 11 Apr 2023 03:47:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 269961C10EF for ; Tue, 11 Apr 2023 03:47:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o42VRsARHvqK for ; Tue, 11 Apr 2023 03:47:18 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=116.202.254.214; helo=ciao.gmane.io; envelope-from=gctc-ntg-context-518@m.gmane-mx.org; receiver= Original-Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7A4B31C0940 for ; Tue, 11 Apr 2023 03:47:18 +0200 (CEST) Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pm36K-0007B1-Bz for ntg-context@ntg.nl; Tue, 11 Apr 2023 03:47:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Content-Disposition: inline In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.29 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:117398 Archived-At: On Mon, Apr 10, 2023 at 08:51:58PM -0400, Aditya Mahajan via ntg-context wrote: > On Mon, 10 Apr 2023, Carlos via ntg-context wrote: > > > I'm just following some of the standalone installation instructions > > as per the wiki alongside a TeX Live installation, but there are a > > few things that don't add up or I can't seem to add them up :). > > > > first, while I was trying to mtxrun --generate it returned > > > > /usr/bin/env texlua no such file or directory > > > > So I thought heck, perhaps by creating a symbolic link we'll call it > > a day, but that wasn't enough, nope. > > > > This is is circa 21st century ladies and gentlemen! > > > > so I thought, alright, since there seems ot be a a problem with texlua, > > let's also add it to path somehow. > > Did you source the `setuptex` script, which sets the correct path. Of course I sourced it and complains about plain.tex > > > So with that out of the way, we'll move on to the next step and change > > to a directory and try to call out mtxrun --generate again > > > > It returns: > > > > mtxrun --generate resolvers | resolving | variable 'SELFAUTOLOC' > > set to '/home/ce/context/bin' resolvers | resolving | variable > > This appears to be the wrong mtxrun binary. You should include the PATH variable listed as part of the installation. It should point to `/home/ce/context/texmf-linux-64/bin` or something similar. binaries. Let's start over for the simple reason that texmfcnf.lua does not exist. Not through a TeX Live infrastructure only installation anyway. let's run ./install --modules=all and it rightly reports that mtx-update | updating mtxrun for linux-64: rsync -tgo --chmod=a+x '/home/ce/context-install/tex/texmf-context/scripts/context/lua/mtxrun.lua' '/home/ce/context-install/tex/texmf-linux-64/bin/mtxrun' mtx-update | run, rsync -tgo --chmod=a+x '/home/ce/context-install/tex/texmf-context/scripts/context/lua/mtxrun.lua' '/home/ce/context-install/tex/texmf-linux-64/bin/mtxrun' rsync: [Receiver] change_dir#3 "/home/ce/context-install/tex/texmf-linux-64/bin" failed: No such file or directory (2) rsync error: errors selecting input/output files, dirs (code 3) at main.c(827) [Receiver=3.2.7] resolvers | tds | no 'texmf-linux-64' under tree '/home/ce/context-install/tex' Now. Let's add the directories, correct? If you were to look at the following resolvers | resolving | using configuration specification 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf-dist/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf-dist/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf-dist/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf-dist/web2c,selfautodir:/texmf/web2c,$SELFAUTOGRANDPARENT/texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf-dist/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf-dist/web2c,selfautoparent:/texmf/web2c}' resolvers | resolving | resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/home/ce/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '/home/ce/context-install/tex/texmf-linux-64/bin' from specification 'selfautoloc:' you'd notice that is looking over and over for a texmfcnf.lua But where is my texmfcnf.lua? Would you know? :) Because I don't. The only instance of a texmfcnf.lua dates back to a prepackaged installation that is no longer there anyway it points to a prepackaged texlive which I'm not using and not planning to. and what I have under TEXMFHOME which doesn't amount to much anyway , or what's important for the current issue is amiga-pl.tcx cp8bit.tcx il2-t1.tcx mktex.opt tcvn-t5.tcx cp1250cs.tcx empty.tcx kam-cs.tcx mktexdir texmf.cnf cp1250pl.tcx fmtutil-hdr.cnf kam-t1.tcx mktexdir.opt updmap-hdr.cfg cp1250t1.tcx fmtutil.cnf macce-pl.tcx mktexnam updmap.cfg cp227.tcx il1-t1.tcx macce-t1.tcx mktexnam.opt viscii-t5.tcx cp852-cs.tcx il2-cs.tcx maz-pl.tcx mktexupd cp852-pl.tcx il2-pl.tcx mktex.cnf natural.tcx which as you fully know, it doesn't help What is TeX Live infrastructure doing is the question It's besides the point to call out ./tlmgr install context here because mtx is no longer there anyway for what's worth Welcome to TeX Live! See ../texlive/2023/index.html for links to documentation. The TeX Live web site (https://tug.org/texlive/) contains any updates and corrections. TeX Live is a joint project of the TeX user groups around the world; please consider supporting it by joining the group best for you. The list of groups is available on the web at https://tug.org/usergroups.html. Add ../texlive/2023/texmf-dist/doc/man to MANPATH. Add ../texlive/2023/texmf-dist/doc/info to INFOPATH. Most importantly, add ../texlive/2023/bin/x86_64-linux to your PATH for current and future sessions. Logfile: ../texlive/2023/install-tl.log > > Aditya > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > ___________________________________________________________________________________ > -- [It is] best to confuse only one issue at a time. -- K&R ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________