unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: alexey.pawlow@gmail.com, emacs-devel@gnu.org
Subject: Re: Wrong PATH in MSYS2/MINGW64 builds?
Date: Thu, 28 May 2015 18:09:33 +0300	[thread overview]
Message-ID: <834mmwyc0i.fsf@gnu.org> (raw)
In-Reply-To: <55671E77.8030404@alice.it>

> Date: Thu, 28 May 2015 15:56:07 +0200
> From: Angelo Graziosi <angelo.graziosi@alice.it>
> Cc: alexey.pawlow@gmail.com
> 
> 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.



  parent reply	other threads:[~2015-05-28 15:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28 13:56 Wrong PATH in MSYS2/MINGW64 builds? Angelo Graziosi
2015-05-28 14:11 ` Óscar Fuentes
2015-05-28 15:09 ` Eli Zaretskii [this message]
2015-05-28 15:36   ` Óscar Fuentes
2015-05-28 16:37     ` Eli Zaretskii
2015-05-28 16:52       ` Yuri Khan
2015-05-28 17:09         ` Eli Zaretskii
2015-05-29  2:05           ` Yuri Khan
2015-05-29  6:05             ` Eli Zaretskii
2015-05-28 15:41   ` Angelo Graziosi
2015-05-28 16:49     ` Eli Zaretskii
2015-05-28 21:51       ` Angelo Graziosi
2015-05-29  5:55         ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2015-05-28 15:06 Angelo Graziosi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834mmwyc0i.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=alexey.pawlow@gmail.com \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).