[OS X TeX] Re: MacOSX-TeX Digest, Vol 54, Issue 22

Murray Eisenberg murrayeisenberg at gmail.com
Fri Apr 27 15:52:16 EDT 2012


If someone succeeds in building an OS X binary for lxir, including any 
compiled libraries on which runnning it depend (and which are not 
already distributed with TeXLive 2011), would you let us know and, if 
possible, share it?
On 4/27/12 3:00 PM, macosx-tex-request at email.esm.psu.edu wrote:
> From: Michael Sharpe<msharpe at ucsd.edu>
> Subject: Re: [OS X TeX] MacOSX-TeX Digest, Vol 54, Issue 20
> To: TeX on Mac OS X Mailing List<macosx-tex at email.esm.psu.edu>
> Message-ID:<89CDD92F-1EC2-470D-A90F-EFDEA67BCFAA at ucsd.edu>
> Content-Type: text/plain; charset="windows-1252"
>
>
> On Apr 27, 2012, at 7:11 AM, Herbert Schulz wrote:
>
>> >
>> >  On Apr 27, 2012, at 8:56 AM, Peter Dyballa wrote:
>> >
>>> >>
>>> >>  Am 26.04.2012 um 00:33 schrieb Murray Eisenberg:
>>> >>
>>>> >>>  gave the errors below. Any ideas what's wrong?
>>> >>
>>> >>  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
>>> >>
>>> >>     ./configure --prefix=$HOME --with-texmf-destdir=$HOME/texmf \
>>> >>                 --with-kpathsea-include=<INCLUDEDIR>  \
>>> >>                 --with-kpathsea-lib=<LIBDIR>
>>> >>
>>> >>  --
>>> >>  Greetings
>>> >>
>>> >>  Pete
>> >
>> >
>> >  Howdy,
>> >
>> >  Hmmm... where can I get texk? Just to have it on hand... in case...
>> >
>> >  Good Luck,
>> >
>> >  Herb Schulz
>> >  (herbs at wideopenwest dot com)
> The instructions athttp://tug.org/texinfohtml/kpathsea.html  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.)
>
> 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{http://developer.apple.com} or the App Store, and once you have downloaded the \textsf{XCode} package,
 installation is completely automatic.
>
> 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.
> \begin{verbatim}
> rsync -a --delete --exclude=.svn tug.org::tldevsrc/Build/source ~/TLsrc
> \end{verbatim}
> (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
> \begin{verbatim}
> http://tug.org/texlive/build.html
> \end{verbatim}
> and you should check that your system meets the minimal installation prerequisites. These should not be a problem for most modern OS X systems.
> When the download is finished, {\tt cd} to \verb|~/TLsrc/source| and issue the command
> \begin{verbatim}
> ./Build --disable-all-pkgs --enable-kpathsea --enable-lcdf-typetools
> \end{verbatim}
> 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
> \begin{verbatim}
> ~/TLsrc/source/inst/bin
> \end{verbatim}
> 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
> \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|.
> The program will not function correctly if it is not installed in this location.


-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



More information about the MacOSX-TeX mailing list