ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: updating ConTeXt (MacTeX)
Date: Mon, 30 Mar 2009 12:27:44 +0200	[thread overview]
Message-ID: <6faad9f00903300327x6ed46a70gffb0bd0f2547dfde@mail.gmail.com> (raw)
In-Reply-To: <dbd60a1b0903300253i24ef9687oce6718167c71f35f@mail.gmail.com>

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
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2009-03-30 10:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-30  9:53 Robert Blackstone
2009-03-30 10:24 ` Henning Hraban Ramm
2009-03-30 10:27 ` Mojca Miklavec [this message]
2009-03-30 11:19   ` Mojca Miklavec
2009-03-30 14:34   ` Aditya Mahajan
2009-03-30 14:41     ` Mojca Miklavec
2009-03-30 20:11 Robert Blackstone
2009-03-30 20:41 ` Bowen Alan C.
2009-03-31 11:08 ` Henning Hraban Ramm
2009-04-01 15:29 Robert Blackstone
2009-04-02  9:54 ` Henning Hraban Ramm
2009-04-03  8:31 Robert Blackstone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00903300327x6ed46a70gffb0bd0f2547dfde@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).