2009/3/30 Robert Blackstone wrote:
In order to be able to use MkIV and Luatex I started, as a MacTeX-user, by updating ConTeXt (MacTeX: You need to update ConTeXt first.), following instructions on
http://wiki.contextgarden.net/Running_Mark_IV#Updating_ConTeXt
The command as given (copied and pasted in terminal) does not work: everything fails: Operation not permitted. Redoing it as Sudo does the job. But then: “luatools --generate” gives: -bash: /usr/texbin/luatools: Permission denied, “sudo luatools --generate” gives “luatools: command not found”. So I cd-ed to /usr/texbin, gave the command “sudo chmod 755 luatools” and then “luatools --generate” and got:
Hello Robert, I wrote those instructions a long while ago, working on Tiger and having a whole lot of TeX binaries lying around, most probably I also did "chown myname" to the whole TeX tree before performing any operation described there. I have a "clean" system installed now, I'll try to review the instructions, but if anyone else volunteers, please step forward. But some important notes: - You probably need to execute the rsync command as root, else you cannot sync anything - If you do rsync as root, the owner id is preserved, which is probably not what you want (if anyone has a quick recipe, let me know; there must be some trivial switch to change the behaviour of that) - You can fix this by running "sudo chown -R root:wheel /usr/local/texlive/2008" (but I don't know the difference between root:wheel and root:staff) after you sync - The instructions are about using rsync with current context. I'm not sure if that version works with the latest LuaTeX (most probably not). - There are some issues with LuaTeX binaries for Mac that will hopefully be resolved soon, but one thing to note is that while Hans' latest version most probably requires LuaTeX 0.37, Mac binaries still contain LuaTeX 0.35 in the repository. OK, and I noticed one rather important thing now. TeX Live binaries like texexec are symbolic links to texexec.rb which is not executable in the repository from where you sync. this is fixed in TeX Live itself (I think), but not in the ConTeXt minimals repository. I'm now trying to figure out which step makes problems in "permission denied". Mojca
LuaTools | error unable to identify cnf file
LuaTools | no cnf files found (TEXMFCNF may not be set/known)
LuaTools |
LuaTools | runtime: 0.002 seconds
But worst of all is that after all this I could not use MkII any more: Older files that before updating had been nicely typeset couldn’t be processed anymore: permission denied. I tried “sudo chmod 755” on texexec and on texmfstart but that did not help.
So in the end I reinstalled MacTeX 2008 and I was back at where I started.
The least one can say is that the updating instructions on contextgarden do not work in all circumstances. In all fairness, everybody is warned: “Note that this is a quick-and-dirty way to upgrade TL. Use at your own risk. One should be able to update in a more elegant way.”
But now what? Lots of MacTeX-users must have successfully updated ConTeXt. Can anybody disclose a more elegant way that worked for them? Especially one that does not render the existing ConTeXt useless by meddling with permissions.
Just for the sake of completeness, I use an Intel iMac under OSX 10.5.6.
Thanks in advance,
Robert Blackstone