[metapost] Problem with running MetaPost on Mac OS X 10.5.6 and Mac OS X 10.4.11
taco at elvenkind.com
Thu Jan 8 16:20:12 CET 2009
Zhiyang Ong wrote:
> I searched for the file "texmf.cnf" on my computer, and copied that
> into ~/build/texk/web2c/mpdir, where the binary executable for
> MetaPost is. This seems to have taken care of the issue with
> "texmf.cnf." However, I still have problems with the mem and Plain mem
You should have copied mpost, not the texmf.cnf. The texmf.cnf
was actually in the right spot, the executable wasn't.
Please install the mpost executable into its proper place (same
directory as fmtutil and kpsewhich). The incorrect location of
the binary is the most important cause behind your problems, because
it uses its won location to find various input files.
Once that is done, run
eris > fmtutil --byfmt mpost
and you should be set.
> eris >mpost --ini mpost
> This is MetaPost, version 1.102 (kpathsea version 3.5.7) (INIMP)
> ! Text line contains an invalid character.
> l.1 ?
> ? q
FYI: this is somewhat bizarre, but here mpost is actually loading the
file "mpost" in the current directory as a metapost language input file.
That doesn't work, because the file "mpost" is the mpost executable
More information about the metapost