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

Byung-Jae Kwak byung.kwak at gmail.com
Thu Sep 2 10:49:55 CEST 2010


I would like to thank you guys for your patient and kind help with my problem.
Unfortunately, I cannot afford to spend more time on this at the moment
(some deadlines coming up, etc), and decided to shelve it for now.

So, I uninstalled MSYS, and mptopdf works fine. Probably, I will have to
reinstall MSYS (or cygwin, which I am even less familar with) in the future.

I am sorry for not being able to return your favor by solving and sharing
the solution.

Best Regards,

Mojca, yes you are right. There is C:\texlive\2009\tlperl\bin\perl.exe.

On Wed, Sep 1, 2010 at 4:38 PM, Mojca Miklavec
<mojca.miklavec.lists at gmail.com> wrote:
> On Wed, Sep 1, 2010 at 06:54, Byung-Jae Kwak <byung.kwak at gmail.com> wrote:
>> On Wed, Sep 1, 2010 at 6:55 AM, Mojca Miklavec
>> <mojca.miklavec.lists at gmail.com> wrote:
>>> On Tue, Aug 31, 2010 at 12:06, Byung-Jae Kwak wrote:
>>>> On Tue, Aug 31, 2010 at 7:55 AM, George N. White III wrote:
>>>>> See the entry "A tail about the Windows Unix shells and MSYS path mangling"
>>>>> <http://curiousprogrammer.wordpress.com/2010/03/13/enablers-and-obstructors>
>>>>> for some examples.
>>>> I am not versed in UNIX enough to understand the blog entry.
>>>> But, even assuming MSYS has a problem, I still don't understand why
>>>> this is hapenning. mptopdf is not an MSYS application. If I did not have
>>>> MSYS installed, I would not be having this problem. Am I wrong?
>>> Judging from PATH, you probably have no special version of Perl
>>> installed, so it is quite possible that Perl is being called from MSYS
>>> and that one might mess up some paths.
>>> A while ago I had a problem on computer where ruby was installed under
>>> cygwin which prevented ConTeXt to work properly.
>>> You may try two things (separately, not both at once):
>>> - Before you install perl, remove all the msys-related variables from
>>> PATH (Do you know how to set path in bash without having to mess with
>>> system-wide settings?) My guess is that it might not work at all if
>>> there's no perl installed.
>> Do you mean the PATH in ~/.bashrc or ~/.profile?
> No, I meant
>    echo %PATH%
> in cmd.exe. You can set it with
>    set PATH=<copy everything from the previous answer but msys-related tools>
> (if I'm not mistaken).
>>> - Install perl (you don't need to install it, it should be enough to
>>> extract it to some folder) and make sure that path to "native perl"
>>> comes before msys. It's quite possible that Perl gets installed with
>>> TeX Live, so it might be enough to figure out where Perl was installed
>>> and only set the path to see that folder.
>> As I wrote in another e-mail, I have two perl versions installed -- one
>> that came with MSYS, and another that came with TeX Live 2009.
>> The perl that came with MSYS is named "perl.EXE", and the one
>> that came with TeX Live is "perltex.EXE". If TeX Live needs perl, I suppose
>> it uses perltex. And, on my system, the path to TeX Live comes before
>> the path to MSYS.
>> So, what do I do now?
> mptopdf is not aware of TeX Live's perl installation (even though it
> should probably not be too difficult to make it aware of it; I have no
> idea how perl in TL works though).
> Maybe you could find perl somewhere under tlpkg/tlperl.straw/bin/ (or
> something similar). The fastest way to check what happens if you add
> that into PATH (under cmd.exe) before anything else, so something like
>    set PATH=C:\texlive\2009\tlpkg\tlperl.straw\bin;%PATH%
> but you need to check for details (if that path exists and if the
> syntax is right).
> Mojca

More information about the tex-live mailing list