准备安装包

fcgi-2.4.1-SNAP-0910052249.tar.gz
spawn-fcgi-1.6.4.tar.gz
  • 解压
tar zxvf fcgi-2.4.1-SNAP-0910052249.tar.gz
tar zxvf spawn-fcgi-1.6.4.tar.gz
  • 安装 fcgi
 cd fcgi-2.4.1-SNAP-0910052249
./configure
make

make出错:

clipboard.png

  • 解决方案:

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

#include <stdio.h>

继续:

make
make install

安装spawn-fcgi

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

clipboard.png

clipboard.png

aclocal
autoconf

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

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

一气呵成~!


风斩冰华
27 声望12 粉丝

coding