From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55769 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: updating Minimals for MKIV Date: Sat, 23 Jan 2010 13:17:19 -0500 (EST) Message-ID: References: <20100122121417.6a4114c8@gaura-nitai.no-ip.org> <4B59932B.7080605@wxs.nl> <20100122145255.42e5cd08@gaura-nitai.no-ip.org> <20100123090645.604d4ab8@gaura-nitai.no-ip.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-979907449-1264270640=:11945" X-Trace: ger.gmane.org 1264270690 7878 80.91.229.12 (23 Jan 2010 18:18:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2010 18:18:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 23 19:18:03 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NYkYc-0000QJ-RE for gctc-ntg-context-518@m.gmane.org; Sat, 23 Jan 2010 19:18:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60D41C9C4A; Sat, 23 Jan 2010 19:17:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0DqVth0rNfPL; Sat, 23 Jan 2010 19:17:34 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D24C8C9C2B; Sat, 23 Jan 2010 19:17:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7F2A5C9C2B for ; Sat, 23 Jan 2010 19:17:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9jqmHbNoTyH0 for ; Sat, 23 Jan 2010 19:17:12 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by balder.ntg.nl (Postfix) with ESMTP id 4F0C7C9C1F for ; Sat, 23 Jan 2010 19:17:11 +0100 (CET) Original-Received: FROM [192.168.2.8] (c-76-28-91-31.hsd1.ct.comcast.net [76.28.91.31]) By hellskitchen.mr.itd.umich.edu ID 4B5B3D26.4E55E.5377 ; Authuser adityam; 23 Jan 2010 13:17:10 EST In-Reply-To: <20100123090645.604d4ab8@gaura-nitai.no-ip.org> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55769 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-979907449-1264270640=:11945 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 23 Jan 2010, Gour wrote: > On Fri, 22 Jan 2010 14:40:16 -0500 (EST) >>>>>>> "Aditya" =3D=3D Aditya Mahajan wrote: > > Aditya> It is possible that the earlier build sometimes ended up > Aditya> creating a $HOME/texmf-cache directory as root. If that > Aditya> happened, you will need to forcably remove $HOME/texmf-cache > Aditya> before reinstalling the package. > > I've removed $HOME/texmf-cache and tried again (with bauerbill, yaourt > is becoming too buggy): I have been testing with yaourt. I will check bauerbill to see if it is=20 doing something different (it should not) > [root@gaura-nitai gour] bb -Sy Ah. I usually run with sudo which does not change $HOME. > context-minimals-git warning: context-minimals-git does not match any > package or group in sync db --> Searching for packages in AUR... > --> Loading AUR taurball data... > warning: about to > source /tmp/bauerbill/build/AUR/context-minimals-git/PKGBUILD view [v] > backup [b] edit [e] continue [ok] abort [x] ok --> an associated > install file was found for > context-minimals-git: /tmp/bauerbill/build/AUR/context-minimals-git/conte= xt-minimals-git.install > view [v] backup [b] edit [e] continue [ok] abort [x] ok --> > Loading ABS taurball data... --> detected PKGDEST in /etc/makepkg.conf > --> Determining sizes of source files... --> Building > context-minimals-git... --> > Installing /var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg= =2Etar.gz... > --> Running pacman: /usr/bin/sudo /usr/bin/pacman --cachedir > "/var/cache/pacman/pkg" > -U /var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz > loading package data... checking dependencies... (1/1) checking for > file conflicts > [########################################################################= ############] > 100% (1/1) upgrading context-minimals-git > [########################################################################= ############] > 100% mktexlsr: Updating /opt/context-minimals/texmf/ls-R... mktexlsr: > Updating /opt/context-minimals/texmf-context/ls-R... mktexlsr: > Updating /opt/context-minimals/texmf-fonts/ls-R... mktexlsr: > Updating /opt/context-minimals/texmf-linux-64/ls-R... mktexlsr: > Updating /opt/context-minimals/texmf-local/ls-R... mktexlsr: Done. > > ^^^^ Here I had to presee Enter twice in order to continue!!!! Strange. On my machine I do not need to do this. > generating tex format cont-en This is pdfTeX, Version 3.1415926-1.40.10 > [...] > /opt/context-minimals/texmf-linux-64/web2c/pdftex/cont-en.fmt > [...] > /opt/context-minimals/texmf-linux-64/web2c/metafun.mem (486776) This means that the formats are created correctly. > After that I run: luatools --generated Is that a typo (--generate), or did your really type --generated? Did you run source /opt/context-minimals/setuptex before that. > and attempt to typeset 'hello world example > > \starttext > Hello World =C5=A1=C5=A0 =C4=91=C4=90 =C4=8D=C4=8C =C4=87=C4=86 =C5=BE=C5= =BD > \stoptext > > > gives: > > [gour@gaura-nitai tmp] context lt.tex > MTXrun | warning: no format found, forcing remake (commandline driven) > MTXrun | running command: luatools --generate > LuaTools | fileio: variable SELFAUTOLOC set to /usr/bin This is the wrong luatools!!! My guess is that you are not running source /opt/context-minimals/setuptex so the path is not reset and you are using luatools from texlive. > LuaTools | fileio: variable SELFAUTODIR set to /usr > LuaTools | fileio: variable SELFAUTOPARENT set to / > LuaTools | fileio: variable TEXMFCNF set to > {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c} > LuaTools | fileio: loading /usr/share/texmf/web2c/texmf.cnf > LuaTools | fileio: preparing configuration for /usr/share/texmf/web2c These are texlive paths. What does "which luatools" give? You should get /opt/context-minimals/texmf-linux-64/bin/luatools or /opt/context-minimals/texmf-linux/bin/luatools depending on whether you are running 64bit or 32bit architecture. > MTXrun | fatal error, return code: 1 > > So, something is still broken, either with the pkgbuild or with the > luatex itself? There is something wrong with PKGBUILD because you still need to press=20 enters during the installation. But once you do that, the installation=20 should go on correctly. However, you are not running the minimals=20 correctly. Context-minimals is installed in parallel to texlive and as such does not= =20 add its binaries to the $PATH. This way, you can always run texlive. When= =20 you need to run the minimals, you need to execute source /opt/context-minimals/setuptex which sets some environment variables so that the minimal binaries are in= =20 $PATH. You always need to source setuptex before you use minimals. If you= =20 do not use texlive ever, you can add source /opt/context-minimals/setuptex= =20 to your .bashrc (or the rc file for whatever shell you use). If you invoke= =20 context from an editor, you can change the editor's startup scripts so=20 that setuptex is sourced before the editor is started. Aditya --8323328-979907449-1264270640=:11945 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --8323328-979907449-1264270640=:11945--