素锦时年_1b00

关注

redis make: *** No rule to make target `/include/ruby.h', needed by `zlib.o'. Stop.

素锦时年_1b00

关注

阅读 79

2023-02-24


ruby 安装redis报错

make: *** No rule to make target `/include/ruby.h', needed by `zlib.o'. Stop. 


解决办法:

vim /tools/ruby-2.5.1/ext/zlib/Makefile


#zlib.o: $(top_srcdir)/include/ruby.h #把这一行替换成下面一行


zlib.o: ../../include/ruby.h

相关推荐

君之言之

make: *** No targets specified and no makefile found. Stop.

君之言之 91 0 0

落拓尘嚣

NIOS Eclipse突然报错:No rule to make target `/system.h

落拓尘嚣 17 0 0

扒皮狼

No rule to make target 'certs/rhel.pem', needed by 'certs/x509_certificate_list'

扒皮狼 64 0 0

_阿瑶

make: *** No targets specified and no makefile found. Stop.解决方法

_阿瑶 76 0 0

卿卿如梦

QT编译UI文件时报找不到依赖的自定义头文件:No rule to make target ‘*.h‘, needed by ‘ui_*.h‘.

卿卿如梦 121 0 0

墨香子儿

视觉SLAM十四讲 报错 No rule to make target ‘/usr/local/lib/libDBoW3.a‘, needed by ‘gen_vocab‘.

墨香子儿 37 0 0

IT程序员

nginx编译出错:make[1]: *** [/usr/local/ssl/.openssl/include/openssl/ssl.h] Error 127

IT程序员 37 0 0

精彩评论(0)

0 0 举报