On 15/01/11 08:47 , Tomoaki Okayama wrote: > At Fri, 14 Jan 2011 23:48:36 +0100, > Martin Costabel wrote: [] >> So this is *again* a problem with fmtutil.cnf. Unfortunately, fmtutil >> does not say which file it is using. [] >> I do not understand why one needs several copies of fmtutil.cnf at all.
> I believe texlive always uses only one fmtutil.cnf. If you want > to know which one is used, 'kpsewhich fmtutil.cnf' gives the answer. I know. What I meant is that when fmtutil runs automatically as part of an install or PostInst script, it does not say which file it is using. This is in contrast to updmap, for example, which fills the screen with lists of its *.cfg and *.map files. And it is not clear whether the file I get at the command line with kpsewhich is the same as the one used by automatic fmtutil. Here, kpsewhich shows me the one in /sw/share/texmf/web2c/, but I had to conclude from the install failure that texlive-base's postinst script used the one in /sw/share/texmf-dist/web2c/. The two are normally identical, but weren't in my situation. > It is determined by a priority of texmf paths, described in > /sw/share/texmf/web2c/texmf.cnf . Again, there are several copies of texmf.cnf. IMHO, this business of environment variables and config files is the one area where TeX is severely brain damaged. > TEXMF = > {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST} > > TeX Live's default setting is stored in TEXMFDIST, and Fink's > default setting is stored in TEXMFMAIN, and editted setting is > stored in TEXMFLOCAL, TEXMFCONFIG, and so on. > > You can overwrite system's setting by not modifying the > original file (and MUST NOT MODIFY), but putting a editted file > on a higher-priority path. This is teTeX's and TeX Live's policy. > So you may see there are several copies of the same name. > >> As to the Carbon-free xetex, maybe one could impose it only for >> 10.6/64bit, that is, condition the patch lines with "if [ %m = 'x86_64' ]"? >> > Right, I also added the conditional branching. > > Seems all ok now? Yes. -- Martin ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel