happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
8.99k stars 1.98k forks source link

sf/sf_global.h 头文件缺少 #603

Closed xingmengyoulan closed 1 year ago

xingmengyoulan commented 1 year ago

../common/fdfs_global.h:15:26: fatal error: sf/sf_global.h: No such file or directory,这是什么原因,包里也没这个文件

happyfish100 commented 1 year ago

需要先编译和安装 libserverframe,参见源码目录下的文件 INSTALL

xingmengyoulan commented 1 year ago

多谢安装没问提了, 结合nginx使用,fastdfs 服务都是正常的,nginx 报如下错误 [2022-12-04 04:43:35] ERROR - file: ../tracker/tracker_proto.c, line: 53, server: 172.16.214.6:22122, recv data fail, errno: 107, error info: Transport endpoint is not connected [2022-12-04 04:43:35] ERROR - file: ../tracker/tracker_proto.c, line: 708, get parameters from tracker server 172.16.214.6:22122 fail

happyfish100 commented 1 year ago

需要使用最新的fastdfs-nginx-module,nginx要重新编译和安装。