baqfhwqqq 发表于 2013-8-17 17:15:04

make命令没有。怎么装?

本帖最后由 baqfhwqqq 于 2013-8-17 19:47 编辑

# cd webbench-1.5
# make && make install
ctags *.c
/bin/sh: ctags: command not found
make: Error 127 (ignored)
install -s webbench /usr/local/bin
install -m 644 webbench.1 /usr/local/man/man1
install: cannot create regular file `/usr/local/man/man1': No such file or directory
make: *** Error 1
#




sweat.gif



yum -y install gcc gcc-c++

★Extreme★ 发表于 2013-8-17 17:19:00

你就执行:[*]apt-get install make -y || yum install make -y复制代码

baqfhwqqq 发表于 2013-8-17 17:38:00


★Extreme★ 发表于 2013-8-17 17:19

你就执行:
# cd webbench-1.5
# make
cc -Wall -ggdb -W -O   -c -o webbench.o webbench.c
make: cc: Command not found
make: *** Error 127
# make install
cc -Wall -ggdb -W -O   -c -o webbench.o webbench.c
make: cc: Command not found
make: *** Error 127
# apt-get install make -y || yum install make -y
-bash: apt-get: command not found
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: centos.mirrors.hoobly.com
* updates: centos.mirrors.hoobly.com
Setting up Install Process
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Nothing to do
#

神马皆浮云 发表于 2013-8-17 17:37:07

yum -y install gcc

老张 发表于 2013-8-17 17:19:00

mkdir -p /usr/local/man/man1

cache 发表于 2013-8-17 17:38:23

yum install gcc gcc++

Ruclinux 发表于 2013-8-17 17:41:24

centos运行apt-get?

datou 发表于 2013-8-17 18:38:46

撸主不configure直接make?

yohu 发表于 2013-8-17 21:26:13

就没人看错误提示,明明是ctags找不到,装make有啥用?[*]yum install ctags复制代码

Zoplor 发表于 2013-8-17 21:29:33

安装这个网上不止一个教程,随便搜下不至于被这些自认为很牛逼的老牛喷
lol.gif
页: [1]
查看完整版本: make命令没有。怎么装?