[OS X TeX] More otftotfm problems...

Bruno Voisin bvoisin at mac.com
Sat Mar 31 15:17:11 EDT 2007


Le 31 mars 07 à 20:02, Stephen Moye a écrit :

> The problem is that otftotfm is creating the directory  
> ~/.texlive2007/ and populating it with all its output -- except for  
> the .map file which it leaves in the current directory.

This directory ~/.texlive2007 is (I think) created by TeXLive for  
storing auto-generated files, such as bitmap fonts in PK format,  
metrics in TFM format, and so forth. That's more-or-less equivalent  
to gwTeX's repository /var/tmp/texfonts.

For TeXLive, from /usr/local/texlive/2007/texmf/web2c/texmf.cnf:

% TEXMFVAR, where texconfig stores variable runtime data.
% With teTeX-3.0 or later, this must be set.
% For sharing this tree with $TEXMFMAIN:
%   TEXMFVAR = $TEXMFMAIN
% For using a separate tree:
%   TEXMFVAR = $HOME/.texmf-var  # teTeX 3.0 default
TEXMFVAR = $HOME/.texlive2007/texmf-var

% TEXMFCONFIG, where texconfig stores configuration data.
% With teTeX-3.0 or later, this must be set.
% For sharing this tree with $TEXMFMAIN:
%   TEXMFCONFIG = $TEXMFMAIN
% For using a separate tree:
%   TEXMFCONFIG = $HOME/.texmf-config  # teTeX 3.0 default
% For using a separate tree:
%   TEXMFCONFIG = $SELFAUTOPARENT/texmf-config
TEXMFCONFIG = $HOME/.texlive2007/texmf-config

And for gwTeX, from /usr/local/gwTeX/texmf.cnf:

% Where generated fonts may be written.  This tree is used when the  
sources
% were found in a system tree and either that tree wasn't writable,  
or the
% varfonts feature was enabled in MT_FEATURES in mktex.cnf.
VARTEXFONTS = /var/tmp/texfonts

> Interestingly, when I try to compile lcdf-typetools-2.61 from  
> source, I get this message at the configure stage:
>
> configure: error:
> =========================================
>
> I can't find the kpathsea library and/or header files. Tell me  
> where to look
> using the --with-kpathsea=PREFIX option (header files should be under
> PREFIX/include/kpathsea, and library under PREFIX/lib), or disable  
> support
> using --without-kpathsea.
>
> =========================================
>
> What PREFIX? Does that mean '/usr/local/texlive/2007/../texmf- 
> local' or '/Users/smoye/Library/texmf'? I assume that, under the  
> texlive2007 regime that the former is preferable to the latter,  
> especially for fonts. Yes?

That's normal, the kpathsea headers and libraries aren't included in  
TeXLive. They are included in gwTeX, though, at:

/usr/local/gwTeX/include/kpathsea
/usr/local/gwTeX/lib

On my setup:

