问题:
使用./make.sh && ./make.sh install命令安装FastDFS时出错:
/usr/include/fastcommon/ioevent.h:82:2: 错误:#error port me
#error port me
原因:
FastDFS版本和libfastcommon-master版本不兼容
解决方法:
如果libfastcommon-master.zip是100kb左右的,用FastDFS5.0.5,如果是212kb的压缩包,使用FastDFS5.0.8的