I am running the bash program in windows which was installed along with msys and mingw. I am trying to run ./configure
. However whenever I do it the configuration freezes on "checking whether make sets $(MAKE)"
. Can you think of any reason why and how I can fix this issue.
I ran the command
sh -x ./configure
To see exactly where it freezes. The last run command is conftest.make which has the following code
SHELL = /bin/sh
all:
@echo '@@@%%%=$(MAKE)=@@@%%%'
When I run this command by itself in command prompt make -f conftest.make
the output is @@@%%%=make=@@@%%%
. However if I start bash then run the same make command it freezes.
Why does it freeze here?
This error occurs due to the “Windows Subsystem for Linux” not running on the C drive, which is Windows's system drive. To address this issue, ensure that your Linux system is installed in the C drive. Issue 2: The WSL optional component is not enabled. Please enable it and try again.
While Bash is great to manage text files in a scripting environment, everything is managed through APIs, not files. So, Bash is useful primarily to import Linux code to Windows machines and develop that code.
The issue ended up being a new feature of the windows 10 console. Under the default config, whenever you click on a command window in windows 10, it immediately halts the application process when it attempts to write to the console. When this happens, the command window has gone into "selection" mode.
Are you using MinGW? If you have version 1.8* try to downgrade to 1.7. You can report this as a bug here: http://sourceforge.net/p/mingw/bugs/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With