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

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


On Tue, Aug 31, 2010 at 2:07 AM, George N. White III <gnwiii at gmail.com> wrote:
> 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.

[snip]

>> 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?

No, I was running it in Windows command.
But, I get the same error messages if I run the command under MSYS shell.

I don't know if it will be of any help, but my setup is as follows:
I have: TeX Live 2009, GnuWin32 make, and MinGW/MSYS installed. The versions
of MinGW/MSYS is not the latest ones but those provided as automated installers.
I draw figures with MetaPost, and the final pdf file is created using
"make" from
LaTeX and MetaPost source files. In the makefile, the myfigure.mp file
is converted
to myfigure.1 and then myfigure-1.pdf to be included in the final document.

Best Regards,
BJ



More information about the tex-live mailing list