In order to be able to use MkIV and Luatex I started, as a MacTeX-user, by updating ConTeXt (*MacTeX*http://wiki.contextgarden.net/index.php?title=MacTeX&action=edit&redlink=1: You need to updatehttp://wiki.contextgarden.net/Running_Mark_IV#Updating_ConTeXtConTeXt 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: 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
Am 2009-03-30 um 11:53 schrieb Robert Blackstone:
But now what? Lots of MacTeX-users must have successfully updated ConTeXt.
Perhaps not - most(?) ConTeXt users use the minimals nowadays. You can also install them parallely to MacTeX, if you still need LaTeX.
Just for the sake of completeness, I use an Intel iMac under OSX 10.5.6.
Same setup here, minimals work ok. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
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
On Mon, Mar 30, 2009 at 12:27, Mojca Miklavec wrote:
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.
Can you please try if the following four operations (be careful - these are single lines that will probably break in mail) work OK for you?
sudo chown -R root:wheel /usr/local/texlive/2008" sudo chmod +x /usr/local/texlive/2008/texmf-dist/scripts/context/lua/*.lua sudo chmod +x /usr/local/texlive/2008/texmf-dist/scripts/context/ruby/*.rb sudo chmod +x /usr/local/texlive/2008/texmf-dist/scripts/context/stubs/unix/*
(I get some weird feedback though) LuaTools | files saved in /var/folders/fO/fONBcIHtG78WRhwbQBWB8++++TI/-Tmp-/luatex-cache/context/20f08ecfffa488db466c55cc8e06b650/trees/982f3cc39ab8256ee0595931d5cfd085.lua Mojca
On Mon, 30 Mar 2009, Mojca Miklavec wrote:
I'm now trying to figure out which step makes problems in "permission denied".
From what I understand, you need write permission on TEXMFCACHE. So for MkIV, you (as the user who runs context) needs to have write permissions in the installation directory. I do not know what is TEXMFCACHE for texlive, but perhaps setting it to $HOME/.texmf-cache may help.
Aditya
On Mon, Mar 30, 2009 at 16:34, Aditya Mahajan wrote:
On Mon, 30 Mar 2009, Mojca Miklavec wrote:
I'm now trying to figure out which step makes problems in "permission denied".
From what I understand, you need write permission on TEXMFCACHE. So for
No, the missing step was setting the executable bit on scipts/stubs/unix. Not even texexec runs without that. Mojca
participants (4)
-
Aditya Mahajan
-
Henning Hraban Ramm
-
Mojca Miklavec
-
Robert Blackstone