On Mon, 15 Nov 1999 10:42:47 +0100, Prof. Dr. Claus Hentschel wrote:

>
>But: inline viewing of pictures still will not work. I have installed your
>gs4.03 as explained and made a link into /apps/lyx112/external/gs. It seems,
>that gs isn't called successfully (I got those MS-popup-windows as
>described)! Reading src/insets/figinset.C I think, that the mechanism is
>based on the LyxServer, isn't it? When debuggung the Lyxserver I get some
>(not all) information out of that file, like
>
>    GS[pid#]: error 255 E: 0 0 S: 0 127
>
>Any idea what's wrong with my system?

Just a possibly naive one: 

Are you sure that the Unix system call fork() is correctly emulated by
cygwin?

Shigeru Miyata, who did the port to OS/2-emx, has explained on this
list that cloning the entries of the kernel's process description table
to create another identical process, like Unix' fork() does, is not
really portable. So you might not see correctly forked childs. 

On my system (OS/2) the problem seems to be related to spawning gs.exe
(4.03) in this child process: 

The child simply dies and leaves behind an xlib-io error. I could not
trace down the problem, possibly a too small fixed stack-size was
compiled in for gs? Or LyX denies (blocks) access to a temporary
rendering file? (I could verify that running gs manually on those
temporary files in a separate session works).

Greets,

        Arnd

Reply via email to