我是靠谱客的博主 机灵鸵鸟,这篇文章主要介绍FastDFS整合Nginx的模块:fastdfs-nginx-module报错:fdfs_define.h:15:27: 致命错误:common_define.h:没有那个文件或目录...,现在分享给大家,希望可以做个参考。
错误提示:
/usr/include/fastdfs/fdfs_define.h:15:27: 致命错误:common_define.h:没有那个文件或目录
【解决办法】
1、编辑fastdfs-nginx-module的配置文件
vim /home/zsd/fast/fastdfs-nginx-module-1.20/src/config
2、将原文修改为上图的两处红框圈出的地方
ngx_module_incs="/usr/local/include /usr/include/fastcommon/"
CORE_INCS="$CORE_INCS /usr/local/include /usr/include/fastcommon/"
3、重新编译安装
./configure --prefix=/usr/local/nginx --add-module=/root/fastdfs-nginx-module-master/src #解压后fastdfs-nginx-module所在的位置
make
make install
4、查看fastdfs-nginx-module的安装情况
参考:https://blog.csdn.net/weixin_36162966/article/details/91961371
最后
以上就是机灵鸵鸟最近收集整理的关于FastDFS整合Nginx的模块:fastdfs-nginx-module报错:fdfs_define.h:15:27: 致命错误:common_define.h:没有那个文件或目录...的全部内容,更多相关FastDFS整合Nginx的模块:fastdfs-nginx-module报错:fdfs_define.h:15:27:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复