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 LuaTeX after MacTeX-TeXLive 2008
Date: Mon, 22 Sep 2008 13:04:46 +0200	[thread overview]
Message-ID: <6faad9f00809220404vfb7ae9dm7f19978678d39e88@mail.gmail.com> (raw)
In-Reply-To: <dbd60a1b0809220303u611009d5k592e7abaa4a63670@mail.gmail.com>

On Mon, Sep 22, 2008 at 12:03 PM, Robert Blackstone
<blackstone.robert@gmail.com> 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
___________________________________________________________________________________


      reply	other threads:[~2008-09-22 11:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-22 10:03 Robert Blackstone
2008-09-22 11:04 ` Mojca Miklavec [this message]

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=6faad9f00809220404vfb7ae9dm7f19978678d39e88@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).