For I had some problems with my installation I tried to start from scratch. But I'm stuck with an error in mtxrun: Welcome to Darwin! user$ cd /usr/local/ConTeXt/ /usr/local/ConTeXt user$ rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . first-setup.sh sent 115 bytes received 1757 bytes 1248.00 bytes/sec total size is 1638 speedup is 0.88 /usr/local/ConTeXt user$ ./first-setup.sh receiving file list ... done bin/ bin/mtx-update-old.lua bin/mtx-update.lua bin/mtxrun bin/texlua sent 186 bytes received 6127742 bytes 331239.35 bytes/sec total size is 6126659 speedup is 1.00 MtxRun | version 1.1.0 - 2007+ - PRAGMA ADE / CONTEXT MtxRun | variable SELFAUTOLOC set to /usr/local/ConTeXt/bin MtxRun | variable SELFAUTODIR set to /usr/local/ConTeXt MtxRun | variable SELFAUTOPARENT set to /usr/local MtxRun | variable TEXMFCNF set to {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c} MtxRun | no cnf files found (TEXMFCNF may not be set/known) MtxRun | using script: bin/mtx-update.lua state | loaded update | start /usr/local/ConTeXt/bin/mtxrun:1741: attempt to index a nil value And that's it. Line 1741 of mtxrun contains a popen command to execute a system command; but even if I change that (e.g. printing the accessed variable before), the error stays at that line, so the message is probably wrong. Please help? Greetlings, Hraban
Henning Hraban Ramm wrote:
Line 1741 of mtxrun contains a popen command to execute a system command; but even if I change that (e.g. printing the accessed variable before), the error stays at that line, so the message is probably wrong.
what mtxrun do you run ... you need to copy the file mtxrun.lua in the scripth path to mtxrun in the bin path ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 2008-08-08 um 23:38 schrieb Hans Hagen:
Henning Hraban Ramm wrote:
Line 1741 of mtxrun contains a popen command to execute a system command; but even if I change that (e.g. printing the accessed variable before), the error stays at that line, so the message is probably wrong.
what mtxrun do you run ... you need to copy the file mtxrun.lua in the scripth path to mtxrun in the bin path
I copied the complete shell session to the previous mail: I.e. I get first-setup via rsync from the garden and run it; it fetches the bin dir and runs mtxrun from there, and that already fails. This error occurrs at work on a Mac G5 (PPC) running OSX 10.4; ConTeXt is installed in /usr/local/ConTeXt. At home, on a Mac mini (Intel) running OSX 10.5, it works; here ConTeXt is installed in ~/Library/texmf. Both installations use the "garden way". On monday I'll check whether there's another mtxrun.lua somewhere on the system - but the path configuration is correct. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
On Sat, Aug 9, 2008 at 1:09 AM, Henning Hraban Ramm
Am 2008-08-08 um 23:38 schrieb Hans Hagen:
Henning Hraban Ramm wrote:
Line 1741 of mtxrun contains a popen command to execute a system command; but even if I change that (e.g. printing the accessed variable before), the error stays at that line, so the message is probably wrong.
what mtxrun do you run ... you need to copy the file mtxrun.lua in the scripth path to mtxrun in the bin path
I copied the complete shell session to the previous mail: I.e. I get first-setup via rsync from the garden and run it; it fetches the bin dir and runs mtxrun from there, and that already fails.
This error occurrs at work on a Mac G5 (PPC) running OSX 10.4; ConTeXt is installed in /usr/local/ConTeXt. At home, on a Mac mini (Intel) running OSX 10.5, it works; here ConTeXt is installed in ~/Library/texmf. Both installations use the "garden way".
Thanks for the other hint about PPC. Can you please retry the installation? I had problems cross-compiling luatex, so it remained at an old version for quite some time. After the issue had been fixed, I still had a tiny bug in my scripts which prevented the new binaries to be uploaded. If others (FreeBSD) have problems - many people have problems with commiting files to the SVN repository. It seems to be some SVN version incompatibility issue, but I do not dare touching svn on the server. Mojca
On Fri, Aug 8, 2008 at 4:15 AM, Henning Hraban Ramm
For I had some problems with my installation I tried to start from scratch. But I'm stuck with an error in mtxrun:
Welcome to Darwin! user$ cd /usr/local/ConTeXt/ /usr/local/ConTeXt user$ rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . first-setup.sh
sent 115 bytes received 1757 bytes 1248.00 bytes/sec total size is 1638 speedup is 0.88 /usr/local/ConTeXt user$ ./first-setup.sh receiving file list ... done bin/ bin/mtx-update-old.lua bin/mtx-update.lua bin/mtxrun bin/texlua
sent 186 bytes received 6127742 bytes 331239.35 bytes/sec total size is 6126659 speedup is 1.00 MtxRun | version 1.1.0 - 2007+ - PRAGMA ADE / CONTEXT
MtxRun | variable SELFAUTOLOC set to /usr/local/ConTeXt/bin MtxRun | variable SELFAUTODIR set to /usr/local/ConTeXt MtxRun | variable SELFAUTOPARENT set to /usr/local MtxRun | variable TEXMFCNF set to {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c} MtxRun | no cnf files found (TEXMFCNF may not be set/known) MtxRun | using script: bin/mtx-update.lua
state | loaded update | start /usr/local/ConTeXt/bin/mtxrun:1741: attempt to index a nil value
And that's it.
Line 1741 of mtxrun contains a popen command to execute a system command; but even if I change that (e.g. printing the accessed variable before), the error stays at that line, so the message is probably wrong.
Please help?
I had the same problem. I then gave the command as: sudo ./first-setup.sh That succeeded, and the resulting ConTeXt installation seems to run correctly - but I'm not smart enough to know why this worked or why it should be necessary. David
participants (5)
-
David Rogers
-
Hans Hagen
-
Henning Hraban Ramm
-
Mojca Miklavec
-
Yue Wang