[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong PATH in MSYS2/MINGW64 builds?
From: |
Eli Zaretskii |
Subject: |
Re: Wrong PATH in MSYS2/MINGW64 builds? |
Date: |
Thu, 28 May 2015 18:09:33 +0300 |
> Date: Thu, 28 May 2015 15:56:07 +0200
> From: Angelo Graziosi <address@hidden>
> Cc: address@hidden
>
> Trying to visit a bzip2 file (foo.txt.bz2) with
> mingw-w64-emacs-git-r121447.8a9ba4d-1 installed package, I got
>
> Uncompression program `bzip2' not found
>
> So, trying
>
> (getenv "PATH")
>
> from scratch buffer, prints:
>
> "C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\"
In which of these directories do you have bzip2.exe?
> BTW I HAVE bzip2 installed (both in MINGW64 and MSYS2 shells):
>
> MINGW64 ~
> $ type bzip2
> bzip2 is /mingw64/bin/bzip2
>
> MSYS ~
> $ type bzip2
> bzip2 is /usr/bin/bzip2
This doesn't tell anything, since you obviously typed these commands
from some Unixy shell, and the resulting file name isn't related to
any of the directories shown in PATH above. A native build of Emacs
doesn't know about all the "mounted" directories created by MSYS and
Cygwin, it searches only the native Windows PATH. You should make
sure your bzip2.exe is found in one of those directories, or add its
directory to system-wide PATH before starting Emacs.
- Wrong PATH in MSYS2/MINGW64 builds?, Angelo Graziosi, 2015/05/28
- Re: Wrong PATH in MSYS2/MINGW64 builds?, Óscar Fuentes, 2015/05/28
- Re: Wrong PATH in MSYS2/MINGW64 builds?,
Eli Zaretskii <=
- Re: Wrong PATH in MSYS2/MINGW64 builds?, Óscar Fuentes, 2015/05/28
- Re: Wrong PATH in MSYS2/MINGW64 builds?, Eli Zaretskii, 2015/05/28
- Re: Wrong PATH in MSYS2/MINGW64 builds?, Yuri Khan, 2015/05/28
- Re: Wrong PATH in MSYS2/MINGW64 builds?, Eli Zaretskii, 2015/05/28
- Re: Wrong PATH in MSYS2/MINGW64 builds?, Yuri Khan, 2015/05/28
- Re: Wrong PATH in MSYS2/MINGW64 builds?, Eli Zaretskii, 2015/05/29
Re: Wrong PATH in MSYS2/MINGW64 builds?, Angelo Graziosi, 2015/05/28