[tex-live] mptopdf problem: texmf.cnf not found.

George N. White III gnwiii at gmail.com
Mon Aug 30 19:07:15 CEST 2010


On Mon, Aug 30, 2010 at 5:32 AM, Byung-Jae Kwak <byung.kwak at gmail.com> wrote:

> Hi!
>
> I have TeX Live 2009 and MinGW/MSYS installed on 64 bit Windows 7 system.
>
> My TeX Live install seems to work fine except that I cannot use mptopdf.
> For example, if I try to create a pdf file from a metapost eps file
> named logo.1,
> I get the following error:
>
> ---- error message start
>
> d:\work\doc\figures> mptopdf logo.1
> warning: kpathsea: configuration file texmf.cnf not found in these
> directories: c;C:/msys/1.0/texlive/2009/bin/win32;c;C:/msys/1.0/texlive/2009/bin;c;C:/msys/1.0/texlive/2009;c;C:/msys/1.0/texlive/2009/bin/win32/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/texmf/web2c;c;C:/msys/1.0/texlive/2009/texmf/web2c.
> This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
>
> kpathsea: Running mktexfmt mptopdf.fmt
>
> The command name is c:\texlive\2009\bin\win32\mktexfmt
> Running the command c:\texlive\2009\bin\win32\fmtutil.exe
> warning: kpathsea: configuration file texmf.cnf not found in these
> directories: c;C:/msys/1.0/texlive/2009/bin/win32;c;C:/msys/1.0/texlive/2009/bin;c;C:/msys/1.0/texlive/2009;c;C:/msys/1.0/texlive/2009/bin/win32/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/texmf/web2c;c;C:/msys/1.0/texlive/2009/texmf/web2c.
> Failed to find cnffile fmtutil.cnf.
> warning: kpathsea: configuration file texmf.cnf not found in these
> directories: c;C:/msys/1.0/texlive/2009/bin/win32;c;C:/msys/1.0/texlive/2009/bin;c;C:/msys/1.0/texlive/2009;c;C:/msys/1.0/texlive/2009/bin/win32/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/share/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/texmf-local/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/share/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/win32/texmf/web2c;c;C:/msys/1.0/texlive/2009/bin/texmf/web2c;c;C:/msys/1.0/texlive/2009/texmf/web2c.
> I can't find the format file `mptopdf.fmt'!
>
> MPtoPDF 1.3.3 : logo.1 is converted to logo-1.pdf
>
> ---- error message end
>
> And logo-1.pdf is not created.
>
> It appears that somehow, MSYS interferes with my TeX Live install, and
> the search
> path is prefixed with "/msys/1.0".
> Please help!

When you move from an Msys process to a windows process, Msys tries to
adjust environment vars that look
like paths from "Msys" to "Windows" locations.  This certainly seems
to be what you are seeing.   Are you running
an Msys shell program?


>
> BJ.
>
>



-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia



More information about the tex-live mailing list