致命错误:jemalloc/jemalloc.h:No such file or directory

学习自:redis 安装报错 jemalloc/jemalloc.h: No such file or directory 正确解决方案_风吹风铃动的博客-CSDN博客

出现场景

第一次执行make时由于某些异常(大部分情况下是由于gcc未安装)导致make失败,安装gcc后再次make,就会报错致命错误:jemalloc/jemalloc.h:No such file or directory

原因

上次编译失败存在残留文件,需要清理并且重新编译

解决方案

make distclean
make clean

之后就可以正常make编译了

posted @ 2023-08-14 15:46  ShineLe  阅读(1196)  评论(0)    收藏  举报