<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>I reported a moht ago a problem with mktexdir:</DIV>
<DIV>&nbsp;</DIV>
<DIV>mktexpk: mktexdir {!!c:/Archivos de programa/TeXLive/texmf}/fonts//pk/ljfour/public/cm/ failed.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I now can tell something more. It is very easy to write a C program that parses the previous string and creates the desired directory. I wrote it, tested it, and placed it instead of the original mktexdir. However, the message stayed unchanged.</DIV>
<DIV>&nbsp;</DIV>
<DIV>mktexpk does _not_ call mktexdir.exe.</DIV>
<DIV>Indeed, if we write on the command line (with the original program)</DIV>
<DIV>&nbsp;</DIV>
<DIV>mktexdir {!!c:/Archivos de programa/TeXLive/texmf}/fonts//pk/ljfour/public/cm/</DIV>
<DIV>&nbsp;</DIV>
<DIV>the program treats all space separated arguments as directories. The first one includes ':', and hence is invalid, and the other two are created in the current directory.</DIV>
<DIV><BR>There is another mktexdir, in the web2c folder, but I had also changed its name to avoid any problem. It is a perl script.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried moving the TeXLive tree to a path not including spaces (i.e., I placed it directly under C:/), and changed a bunch of environment variables accordingly, but the message is raised with annoying invariance (even if there is no mktexdir at all):</DIV>
<DIV>&nbsp;</DIV>
<DIV>mktexpk: mktexdir {!!c:/TeXLive/texmf}/fonts//pk/ljfour/public/cm/ failed.</DIV>
<DIV>&nbsp;</DIV>
<DIV>So:<BR>1. mktexpk pretends to be calling mktexdir, but it does not.<BR>2. The right call to mktexpk woud be "C:\Archivos de programa\..."</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried to solve the problem by myself by looking into the sources. However, the code in mktexpk.c would never generate an error as the one I got. I then looked in the kpathsea directory and found the mktexpk perl script, which does correspond to what the mktexpk.exe of my installation does. Here is where the error is issued:</DIV>
<DIV>&nbsp;</DIV>
<DIV>"$MT_MKTEXDIR" "$PKDESTDIR"<BR>if test ! -d "$PKDESTDIR"; then<BR>&nbsp; echo "$progname: mktexdir $PKDESTDIR failed." &gt;&amp;2<BR>&nbsp; exit 1<BR>fi</DIV>
<DIV>&nbsp;</DIV>
<DIV>I don't know Perl so I can't go further trying to solve the problem by myself (well, I may learn Pearl! But not for the moment).</DIV>
<DIV><BR>But finally, the version information that I get is</DIV>
<DIV>&nbsp;</DIV>
<DIV>mktexpk 3.5.5,</DIV>
<DIV>&nbsp;</DIV>
<DIV>which does not match the script, nor the C file. The C file includes "Kpathsea-3.5.5" in the version information. It seems that the sources provided do not match the executables ---I am always using the material from the TeX Collection DVI of Feb 2007.</DIV>
<DIV>From the information in the files it seems that it is Olaf Weber the one who mantains both.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you again for your assistance,<BR>Javier A.</DIV></div><br>


      <hr size=1><br><font face="Verdana" size="-2">Web Revelación Yahoo! 2007:<br> Premio Favorita del Público - <a href="http://es.promotions.yahoo.com/revelacion2007/favoritos/">¡Vota tu preferida!</a></font></body></html>