Cygwin Make bash 命令未找到
我在 Windows 7 64 位上安装了 cygwin 以及所有软件包。由于某种原因,make 命令给了我一个错误:bash make:找不到命令。我检查了一下,在我的bin文件夹中,没有make.exe。有人能帮我解决这个问题吗?我真的需要 make 才能在 CYGWIN 中工作。我不想去Windows XP。
I installed cygwin with all the packages on windows 7 64 bit. For some reason the make command is giving me an error: bash make: command not found. I checked and in my bin folder, there is no make.exe. Can anyone help me on this? I really need make to work in CYGWIN. I dont wanna have to go to windows xp.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
安装(更新)时,将“开发”选中为“安装”,它会安装大量 MB,但有帮助。我没有时间检查我(我们)到底需要哪个。
While instaling (updating) check 'Devel' to 'Install', it will install a lot of MB but helps. I don't have time to check which exacly I (we) need.
你可能还没有安装make。重新启动 cygwin 安装程序,搜索 make,选择它,应该会安装它。默认情况下,cygwin 安装程序不会安装我记得的所有内容。
You probably have not installed make. Restart the cygwin installer, search for make, select it and it should be installed. By default the cygwin installer does not install everything for what I remember.
请按照以下步骤操作:
再次打开 cygwin 设置
在视图选项卡上选择类别
在搜索选项卡中填写“make”
展开 devel
找到“make:a GNU version of the 'make' utilility”,点击安装
完成!
follow some steps below:
open cygwin setup again
choose catagory on view tab
fill "make" in search tab
expand devel
find "make: a GNU version of the 'make' ultility", click to install
Done!
请按照下列步骤操作:
Follow these steps:
在安装或更新时选择软件包时,在搜索框中搜索“make”,然后选择显示“make”和“gcc”的框,这些框主要在 devel 软件包中找到。
when selecting packages at installation or update search for 'make' in searchbox and select the boxes showing 'make' and also 'gcc' mostly found in devel package.
如果您有 apt-cyg ,那么只需一个命令即可完成
;如果您没有 apt-cyg ,则安装它,因为它将简化您的生活。
if you have
apt-cyg
, then you are done with one commandif you don't have
apt-cyg
, then install it as it will simplify your life.我遇到了同样的问题,这是由于多次安装了 cygwin 造成的。
检查您单击以启动终端的链接(图标)。如果它没有指向更新的 cygwin 安装目录,则说明您安装了错误的 cygwin。更新时,请仔细检查 cygwin 的位置,并准确启动该 cygwin 实例。
I had the same problem and it was due to several installations of cygwin.
Check the link (the icon) that you click on to start the terminal. In case it does not point to the directory of your updated cygwin installation, you have the wrong installation of cygwin. When updating, double check the location of cygwin, and start exactly this instance of cygwin.
我遇到了同样的问题。请按照下列步骤操作:
I faced the same problem. Follow these steps:
我也面临同样的问题。向上看左侧,然后选择(完整)。 (Make)、(gcc) 和许多其他的都会出现。您将能够选择搜索栏来轻松找到它们。
I faced the same problem too. Look up to the left side, and select (full). (Make), (gcc) and many others will appear. You will be able to chose the search bar to find them easily.