Netbeans 8.1为cygwin mktemp提供了一个糟糕的命令行选项 [英] Netbeans 8.1 gives a bad command line option to cygwin mktemp

查看:133
本文介绍了Netbeans 8.1为cygwin mktemp提供了一个糟糕的命令行选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 HERE [ ^ ]十小时后没有回复,有十个人查看。



显然, NetBeans给CygWin make实用程序(称为mktemp)一个未知的选项,特别是--f,



此刻我一直无法猜测定义了语法,或者如何更改它。



欢迎无知的施舍。



这是NetBeans中输出窗口的剪切和粘贴...



I have typed out a long and detailed edition of this problem over HERE[^] with no response after ten hours, and ten people viewing it.

Apparently, NetBeans is giving the CygWin make utility (known as mktemp) an unknown option, specifically, "--f",

At this moment I have been unable to guess where that syntax is defined, or how to change it.

Alms for the clueless are welcomed.

Here is a cut and paste from the output window in NetBeans...

cd 'C:\Users\MURPHY\Documents\NetBeansProjects\FRED_CPP'
C:\cygwin64\bin\mktemp.exe -f Makefile CONF=Debug
mktemp: unknown option -- f
Try '/usr/bin/mktemp --help' for more information.

BUILD FAILED (exit value 1, total time: 204ms)





我尝试过的:



我在NetBeans IDE中搜索过。



我找了可以定义mkdir语法的地方



到目前为止,还没找到它。



我打开了一个命令窗口并键入mkdir --help以查看他可能提供的建议。 - f似乎是整个问题。



What I have tried:

I've poked around the NetBeans IDE.

I have looked for a place where the syntax of mkdir might be defined

So far, haven't found it.

I opened a command window and typed "mkdir --help" to see what suggestions he might provide on his own. the "--f" appears to be the entire problem.

推荐答案

不是真的答案,但我希望它有所帮助(并发布如此长的文本作为无格式的评论使它是相当难以理解的。



Not really an answer but I hope it helps (and posting such a long text as unformatted comment makes it rather unreadable).

引用:

NetBeans正在提供CygWin make实用程序(称为mktemp)

NetBeans is giving the CygWin make utility (known as mktemp)



and

引用:

mktemp.exe -f Makefile CONF = Debug

mktemp.exe -f Makefile CONF=Debug

不匹配。



似乎NetBeans IDE在这里使用了错误的命令。 -f Makefile参数表示应该执行make实用程序(例如GNU make )。但是 mktmp 不是make实用程序(来自'man mktemp'):

does not match.

It seems that the NetBeans IDE is using the wrong command here. The "-f Makefile" parameter indicates that a make utility should be executed (e.g. the GNU make). But mktmp is not a make utility (from 'man mktemp'):

Quote:

mktemp - 创建一个临时文件或目录

...

安全地创建一个临时文件或目录,并打印其名称。

mktemp - create a temporary file or directory
...
Create a temporary file or directory, safely, and print its name.



因此,您应该按照Richard的建议将此报告给NetBeans。


So you should report this to NetBeans as already suggested by Richard.


这篇关于Netbeans 8.1为cygwin mktemp提供了一个糟糕的命令行选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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