<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 27, 2012, at 7:11 AM, Herbert Schulz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Apr 27, 2012, at 8:56 AM, Peter Dyballa wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Am 26.04.2012 um 00:33 schrieb Murray Eisenberg:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">gave the errors below. Any ideas what's wrong?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">kpathsea.h and many other files needed to enable oneself to produce TeX software are not contained in the TeX Live and MacTeX user software. You must download the texk (tar.xz, tar.gz, tar.bz2) archive. Inside it you can find the kpathsea directory with the needed C header files. After extracting the missing software you can again<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> ./configure --prefix=$HOME --with-texmf-destdir=$HOME/texmf \<br></blockquote><blockquote type="cite"> --with-kpathsea-include=<INCLUDEDIR> \<br></blockquote><blockquote type="cite"> --with-kpathsea-lib=<LIBDIR><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Greetings<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Pete<br></blockquote><br><br>Howdy,<br><br>Hmmm... where can I get texk? Just to have it on hand... in case...<br><br>Good Luck,<br><br>Herb Schulz<br>(herbs at wideopenwest dot com)<br></div></blockquote></div><br><div>The instructions at <a href="http://tug.org/texinfohtml/kpathsea.html">http://tug.org/texinfohtml/kpathsea.html</a> are quite out of date. I went through this over a year ago and found the simplest thing was to partially build TeXLive. In fact, I was looking for a way to update lcdftools with kpathsea support, and the following gives details on how to do this. (This is copied from the source to TeXFontUtility.)</div><div><br></div><div><div>The chief obstacle is that you must have an appropriate version (ie, with code for the mode in which you are compiling it---one or more of {\tt PPC}, {\tt i386} (Intel 32 bit), {\tt i686} (Intel 64 bit)) of the \textsf{kpathsea} libraries and headers installed on your machine, or you have to compile part of the \TeX\ Live distribution. A version from \TeX\ Live $2006$ with code for {\tt PPC} and {\tt i386} is on my machine, but seems to no longer be distributed as part of Mac\TeX. The only way I know to make the {\tt kpathsea} libraries is to get the \TeX\ Live sources and compile them from scratch. This is easier than it sounds if you have the Apple development tools installed already. You may download them from Apple, though that involves joining the Apple Developer program or purchasing them for \$4.99 (free for Lion) through their App Store. The starting point for this is \url{<a href="http://developer.apple.com">http://developer.apple.com</a>} or the App Store, and once you have downloaded the \textsf{XCode} package, installation is completely automatic.</div><div><br></div><div>The next step is to get the \TeX\ Live source. To put a copy of the sources in the folder {\tt TLsrc} at the root of your home folder, issue the following command in a \textsf{Terminal} window.</div><div>\begin{verbatim}</div><div>rsync -a --delete --exclude=.svn <a href="http://tug.org">tug.org</a>::tldevsrc/Build/source ~/TLsrc</div><div>\end{verbatim}</div><div>(You won't get feedback until the download is finished, which may take quite some time.) The build procedure to be followed is described at</div><div>\begin{verbatim}</div><div><a href="http://tug.org/texlive/build.html">http://tug.org/texlive/build.html</a></div><div>\end{verbatim}</div><div>and you should check that your system meets the minimal installation prerequisites. These should not be a problem for most modern OS X systems.</div><div>When the download is finished, {\tt cd} to \verb|~/TLsrc/source| and issue the command</div><div>\begin{verbatim}</div><div>./Build --disable-all-pkgs --enable-kpathsea --enable-lcdf-typetools</div><div>\end{verbatim}</div><div>which will give you a great deal of feedback about its progress, and in 15 minutes, more or less, its work should be done. The source you downloaded will contain the latest version of \textsf{lcdf-typetools}, and the Build process will produce a set of binaries in a subfolder of </div><div>\begin{verbatim}</div><div>~/TLsrc/source/inst/bin</div><div>\end{verbatim}</div><div>I would suggest not replacing the binaries installed as part of of Mac\TeX\ $2011$, but keep your options open by copying the new binary {\tt otftotfm} under a new name (eg, {\tt otftotfm285}) to the appropriate folder (one of \verb|x86_64-darwin|, {\tt universal-darwin}) in </div><div>\verb|/usr/local/texlive/2011/bin|. If you intend to use this directly from the command line, rather than from \textsf{TeXFontUtility}, you should also make a symlink for it in \verb|/usr/texbin|.</div><div>The program will not function correctly if it is not installed in this location.</div></div><div><br></div><div>Michael</div><div><br></div><div><br></div><div><br></div></body></html>