Portable-de-Bruno:~ brunovoisin$ ls -l /usr/local/gwTeX/include/kpathsea
total 480
-rw-r--r--   1 root  wheel  1235 Jan 17  2006 absolute.h
-rw-r--r--   1 root  wheel  5182 Feb  2 10:29 c-auto.h
-rw-r--r--   1 root  wheel  3017 Jan 17  2006 c-ctype.h
-rw-r--r--   1 root  wheel  1416 Jan 17  2006 c-dir.h
-rw-r--r--   1 root  wheel   997 Jan 17  2006 c-errno.h
-rw-r--r--   1 root  wheel  2092 Jan 17  2006 c-fopen.h
-rw-r--r--   1 root  wheel  1234 Jan 17  2006 c-limits.h
-rw-r--r--   1 root  wheel  2569 Dec  9 19:45 c-memstr.h
-rw-r--r--   1 root  wheel  2022 Jan 17  2006 c-minmax.h
-rw-r--r--   1 root  wheel  1327 Jan 17  2006 c-namemx.h
-rw-r--r--   1 root  wheel  3077 Jan 17  2006 c-pathch.h
-rw-r--r--   1 root  wheel  1424 Jan 17  2006 c-pathmx.h
-rw-r--r--   1 root  wheel  9425 Jan 17  2006 c-proto.h
-rw-r--r--   1 root  wheel  2063 Jan 17  2006 c-stat.h
-rw-r--r--   1 root  wheel  3088 Jan 17  2006 c-std.h
-rw-r--r--   1 root  wheel  1510 Jan 17  2006 c-unistd.h
-rw-r--r--   1 root  wheel  2417 Jan 17  2006 c-vararg.h
-rw-r--r--   1 root  wheel  1235 Jan 17  2006 cnf.h
-rw-r--r--   1 root  wheel  1399 Jan 17  2006 concatn.h
-rw-r--r--   1 root  wheel  4158 Jan 17  2006 config.h
-rw-r--r--   1 root  wheel  1944 Jan 17  2006 db.h
-rw-r--r--   1 root  wheel  3564 Jan 17  2006 debug.h
-rw-r--r--   1 root  wheel  1215 Jan 17  2006 default.h
-rw-r--r--   1 root  wheel  1851 Jan 17  2006 expand.h
-rw-r--r--   1 root  wheel  2602 Jan 17  2006 fn.h
-rw-r--r--   1 root  wheel  1205 Jan 17  2006 fontmap.h
-rw-r--r--   1 root  wheel  5168 Jan 17  2006 getopt.h
-rw-r--r--   1 root  wheel  2759 Jan 17  2006 hash.h
-rw-r--r--   1 root  wheel  1524 Jan 17  2006 kpathsea.h
-rw-r--r--   1 root  wheel  7936 Jan 17  2006 lib.h
-rw-r--r--   1 root  wheel  1170 Jan 17  2006 line.h
-rw-r--r--   1 root  wheel  2000 Jan 17  2006 magstep.h
-rw-r--r--   1 root  wheel  8017 Feb  5 04:07 paths.h
-rw-r--r--   1 root  wheel  4291 Jan 17  2006 pathsearch.h
-rw-r--r--   1 root  wheel  1345 Jan 17  2006 proginit.h
-rw-r--r--   1 root  wheel  2246 Jan 17  2006 progname.h
-rw-r--r--   1 root  wheel  1276 Jan 17  2006 readable.h
-rw-r--r--   1 root  wheel   992 Jan 17  2006 remote.h
-rw-r--r--   1 root  wheel  2054 Jan 17  2006 str-list.h
-rw-r--r--   1 root  wheel  2013 Jan 17  2006 str-llist.h
-rw-r--r--   1 root  wheel  1180 Jan 17  2006 systypes.h
-rw-r--r--   1 root  wheel  8016 Jan 17  2006 tex-file.h
-rw-r--r--   1 root  wheel  3241 Jan 17  2006 tex-glyph.h
-rw-r--r--   1 root  wheel  1115 Jan 17  2006 tex-hush.h
-rw-r--r--   1 root  wheel  1626 Jan 17  2006 tex-make.h
-rw-r--r--   1 root  wheel  1152 Jan 17  2006 tilde.h
-rw-r--r--   1 root  wheel  1198 Jan 17  2006 truncate.h
-rw-r--r--   1 root  wheel  1740 Jan 17  2006 types.h
-rw-r--r--   1 root  wheel  1816 Jan 17  2006 variable.h
-rw-r--r--   1 root  wheel  1173 Jan 17  2006 xopendir.h
-rw-r--r--   1 root  wheel  1563 Jan 17  2006 xstat.h
Portable-de-Bruno:~ brunovoisin$ ls -l /usr/local/gwTeX/lib
total 1224
-rw-r--r--   1 root  wheel  620588 Feb  5 04:12 libkpathsea.a
-rw-r--r--   1 root  wheel     690 Feb  2 10:39 libkpathsea.la

Bruno Voisin
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list