Installation Problem: "sh: cont-en: command not found"
Hello, I've downloaded the latest beta and tried to install ConTeXt following the steps described in minstall.pdf. So the format file was generated; however, 'texexec filename.tex' results in 'sh: cont-en: command not found' error message. What should I do to solve this problem? Thanks in advance. Best wishes, Pavel.
On Tue, 14 Jan 2003 02:25:30 +0800
Pavel Stupin
Hello,
I've downloaded the latest beta and tried to install ConTeXt following the steps described in minstall.pdf. So the format file was generated; however, 'texexec filename.tex' results in 'sh: cont-en: command not found' error message. What should I do to solve this problem?
Thanks in advance.
Best wishes, Pavel.
I don't know if this is the problem here but here I have to do the .pl files in /usr/share/texmf/context/perltk/ executable with chmod +x. Regards, Micke P
On Tue, Jan 14, 2003 at 02:25:30AM +0800, Pavel Stupin wrote:
Hello,
I've downloaded the latest beta and tried to install ConTeXt following the steps described in minstall.pdf. So the format file was generated; however, 'texexec filename.tex' results in 'sh: cont-en: command not found' error message. What should I do to solve this problem?
The beta only contains the macros, not the binaries. I get those from the tex distribution I install, which is TeXLive. I do not know where on the context site they are. It is small: #!/bin/sh test -f "`kpsewhich cont-en.efmt`" || fmtutil --byfmt cont-en exec pdfetex -efmt=cont-en -progname=context "$@" Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl
On Mon, 13 Jan 2003 22:42:14 +0100
Simon Pepping
It is small:
#!/bin/sh test -f "`kpsewhich cont-en.efmt`" || fmtutil --byfmt cont-en exec pdfetex -efmt=cont-en -progname=context "$@"
Well, running ConTeXt this way _works_. Thank you. However, I'm just curious why texexec fails. Best wishes, Pavel.
At 12:02 PM 1/14/2003 +0800, you wrote:
On Mon, 13 Jan 2003 22:42:14 +0100 Simon Pepping
wrote: It is small:
#!/bin/sh test -f "`kpsewhich cont-en.efmt`" || fmtutil --byfmt cont-en exec pdfetex -efmt=cont-en -progname=context "$@"
Well, running ConTeXt this way _works_. Thank you. However, I'm just curious why texexec fails.
can you locate texexex.pl, go to that path and run 'perl texexec.pl' as a test? hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On Tue, Jan 14, 2003 at 12:02:04PM +0800, Pavel Stupin wrote:
On Mon, 13 Jan 2003 22:42:14 +0100 Simon Pepping
wrote: It is small:
#!/bin/sh test -f "`kpsewhich cont-en.efmt`" || fmtutil --byfmt cont-en exec pdfetex -efmt=cont-en -progname=context "$@"
Well, running ConTeXt this way _works_. Thank you. However, I'm just curious why texexec fails.
Your error message was: sh: cont-en: command not found This means that texexec.pl asks the shell to execute the command cont-en, and then the shell fails because it cannot find cont-en. So it is not a failure of texexec, but the absence of cont-en that is the problem. Or if cont-en exists, it is not in your path or not executable. Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl
On Tue, 14 Jan 2003 20:46:25 +0100
Simon Pepping
This means that texexec.pl asks the shell to execute the command cont-en, and then the shell fails because it cannot find cont-en. So it is not a failure of texexec, but the absence of cont-en that is the problem. Or if cont-en exists, it is not in your path or not executable.
Regards, Simon
Right. It wasn't in my path. Now, everything seems to be ok. Best wishes, Pavel.
participants (5)
-
Hans Hagen
-
Mikael Persson
-
Pavel Stupin
-
Pavel Stupin
-
Simon Pepping