准备安装包

fcgi-2.4.1-SNAP-0910052249.tar.gzspawn-fcgi-1.6.4.tar.gz
  • 解压
tar zxvf fcgi-2.4.1-SNAP-0910052249.tar.gztar zxvf spawn-fcgi-1.6.4.tar.gz
  • 安装 fcgi
 cd fcgi-2.4.1-SNAP-0910052249./configuremake

make出错:

  • 解决方案:

找到fcgio.h 或fcgio.cpp文件添加:

#include <stdio.h>

继续:

makemake install

安装spawn-fcgi

./autogen.sh./configuremakemake install
  • 报错
./autogen.sh: 11: ./autogen.sh: autoreconf: not found
autoconf

aclocalautoconf

又报错。。。
算了不折腾了重新下个

wget http://download.lighttpd.net/spawn-fcgi/releases-1.6.x/spawn-fcgi-1.6.4.tar.gz./configuremake&&make install

一气呵成~!