gmake[1]: Entering directory `/usr/ports/japanese/ptex/work/tetex-src-3.0/texk/w eb2c/ptex-3.1.9' TEXMFCNF=. TEXMF=\{/usr/local/share/texmf-local,/usr/local/share/texmf-dist,/usr /local/share/texmf,/usr/ports/japanese/ptex/work/texmf-tmp\} ../../kpathsea/kpse which --progname=ptex ptex.tex min10.tfm >/dev/null || gmake prereq-lose >/dev/n ull You seem to be missing input files necessary to make the basic formats (some or all of: ptex.tex min10.tfm). Perhaps you've defined the default paths incorrectly, or perhaps you have environment variables set pointing to an incorrect location. See ../kpathsea/BUGS.