初试spawn-fcgi

初试spawn-fcgi无评论

2017年5月2日 下午9:46分类:其他 阅读: 15,081 次

1、下载fcgi库源码 ftp://ftp.slackware.com/.2/gentoo/distfiles/fcgi-2.4.0.tar.gz 2、编译 ./configure --host=arm-linux --prefix=/opt/lib/fcgi -enable-static --disable-shared make出现错误: fcgio.cpp error: 'EOF' was not declared in this scope fcgio.cpp增加#define EOF (-1) /home/yushi/fcgi-2.4.0/libfcgi/fcgiapp.c:615: undefined reference to `frexp' 先make clean,然后修改 libfcgi目录下的Makefile,在LIBS那一行增加 -lm 参数 3、编译测试程序 建立te ...


【阅读全文】