Paul A. Rubin wrote:

Omair-Inam Abdul-Matin wrote:

Paul A. Rubin wrote:

Omair-Inam Abdul-Matin wrote:

Hi,

I'm using Lyx 1.3.3 on Windows XP. Whenever I configure Lyx through the Edit->reconfigure menu, at the final portion of the configuration:

checking for TeX fonts
checking [for cmex10]... yes (pfb)
checking [for cmmi10]... yes (pfb)
checking [for cmr10]... yes (pfb)
checking [for cmsy10]... yes (pfb)
checking [for eufm10]... yes (pfb)
checking [for msam10]... yes (pfb)
checking [for msbm10]... yes (pfb)
checking [for wasy10]... yes (pfb)

I get an error window after each font. This did not happen with version 1.3.2. Does anyone know why the error windows appear and what could be done to stop them from appearing.

Omair



What does the error window say?


-- Paul


ln.exe has encountered a problem and needs to close. We are sorry for the inconvenience.

I've attached a picture of what I received when I clicked on the "To see what data this error report contains click here" link. (error.png)

Omair

------------------------------------------------------------------------


Hmm. Every time it finds a font, the configure script (which was written for Unix-type systems) deletes the font file from the xfonts directory and attempts to replace it with a "symbolic link" in the xfonts directory pointing to the font file where the configure script found it. The "ln.exe" program is a Unix utility used to create the symbolic link. In Windows, the equivalent of a symbolic link is a shortcut. The line in the configure script creating the symbolic link is designed to fail silently (error output is being sent to the "null device").


Now Windows itself does not come with a ln.exe utility, and so I assume that on a typical Windows system the command to create the link will fail every time (by virtue of calling a nonexistent program), and you would never know this, as the error messages would be diverted into a black hole. In your case, however, you seem to have a program named ln.exe installed, and it is crashing each time the script invokes it. I can't tell from your output if this is a DOS/Windows port of the ln utility or not. Cygwin, for instance, contains such a port. On the other hand, the error message could be from a totally unrelated program coincidentally named "ln.exe".

Given that Windows does not normally have an ln utility, and the native LyX port from Ruurd Reitsma does not contain one, I *think* you can get by without it. Accordingly, you might try the following experiment:

1. Locate the file named "configure" (with no extension -- *not* "configure.bat", for instance) and make a backup copy.

2. Open configure in a plain text editor (such as Notepad or Wordpad -- *not* MS Word).

3. Near the bottom of the file (around line # 1498), locate and delete the following line: ln -s $filepath xfonts 2>/dev/null.

4. Save the file (if you were forced to use a word processor such as Word, be sure to save it as a plain text file, with no extension).

5. Run configure and see if it works (meaning both you get rid of the error messages and LyX works correctly afterward ;-).

-- Paul

******************************************************************************************

Paul A. Rubin Phone: (517) 432-3509
Department of Management Fax: (517) 432-1111
The Eli Broad Graduate School of Management E-mail: [EMAIL PROTECTED]
Michigan State University http://www.msu.edu/~rubin/
East Lansing, MI 48824-1122 (USA)
******************************************************************************************


Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.                                    J. W. v. GOETHE


Hi Paul,

Thanks for your help. The offending program was Mingw which I had installed on my pc. Apparently my PATH variable was pointed to the Mingw directory before the cygwin directory. So I did first what you told me. ln stopped complaining, but diff started crashing. So I then modified my PATH variable to point to the cygwin directory before the MINGW. Before my PATH was
c:\msys\1.0\bin;c:\MinGW\bin;%ECLIPSE_HOME%;%MAVEN_HOME%\bin;%ANT_HOME%\BIN;c:\program files\imagemagick-5.5.7-q16;C:\j2sdk1.4.2_03\bin;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Emacs 21.1.1\bin;C:\Vim 5.3;C:\Program Files\Common Files\Adaptec Shared\System;C:\Program Files\SQLLIB\BIN;C:\Program Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program Files\SQLLIB\HELP;C:\PROGRA~1\IBM\IMNNQ;C:\PROGRA~1\ULTRAE~1;"C:\Program Files\Adobe\Acrobat 5.0\Acrobat";c:\cygwin\bin;C:\cygwin\usr\local\bin\netpbm;"C:\Program Files\Subversion\bin";C:\Program Files\Subversion\bin;C:\tth_exe;c:\tex4ht\bin\win32


afterwards it became
.;c:\MinGW\bin;%ECLIPSE_HOME%;%MAVEN_HOME%\bin;%ANT_HOME%\BIN;c:\program files\imagemagick-5.5.7-q16;C:\j2sdk1.4.2_03\bin;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Emacs 21.1.1\bin;C:\Vim 5.3;C:\Program Files\Common Files\Adaptec Shared\System;C:\Program Files\SQLLIB\BIN;C:\Program Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program Files\SQLLIB\HELP;C:\PROGRA~1\IBM\IMNNQ;C:\PROGRA~1\ULTRAE~1;"C:\Program Files\Adobe\Acrobat 5.0\Acrobat";c:\cygwin\bin;C:\cygwin\usr\local\bin\netpbm;c:\msys\1.0\bin;"C:\Program Files\Subversion\bin";C:\Program Files\Subversion\bin;C:\tth_exe;c:\tex4ht\bin\win32




When I restarted lyx it automatically did a reconfiguration that went smoothly (I restored the configure script to the original .. no commenting out of anything)

Omair



Reply via email to