Why does bash freeze in windows?

放肆的年华 提交于 2019-12-23 07:49:58

问题


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?


回答1:


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/



来源:https://stackoverflow.com/questions/22887999/why-does-bash-freeze-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!