From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44197 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Updating LuaTeX after MacTeX-TeXLive 2008 Date: Mon, 22 Sep 2008 13:04:46 +0200 Message-ID: <6faad9f00809220404vfb7ae9dm7f19978678d39e88@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222081598 799 80.91.229.12 (22 Sep 2008 11:06:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2008 11:06:38 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 22 13:07:31 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KhjGK-0003MB-Jb for gctc-ntg-context-518@m.gmane.org; Mon, 22 Sep 2008 13:07:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F59C20007; Mon, 22 Sep 2008 13:06:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23955-01-12; Mon, 22 Sep 2008 13:05:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01E0720021; Mon, 22 Sep 2008 13:05:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 00DA620015 for ; Mon, 22 Sep 2008 13:05:26 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25307-01-4 for ; Mon, 22 Sep 2008 13:04:50 +0200 (CEST) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.158]) by ronja.ntg.nl (Postfix) with ESMTP id 074EB1FFFC for ; Mon, 22 Sep 2008 13:04:47 +0200 (CEST) Original-Received: by yx-out-1718.google.com with SMTP id 3so232916yxi.74 for ; Mon, 22 Sep 2008 04:04:46 -0700 (PDT) Original-Received: by 10.151.112.19 with SMTP id p19mr7142742ybm.30.1222081486870; Mon, 22 Sep 2008 04:04:46 -0700 (PDT) Original-Received: by 10.150.137.7 with HTTP; Mon, 22 Sep 2008 04:04:46 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44197 Archived-At: On Mon, Sep 22, 2008 at 12:03 PM, Robert Blackstone wrote: > Hi Mojca, > > Thank you for your help. My problem is not over though, and a new problem > has turned up. > > The first steps you described, In NTG-context Digest Vol 51, issue 81, > message 8, worked, that is, with sudo. > > However, the last four commands, "texexec --make --all", "texexec --make > --xtx --all", "luatools --generate" and "context --make", returned the usual > error messages (with and without sudo and and issued from any directory > along the path "/usr/local/texlive/2008/bin/universal-darwin"): > > RBs-Powerbook:/ robert$ sudo texexec --make --all > > sudo: texexec: command not found > > RBs-Powerbook:/ robert$ sudo texexec --make --xtx --all > > sudo: texexec: command not found > > RBs-Powerbook:/ robert$ sudo luatools --generate > > LuaTools | error unable to identify cnf file > > LuaTools | error unable to identify cnf file > > LuaTools | no cnf files found (TEXMFCNF may not be set/known) > > LuaTools | > > LuaTools | runtime: 0.009 seconds > > RBs-Powerbook:/ robert$ sudo context --make > > sudo: context: command not found > > In addition another problem has turned up: I cannot use Context anymore, > with TeXlive-2008 and TeXshop. When typesetting a file I get the following > message: > > "/Users/robert/Library/TeXShop/Engines/context.engine: line 3: > /usr/texbin/texmfstart: Permission denied" > > Line 3 of context.engine reads: texmfstart texexec --pdf > --passon="-synctex=1" "$1" > > I already changed permissions of file texmfstart.rb to: Owner robert, Read & > Write. It didn't help. > > When I choose TeXlive-2007 ConTeXt works OK. > > So, what could I do about these two problems (which may be unconnected)? > > Thanks in advance. > > Robert Blackstone Whoooops. Apparently "sudo" (root) user doesn't know about TeXLive paths, and you might not have sufficient rights to modify the files yourself. Are you the only user of your computer? Who's currently the owner of /usr/local/texlive? I would do the following (though it's *not* a general recipe): sudo chown -R yourname:yourgroup /usr/local/texlive (may take a while) and then repeat the steps without sudo. Possibly you want to change the owner back to root afterwards. rsync with sudo indeed behaves a bit weird, and without sudo you are probably not able to overwrite those files. Mojca PS: Honestly, I'm also not sure if "texexec --make" will use the right directory to store formats (if you update TL later, it might shield the system formats in some cases). Maybe I was using sudo fmtutil-sys --byfmt cont-en or sudo fmtutil-sys --all when generating MKII the formats (instead of texexec --make). But I don't remember. ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________