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

Byung-Jae Kwak byung.kwak at gmail.com
Tue Aug 31 10:11:41 CEST 2010


On Mon, Aug 30, 2010 at 11:02 PM, Reinhard Kotucha
<reinhard.kotucha at web.de> wrote:
> On 30 August 2010 Byung-Jae Kwak 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/texl
>  > [...]
>  >
>  > It appears that somehow, MSYS interferes with my TeX Live install,
>  > and the search path is prefixed with "/msys/1.0".
>
> Please check whether TeX related environment variables are set whithin
> the MSYS environment.  There shouldn't be any.  Try:
>
>   set | grep -i TEX
>

If I try the following on Windows command line

    set | grep -i tex

I get

    C:\Ruby191\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Python27\;C:\Program
Files (x86)\Mercurial\;C:\Program Files (x86)\GnuWin32\bin\;C:\Program
Files (x86)\Pandoc\bin;C:\gnuplot\binary\;C:\texlive\2009\bin\win32;C:\MinGW\bin\;C:\msys\1.0\bin\

This is exactly what the PATH environment variable on my Windows 7
system is set to.
Does it help?

FYI, the same command under MSYS shell returns

    PATH='.:/usr/local/bin:/mingw/bin:/bin:/c/Ruby191/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/c/Python27/:/c/Program
Files (x86)/Mercurial/:/c/Program Files (x86)/GnuWin32/bin/:/c/Program
Files (x86)/Pandoc/bin:/c/gnuplot/binary/:/c/texlive/2009/bin/win32:/mingw/bin/:/bin/'
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor:posix

But, I encountered the problem when I was running mptopdf in Windows
command line.

Best Regards,
BJ



More information about the tex-live mailing list