unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Wrong PATH in MSYS2/MINGW64 builds?
@ 2015-05-28 13:56 Angelo Graziosi
  2015-05-28 14:11 ` Óscar Fuentes
  2015-05-28 15:09 ` Eli Zaretskii
  0 siblings, 2 replies; 14+ messages in thread
From: Angelo Graziosi @ 2015-05-28 13:56 UTC (permalink / raw)
  To: emacs-devel; +Cc: alexey.pawlow

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\\"


I wonder if this is Windows-builds related of we can do a better build. 
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


Ciao,
  Angelo.



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Wrong PATH in MSYS2/MINGW64 builds?
@ 2015-05-28 15:06 Angelo Graziosi
  0 siblings, 0 replies; 14+ messages in thread
From: Angelo Graziosi @ 2015-05-28 15:06 UTC (permalink / raw)
  To: ofv, emacs-devel

Óscar Fuentes wrote:
> Angelo Graziosi writes:
>>
>> I wonder if this is Windows-builds related
>
> What is Windows-builds?

The build done on MinGW64 shell from MSYS2...

>
>> of we can do a better
>> build. BTW I HAVE bzip2 installed (both in MINGW64 and MSYS2 shells):
>>
>> MINGW64 ~
>> $ type bzip2
>> bzip2 is /mingw64/bin/bzip2
>
> Is your emacs.exe installed on the same directory as mingw64 bzip2.exe ?

Yes,

  MINGW64 ~
$ type emacs
emacs è /mingw64/bin/emacs

  MINGW64 ~
$ type bzip2
bzip2 è /mingw64/bin/bzip2

But if (getenv "PATH") prints

"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\"

it seems to me obvious that bzip2 isn't found. "C:\msys64\mingw64\bin" 
is not in the PATH...

BTW, I start Emacs with a link on status bar and its target is 
"C:\msys64\mingw64\bin\runemacs.exe".

Ciao,
  Angelo.



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-05-29  6:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).