On Mon, Sep 22, 2008 at 12:03 PM, Robert Blackstone
<[EMAIL PROTECTED]> 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 : [email protected] / 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
___________________________________________________________________________________

Reply via email to