make: *** The target is not specified and the makefile cannot be found. stop

make: *** The target is not specified and the makefile cannot be found. stop

After linux installs redis and decompresses the file, copy the decompressed folder directly to /usr/local, such as /usr/local/redis, execute make under redis, make: *** No target specified and can’t be found To makefile, stop error. The reason is that after copying the decompressed file to redis using cp redis-3.2.10 /usr/local/redis, the file is not copied completely, so you can decompress it directly under usr/local, and then enter redis to make make

Guess you like

Origin blog.csdn.net/limin322/article/details/114261040