Robert Orr wrote:

I have to comment that the exact method on the wiki
page didn't work for me.


Even following the tips for "If LyX's configuration
fails or was incomplete" I could never get LyX
configure to complete without errors. I consistently
got hung up with a SED error


sed: file chkconfig.sed line 1: Unknown option to 's'

and could never get past it, despite installing
various versions of GNUSED.

That's the error message one gets with the version of sed bundled with the LyX port. The newer versions should cure that problem. As Rob suggested, try sed --version and see what you get.


I think there is
something not quite right regarding that part of the
wiki page. The part about what to do with "install the latest version of sed from the sed.exe
setup file, which can be found at sourceforge....." It seems very unclear about exactly what one is supposed to do there.

One thing to watch out for. There were reported problems installing at least one of the GnuWin utilities (I think it was sed). Turned out that the users had downloaded it from the web and *parked* it in a directory on their executable path. IIRC, what you get from the web site is an installer program, and it has to be run to install sed.

In regards to installing the other packages, like ghostview and acroread, I found that (I have Cygwin on my XP box) creating soft links ln -s gswin32.exe gs.exe helped to get the script to recognize these programs when doing the LyX configure. If you make copies of these programs and rename them to what LyX is looking for, that also works to allow LyX to find them. Essentially the LyX script is looking for the *nix version of these programs an doesn't check properly for the win32 versions.

Seems to me Angus Leeming updated one of the configuration scripts a while back to fix this.


BTW, if you have Cygwin installed on the machine where you're trying to install the LyX port, be careful. Make sure that the executable directories used by LyX and MiKTeX precede those used by Cygwin on your PATH. I had a configuration adventure once because LyX couldn't run latex during configuration. Turns out the Cygwin bin directory preceded the MiKTeX bin directory, so it was trying to run the latex.exe that came with Cygwin, and that wasn't working.

Also, make sure you have latexconfig.lyx.in and lyxconfig.lyx.in in your lyx/share/lyx/doc directory. I got a copy of the Win port that was missing those two files, and you can't reconfigure without them.

-- Paul



Reply via email to