ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Updating LuaTeX after MacTeX-TeXLive 2008
@ 2008-09-22 10:03 Robert Blackstone
  2008-09-22 11:04 ` Mojca Miklavec
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Blackstone @ 2008-09-22 10:03 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1627 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 4926 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Updating LuaTeX after MacTeX-TeXLive 2008
  2008-09-22 10:03 Updating LuaTeX after MacTeX-TeXLive 2008 Robert Blackstone
@ 2008-09-22 11:04 ` Mojca Miklavec
  0 siblings, 0 replies; 2+ messages in thread
From: Mojca Miklavec @ 2008-09-22 11:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-22 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-22 10:03 Updating LuaTeX after MacTeX-TeXLive 2008 Robert Blackstone
2008-09-22 11:04 ` Mojca Miklavec

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).