本文介绍了什么是“全部” Linux中的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好, 我有一个用于编译stanalone可执行文件的make文件。我被指示在命令窗口中键入make all。我可以知道这个命令是什么以及它应该如何使用。当我在终端窗口中键入此命令时,我收到以下错误 compile_mg1g1.ksh#run mg1g1编译脚本 / bin / sh :compile_mg1g1.ksh:命令未找到 make:*** [lib]错误127 有人请帮帮我这是什么? ????
Hello, I have a make file for compiling stanalone executable. I am instructed to type "make all" in command window. May I know what is this command and how it should be used. While I typed this command in terminal window, I am getting following error compile_mg1g1.ksh # run mg1g1 compile script /bin/sh: compile_mg1g1.ksh: command not found make: *** [lib] Error 127 somebody please help me what is this?????
推荐答案''make all''只需告诉 make 工具来构建目标' makefile中的'all''(通常称为'' Makefile '')。你可以查看这样的文件,以了解如何处理源代码。 关于你得到的错误,它看起来是 compile_mg1g1.ksh 缺少shell脚本。 ''make all'' simply tells the make tool to build the target ''all'' in the makefile (usually called ''Makefile''). You may have a look at such file in order to understand how the source code will be processed. As about the error you are getting, it looks the compile_mg1g1.ksh shell script is missing.
亲爱的CPallini, 非常感谢CPallini的答案。它是有益的。但是compile_mg1g1.ksh在项目文件夹中是可用的,我在终端中执行了这个文件。我指定了make文件代码,其中提到了compile_mg1g1。在这种情况下,我怎么知道错误在哪里以及如何向前推进????等待你的回复............. makefile -------- - lib:FORCE compile_mg1g1.ksh#run mg1g1 compile script Dear CPallini, Thanks a lot CPallini for the answer. it is useful. But "compile_mg1g1.ksh" is avilable in the project folder and I excuted this file in terminal. I specified the make file code in which compile_mg1g1 has been mentioned. In this situation, how can I know where is the error and how it should move ahead???? waiting for your reply............. makefile --------- lib: FORCE compile_mg1g1.ksh # run mg1g1 compile script
您需要检查shell脚本文件的路径和本地目录树 compile_mg1g1.ksh 。 但是,考虑到你的问题的描述,我猜你试图在一个Windows系统上的命令窗口,在这种情况下它将不起作用。扩展名为 ksh 的文件是Korn shell脚本文件,需要在UNIX系统或UNIX模拟器中运行(例如Cygwin [ ^ ])在Windows上。 注意:请不要添加评论或qeustions作为解决方案,使用有一个问题或评论?链接。 You need to check your path and your local directory tree for the shell script file compile_mg1g1.ksh. However, given the description of your problem I am guessing that you are trying to run this in a command window on a Windows system, in which case it will not work. Files with an extension of ksh are Korn shell script files which needs to be run on a UNIX system, or in a UNIX emulator (such as Cygwin[^]) on Windows. Note: please do not add comments or qeustions as "Solutions", use the Have a Question or Comment? link.
更多推荐
什么是“全部” Linux中的命令
发布评论