全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3194|回复: 15

make命令没有。怎么装?

[复制链接]
发表于 2013-8-17 17:15:04 | 显示全部楼层 |阅读模式
本帖最后由 baqfhwqqq 于 2013-8-17 19:47 编辑

[root@vps ~]# cd webbench-1.5
[root@vps webbench-1.5]# make && make install
ctags *.c
/bin/sh: ctags: command not found
make: [tags] 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: *** [install] Error 1
[root@vps webbench-1.5]#






yum -y install gcc gcc-c++
发表于 2013-8-17 17:19:00 | 显示全部楼层
你就执行:
  1. apt-get install make -y || yum install make -y
复制代码

点评

纯净系统。只装WebBench,要先运行哪些命令装必要的东东?  发表于 2013-8-17 17:38
 楼主| 发表于 2013-8-17 17:37:07 | 显示全部楼层

[root@vps /]# cd webbench-1.5
[root@vps webbench-1.5]# make
cc -Wall -ggdb -W -O   -c -o webbench.o webbench.c
make: cc: Command not found
make: *** [webbench.o] Error 127
[root@vps webbench-1.5]# make install
cc -Wall -ggdb -W -O   -c -o webbench.o webbench.c
make: cc: Command not found
make: *** [webbench.o] Error 127
[root@vps webbench-1.5]# 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
[root@vps webbench-1.5]#
发表于 2013-8-17 17:38:23 | 显示全部楼层
yum -y install gcc
发表于 2013-8-17 17:41:24 | 显示全部楼层
mkdir -p /usr/local/man/man1
发表于 2013-8-17 18:38:46 | 显示全部楼层
yum install gcc gcc++
发表于 2013-8-17 21:26:13 | 显示全部楼层
centos运行apt-get?
发表于 2013-8-17 21:29:33 | 显示全部楼层
撸主不configure直接make?
发表于 2013-8-17 21:56:02 | 显示全部楼层
就没人看错误提示,明明是ctags找不到,装make有啥用?
  1. yum install ctags
复制代码
发表于 2013-8-17 22:05:12 | 显示全部楼层
安装这个网上不止一个教程,随便搜下  不至于被这些自认为很牛逼的老牛喷
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-3-29 14:29 , Processed in 0.093576 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表