今天在新装的solaris10 上安装cvs软件,make编译时不过,
# /usr/ccs/bin/make
make all-recursive
bash: make: command not found
*** Error code 127
make: Fatal error: Command failed for target `all'
# /usr/xpg4/bin/make
make all-recursive
bash: make: command not found
*** Error code 127
make: Fatal error: Command failed for target `all'
原因是gcc没有加入环境变量
vi /etc/profile
PATH=/opt/SUNWspro/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin:/usr/
ucb:/etc:/usr/local/bin:/usr/local/cvs/bin:.
加入后 make,make install 成功