分页: 1 / 1
[问题]/bin/sh: gmake: command not found 要怎么处理
发表于 : 2006-03-18 21:39
由 xmuzzx
编译Nachos时出现的问题:
Nachos/nachos-3.4/code# make
cd threads; gmake depend
/bin/sh: gmake: command not found
make: *** [all] 错误 127
这个要怎么做?
发表于 : 2006-03-29 17:37
由 wjh@xmu
把makefile里面的make=gmake改成make=make
需要的话就装个g++
这样就可以正常编译了
你哪班的?
发表于 : 2007-03-24 16:56
由 xmuyong
都是xmu的嗄,哈哈哈
发表于 : 2007-03-24 17:07
由 yatusiter
我也来报道~~xmu
[问题]我也有遇到类似问题,急求解!!
发表于 : 2008-02-27 23:50
由 fuowen20
/bin/sh: -I../c++: not found
make[1]: *** [../obj_s/cursesf.o] Error 127
make[1]: Leaving directory `/tmp/ncurses-5.6/c++'
make: *** [all] Error 2
我有类似问题,安装ncurses-5.6.tar.gz时在make这个步骤中出现的问题,真郁闷!!!
发表于 : 2008-02-27 23:51
由 fuowen20
我安装了g++,再重新make下试试,等结果中。。。。。
发表于 : 2008-02-27 23:52
由 fuowen20
郁闷!不行。。。
仍然一样的错误
cd ../obj_s; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -fPIC -c ../c++/cursesf.cc
/bin/sh: -I../c++: not found
make[1]: *** [../obj_s/cursesf.o] Error 127
make[1]: Leaving directory `/tmp/ncurses-5.6/c++'
make: *** [all] Error 2
发表于 : 2008-02-28 22:32
由 anandayang
楼上的你是没有g++吧, 所以CXX变量为空,shell就把-I../c++当成命令了
Re: [问题]/bin/sh: gmake: command not found 要怎么处理
发表于 : 2008-03-19 16:55
由 ggdxx
xmuzzx 写了:编译Nachos时出现的问题:
Nachos/nachos-3.4/code# make
cd threads; gmake depend
/bin/sh: gmake: command not found
make: *** [all] 错误 127
这个要怎么做?
你解决了没有?我也出现一样的错误,不过我本来就有安装g++的
Re: [问题]/bin/sh: gmake: command not found 要怎么处理
发表于 : 2008-03-19 17:16
由 ggdxx
xmuzzx 写了:编译Nachos时出现的问题:
Nachos/nachos-3.4/code# make
cd threads; gmake depend
/bin/sh: gmake: command not found
make: *** [all] 错误 127
这个要怎么做?
哈哈,我找到解决方法了。
看这里:
http://www.yefeng.org/2008/01/02/nachos-in-ubuntu/
ubuntu use gmake as make. So, in order to solve the “gmake: command not found” problem, just do this:
cd /usr/bin
sudo ln -s make gmake
发表于 : 2008-08-02 0:35
由 yarten
gmake其实就是 GNU make,给它创建一个链接就可以了,如下:
ln -sf /usr/bin/make /usr/bin/gmake