网络云盘项目fastCGI和spawnfcgi的安装

准备安装包

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出错:

  • 解决方案:

找到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

aclocal
autoconf

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

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

一气呵成~!

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理