ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Installation Problem: "sh: cont-en: command not found"
@ 2003-01-13 18:25 Pavel Stupin
  2003-01-13 19:41 ` Mikael Persson
  2003-01-13 21:42 ` Simon Pepping
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Stupin @ 2003-01-13 18:25 UTC (permalink / raw)


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.

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

* Re: Installation Problem: "sh: cont-en: command not found"
  2003-01-13 18:25 Installation Problem: "sh: cont-en: command not found" Pavel Stupin
@ 2003-01-13 19:41 ` Mikael Persson
  2003-01-13 21:42 ` Simon Pepping
  1 sibling, 0 replies; 7+ messages in thread
From: Mikael Persson @ 2003-01-13 19:41 UTC (permalink / raw)


On Tue, 14 Jan 2003 02:25:30 +0800
Pavel Stupin <grosso@mail.ru> 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?
> 
> 
> 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

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

* Re: Installation Problem: "sh: cont-en: command not found"
  2003-01-13 18:25 Installation Problem: "sh: cont-en: command not found" Pavel Stupin
  2003-01-13 19:41 ` Mikael Persson
@ 2003-01-13 21:42 ` Simon Pepping
  2003-01-14  4:02   ` Pavel Stupin
  1 sibling, 1 reply; 7+ messages in thread
From: Simon Pepping @ 2003-01-13 21:42 UTC (permalink / raw)


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

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

* Re: Installation Problem: "sh: cont-en: command not found"
  2003-01-13 21:42 ` Simon Pepping
@ 2003-01-14  4:02   ` Pavel Stupin
  2003-01-14 16:59     ` Hans Hagen
  2003-01-14 19:46     ` Simon Pepping
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Stupin @ 2003-01-14  4:02 UTC (permalink / raw)


On Mon, 13 Jan 2003 22:42:14 +0100
Simon Pepping <spepping@scaprea.hobby.nl> 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.


Best wishes,
Pavel.

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

* Re: Installation Problem: "sh: cont-en: command not found"
  2003-01-14  4:02   ` Pavel Stupin
@ 2003-01-14 16:59     ` Hans Hagen
  2003-01-14 19:46     ` Simon Pepping
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2003-01-14 16:59 UTC (permalink / raw)


At 12:02 PM 1/14/2003 +0800, you wrote:
>On Mon, 13 Jan 2003 22:42:14 +0100
>Simon Pepping <spepping@scaprea.hobby.nl> 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
-------------------------------------------------------------------------

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

* Re: Installation Problem: "sh: cont-en: command not found"
  2003-01-14  4:02   ` Pavel Stupin
  2003-01-14 16:59     ` Hans Hagen
@ 2003-01-14 19:46     ` Simon Pepping
  2003-01-15 15:35       ` Pavel Stupin
  1 sibling, 1 reply; 7+ messages in thread
From: Simon Pepping @ 2003-01-14 19:46 UTC (permalink / raw)


On Tue, Jan 14, 2003 at 12:02:04PM +0800, Pavel Stupin wrote:
> On Mon, 13 Jan 2003 22:42:14 +0100
> Simon Pepping <spepping@scaprea.hobby.nl> 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

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

* Re: Installation Problem: "sh: cont-en: command not found"
  2003-01-14 19:46     ` Simon Pepping
@ 2003-01-15 15:35       ` Pavel Stupin
  0 siblings, 0 replies; 7+ messages in thread
From: Pavel Stupin @ 2003-01-15 15:35 UTC (permalink / raw)


On Tue, 14 Jan 2003 20:46:25 +0100
Simon Pepping <spepping@scaprea.hobby.nl> wrote:

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

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

end of thread, other threads:[~2003-01-15 15:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-13 18:25 Installation Problem: "sh: cont-en: command not found" Pavel Stupin
2003-01-13 19:41 ` Mikael Persson
2003-01-13 21:42 ` Simon Pepping
2003-01-14  4:02   ` Pavel Stupin
2003-01-14 16:59     ` Hans Hagen
2003-01-14 19:46     ` Simon Pepping
2003-01-15 15:35       ` Pavel Stupin

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