LyX 1.1.4 could be compiled on Win98 using the cygnus environment with the
released source tar file when the missing file lyxregex.h is available.
Furthermore one needs regex-0.12, i.e. regex.c and regex.h both copied into
src/support.

This compiled out-of-the-box-Lyx runs stable so long as you do not need any
call to another program, for example xdvi, gs etc.!

The big problem in cygnus environment is, that forking any process out of
LyX is not
king?-( 
There are two files I changed to make LyX usable on Win98:

    src/lyx_cb.C: (line 523)
        ...
        #ifdef __EMX__
                if(!wait)
        #ifdef WIN9X
                    cmd += " #";
        #else
                    cmd += " &";
        #endif
        #else
            // OS/2 stuff....
        ...

    src/LyxSendto.C: (line 86)
        #ifdef WIN9X
            command += " #"; // execute in foreground
        #else
            command += " &"; // execute in background
        #endif

The same problem seems to be the reason because inline viewing of figures doesn't 
work! I spend much time to analyze insets/figinset.C with LyX 1.1.2 but after the fork 
no output could be written to stdout from the child process. So -- who knows why? -- 
forking is the problem with cygnus.

I tried to use the mingw32 environment on Win98, too to produce a real Win-Executable. 
But there another problem appears: The signals within mingw32 are not posix conform so 
there are some signal handlers in LyX that need to be changed. I do not have enough 
knowledge of LyX to make these changes, so I stopped that way of porting LyX.

Hope this was of interest for you!


Greetings
Claus


Reply via email to