redora24版本,安装redis,解压redis,进入redis包,输入make命令。提示gcc命令找不到。新手,求指导。

MAKE hirediscd hiredis && make staticmake[3]: Entering directory '/usr/soft/redis-2.6.17/deps/hiredis'安装了redora24版本的linux系统,在上面安装redis,解压redis后,进入redis包中,输入make命令,提示了3个,有gcc和cc未安装等。提示如下:gcc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.cmake[3]: gcc: Command not foundMakefile:98: recipe for target 'net.o' failedmake[3]: *** [net.o] Error 127make[3]: Leaving directory '/usr/soft/redis-2.6.17/deps/hiredis'Makefile:45: recipe for target 'hiredis' failedmake[2]: *** [hiredis] Error 2make[2]: Leaving directory '/usr/soft/redis-2.6.17/deps'Makefile:128: recipe for target 'persist-settings' failedmake[1]: [persist-settings] Error 2 (ignored) CC adlist.o/bin/sh: cc: command not foundMakefile:183: recipe for target 'adlist.o' failedmake[1]: *** [adlist.o] Error 127make[1]: Leaving directory '/usr/soft/redis-2.6.17/src'Makefile:6: recipe for target 'all' failedmake: *** [all] Error 2[root@localhost redis-2.6.17]#

第1个回答  2016-08-20
install一个gcc
第2个回答  2018-01-17
yum install gcc-c++

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网