无法运行程序“make”:系统找不到指定的文件? [英] Cannot run program "make": The system cannot find the file specified?

查看:1026
本文介绍了无法运行程序“make”:系统找不到指定的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是第一次出现这个错误。我使用Cygwin与Eclipse 3.5,我的路径变量设置为:%CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32 \Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; C:\Program Files\Microsoft SQL Server\100\Tools\Binn\; C:\Program文件\Microsoft SQL Server\100\DTS\Binn\; C:\Program Files\Apache Ant\bin; C:\Program Files\SVN\bin; C:\Program Files \Java\jdk1.6.0_18\bin; C:\Users\Mohit\Developer\AndroidSDK\tools; C:\Program Files\QuickTime\QTSystem\; C:\ cygwin\bin 请注意, C:\cygwin\bin 在我的路径中。而make.exe是我的Cygwin bin。所以我认为问题不在于我的系统,也可能是我的项目。但我找不到任何错误。任何建议?

This is the first time that this error has come up. I am using Cygwin with Eclipse 3.5 and my Path variable is set to: %CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Apache Ant\bin;C:\Program Files\SVN\bin;C:\Program Files\Java\jdk1.6.0_18\bin;C:\Users\Mohit\Developer\AndroidSDK\tools;C:\Program Files\QuickTime\QTSystem\;C:\cygwin\bin Notice that C:\cygwin\bin is in my Path. And make.exe is is my Cygwin bin. So I think the problem is not with my system, but maybe my project. But I can't find anything wrong with it. Any suggestions?

推荐答案

使用 Process Explorer 来查看Eclipse进程中的PATH环境变量。它可能在内部改变它的PATH - 如果是这样,你需要弄清楚如何配置Eclipse,使其PATH设置正确。

Use Process Explorer to take a look at the PATH environment variable inside Eclipse's process. It's possible that it's changing its PATH internally -- if that's the case, you'll need to figure out how to configure Eclipse so that its PATH is set up correctly.

如果您发现 C:\cygwin\bin 不在Eclipse的PATH中,并且您最近将其添加到PATH中,则需要关闭并重新启动Eclipse以使该更改生效。

If you're finding that C:\cygwin\bin isn't in Eclipse's PATH, and you recently added that to your PATH, you need to close and restart Eclipse for that change to take affect.

如果仍然无法确定,请尝试使用过程监视器,其中包含Eclipse.exe的过滤器,以获得一个长期详细的列表,它尝试做的一切。查找 CreateProcess()的调用失败,看看是否还能学到更多。

If you still can't figure it out, try using Process Monitor with a filter for Eclipse.exe to get a long, detailed listing of everything it's trying to do. Look for the call to CreateProcess() that's failing and see if you can learn anything more.

这篇关于无法运行程序“make”:系统找不到指定的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