- 浏览: 2476851 次
- 性别:
- 来自: 苏州
文章分类
最新评论
-
jsntghf:
peio 写道这个怎么运行?Ruby On Rails的环境搭 ...
多文件上传之uploadify -
peio:
这个怎么运行?
多文件上传之uploadify -
往事如烟1:
我的项目是自己init了一个原始的project,之后将ver ...
React Native热部署之CodePush -
jsntghf:
往事如烟1 写道我按照你的说明进行,发现app退出之后,在进入 ...
React Native热部署之CodePush -
往事如烟1:
我按照你的说明进行,发现app退出之后,在进入不正确,请问是什 ...
React Native热部署之CodePush
今天安装fcgi,编译的时候报错:
cd . \ && CONFIG_FILES= CONFIG_HEADERS=fcgi_config.h \ /bin/sh ./config.status config.status: creating fcgi_config.h config.status: fcgi_config.h is unchanged make all-recursive make[1]: Entering directory `/opt/install/fcgi-2.4.1-SNAP-0311112127' Making all in libfcgi make[2]: Entering directory `/opt/install/fcgi-2.4.1-SNAP-0311112127/libfcgi' source='fcgiapp.c' object='libfcgi_la-fcgiapp.lo' libtool=yes \ depfile='.deps/libfcgi_la-fcgiapp.Plo' tmpdepfile='.deps/libfcgi_la-fcgiapp.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c -o libfcgi_la-fcgiapp.lo `test -f fcgiapp.c || echo './'`fcgiapp.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c fcgiapp.c -MT libfcgi_la-fcgiapp.lo -MD -MP -MF .deps/libfcgi_la-fcgiapp.TPlo -fPIC -DPIC -o .libs/libfcgi_la-fcgiapp.lo fcgiapp.c: In function 'ProcessManagementRecord': fcgiapp.c:1490: warning: dereferencing type-punned pointer will break strict-aliasing rules fcgiapp.c:1495: warning: dereferencing type-punned pointer will break strict-aliasing rules fcgiapp.c:1498: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c fcgiapp.c -MT libfcgi_la-fcgiapp.lo -MD -MP -MF .deps/libfcgi_la-fcgiapp.TPlo -o libfcgi_la-fcgiapp.o >/dev/null 2>&1 mv -f .libs/libfcgi_la-fcgiapp.lo libfcgi_la-fcgiapp.lo source='fcgi_stdio.c' object='libfcgi_la-fcgi_stdio.lo' libtool=yes \ depfile='.deps/libfcgi_la-fcgi_stdio.Plo' tmpdepfile='.deps/libfcgi_la-fcgi_stdio.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c -o libfcgi_la-fcgi_stdio.lo `test -f fcgi_stdio.c || echo './'`fcgi_stdio.c rm -f .libs/libfcgi_la-fcgi_stdio.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c fcgi_stdio.c -MT libfcgi_la-fcgi_stdio.lo -MD -MP -MF .deps/libfcgi_la-fcgi_stdio.TPlo -fPIC -DPIC -o .libs/libfcgi_la-fcgi_stdio.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c fcgi_stdio.c -MT libfcgi_la-fcgi_stdio.lo -MD -MP -MF .deps/libfcgi_la-fcgi_stdio.TPlo -o libfcgi_la-fcgi_stdio.o >/dev/null 2>&1 mv -f .libs/libfcgi_la-fcgi_stdio.lo libfcgi_la-fcgi_stdio.lo source='os_unix.c' object='libfcgi_la-os_unix.lo' libtool=yes \ depfile='.deps/libfcgi_la-os_unix.Plo' tmpdepfile='.deps/libfcgi_la-os_unix.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c -o libfcgi_la-os_unix.lo `test -f os_unix.c || echo './'`os_unix.c rm -f .libs/libfcgi_la-os_unix.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c os_unix.c -MT libfcgi_la-os_unix.lo -MD -MP -MF .deps/libfcgi_la-os_unix.TPlo -fPIC -DPIC -o .libs/libfcgi_la-os_unix.lo os_unix.c: In function 'OS_Accept': os_unix.c:1169: warning: pointer targets in passing argument 3 of 'accept' differ in signedness /usr/include/sys/socket.h:214: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' os_unix.c: In function 'OS_IsFcgi': os_unix.c:1269: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness /usr/include/sys/socket.h:133: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -pthread -g -O2 -Wall -c os_unix.c -MT libfcgi_la-os_unix.lo -MD -MP -MF .deps/libfcgi_la-os_unix.TPlo -o libfcgi_la-os_unix.o >/dev/null 2>&1 mv -f .libs/libfcgi_la-os_unix.lo libfcgi_la-os_unix.lo /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o libfcgi.la -rpath /usr/local/fcgi/lib libfcgi_la-fcgiapp.lo libfcgi_la-fcgi_stdio.lo libfcgi_la-os_unix.lo -lnsl rm -fr .libs/libfcgi.la .libs/libfcgi.* .libs/libfcgi.* gcc -shared libfcgi_la-fcgiapp.lo libfcgi_la-fcgi_stdio.lo libfcgi_la-os_unix.lo -lnsl -Wl,-soname -Wl,libfcgi.so.0 -o .libs/libfcgi.so.0.0.0 (cd .libs && rm -f libfcgi.so.0 && ln -s libfcgi.so.0.0.0 libfcgi.so.0) (cd .libs && rm -f libfcgi.so && ln -s libfcgi.so.0.0.0 libfcgi.so) ar cru .libs/libfcgi.a libfcgi_la-fcgiapp.o libfcgi_la-fcgi_stdio.o libfcgi_la-os_unix.o ranlib .libs/libfcgi.a creating libfcgi.la (cd .libs && rm -f libfcgi.la && ln -s ../libfcgi.la libfcgi.la) source='fcgio.cpp' object='fcgio.lo' libtool=yes \ depfile='.deps/fcgio.Plo' tmpdepfile='.deps/fcgio.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c -o fcgio.lo `test -f fcgio.cpp || echo './'`fcgio.cpp rm -f .libs/fcgio.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c fcgio.cpp -MT fcgio.lo -MD -MP -MF .deps/fcgio.TPlo -fPIC -DPIC -o .libs/fcgio.lo fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()': fcgio.cpp:50: error: 'EOF' was not declared in this scope fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)': fcgio.cpp:70: error: 'EOF' was not declared in this scope fcgio.cpp:75: error: 'EOF' was not declared in this scope fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()': fcgio.cpp:86: error: 'EOF' was not declared in this scope fcgio.cpp:87: error: 'EOF' was not declared in this scope fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()': fcgio.cpp:113: error: 'EOF' was not declared in this scope make[2]: *** [fcgio.lo] 错误 1 make[2]: Leaving directory `/opt/install/fcgi-2.4.1-SNAP-0311112127/libfcgi' make[1]: *** [all-recursive] 错误 1 make[1]: Leaving directory `/opt/install/fcgi-2.4.1-SNAP-0311112127' make: *** [all] 错误 2
gcc版本信息如下:
使用内建 specs。 目标:x86_64-redhat-linux 配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux 线程模型:posix gcc 版本 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)
在/include/fcgio.h文件中加上#include <cstdio>,然后再编译安装就可以了。
发表评论
-
CentOS中安装GCC
2015-05-10 11:39 2110本文使用的系统环境如下图所示 1、下载源码 GCC4 ... -
WordPress在Linux上的安装
2015-04-15 15:50 1107系统环境:Red Hat Enterp ... -
Redhat关闭SELinux和防火墙
2015-02-02 14:33 1419系统环境:Red Hat Enterprise Linux ... -
如何在Linux上安装EPEL源
2015-01-22 22:07 1258系统环境:Red Hat Enterprise Linux ... -
Error: Cannot retrieve metalink for repository: epel
2015-01-19 20:08 969系统环境:Red Hat Enterprise Linux ... -
Linux命令行文件传输
2015-01-17 12:00 840SCP:基于SSH安全协议的文件传输命令,只提供文件传输功 ... -
Red Hat普通用户不能执行sudo问题解决
2014-08-13 14:30 1402在Red Hat下,普通用户执行sudo命令时,系统会报出 ... -
dialog--使用shell脚本创建图形应用程序
2014-08-10 12:14 1179部分Linux系统已经内置了dialog程序,如果系统中没有 ... -
Linux下安装Redis
2011-10-11 13:15 49701、下载安装 wget http://redis.goo ... -
通过限制SSH访问来加强服务器的安全
2011-10-05 12:27 17431、以root身份SSH登录到服务器 2、在命令提 ... -
关闭Nginx的日志功能
2011-09-23 10:59 1395access_log /dev/null; error_lo ... -
给终端用户发送信息
2011-09-18 15:58 1593查看当前所有登录用户所使用的终端 fingerw ... -
Nginx防盗链(三)
2011-09-17 16:48 1217以前介绍过Nginx防盗链(二) 这种方法可能出现ke ... -
查找运行程序的路径
2011-09-08 09:54 1411ps aux root 6348 34.5 0. ... -
lighttpd配置之缓存静态文件
2011-09-02 15:34 2193在/etc/lighttpd/lighttpd.conf中,激 ... -
查看用户行为并踢出用户
2011-08-31 13:25 1669查看用户行为 [root@commcy ~]# w ... -
通过samba让linux读取windows共享文件夹下的文件
2011-08-29 13:02 2670首先在Windows机器上共享出一个share目录,设置好目录 ... -
Nginx实现伪静态页面
2011-08-22 09:18 24581、虚拟页面 /entries/mb_1_2_3.ht ... -
Nginx防盗链(二)
2011-08-18 13:10 2223以前介绍过Nginx防盗链 你是否已经不满足于单纯基于 ... -
cd命令的扩展
2011-08-15 16:39 1321在linux中,回到上一层目录可以用cd ..命令,回到上两层 ...
相关推荐
(2)安装fcgi 4 (3)安装httpd 5 (4)安装 5 2、更改输入法 5 3、 添加rpmforge软件源; 5 4、下载Xymon的源代码文件包备用,这里我们下载的是最新的稳定版, 6 5、 安装Xymon需要用到的组件fping 6 (1)安装fping: 6...
linux下arm的spwan-fcgi交叉编译源文件及编译后bin文件
spawn-fcgi-master 是 spawn-fcgi 的官方源码,但是不能在 windows 中编译。 spawn-fcgi-win32.c 是 windows 版源码,使用 MinGW 编译:命令行输入 “gcc spawn-fcgi-win32.c -lwsock32”即可无优化地编译, 懒得...
[原创] Redhat 上 FastCGI 安装与配置 软件包 相关软件包: httpd httpd-devel fcgi-2.4.0.tar.gz mod_fastcgi-2.4.6.tar.gz 请仔细阅读其中的README 配置httpd.conf: LoadModule fastcgi_module modules/mod_...
fcgi-2.4.0 源码,编译:./configure make make install;头文件在/usr/local/include下,so文件在/usr/local/lib/libfcgi.so
文档介绍nginx中FCGI(使用PHP的安装方式)的安装手册。
亲自测试通过 找了好长时间找到的 和大家分享一下 spawn-fcgi spawn-fcgi原本是lighttpd的... tar xf spawn-fcgi-1.6.3.tar.gz cd spawn-fcgi-1.6.3 ./configure --prefix=/usr/local/spawn-fcgi make && make install
在linux平台下,使用httpd以Fcgi方式与php整合,并使用Xcache来优化php
这是nginx安装时需要的第二个文件fcgi.conf。
Ruby on rails推荐的生产运行环境是Linux/FreeBSD/Unix。本文以Linux操作系统,lighttpd+FCGI,MySQL数据库为例,从源代码编译安装开始讲解。
fcgi头文件及lib库,供C++的fcgi的开发使用,包含头文件和lib库
http://blog.csdn.net/wangkangluo1/archive/2011/05/11/6411721.aspx 2. 下载spawn-fcgi ,编译安装 tar zxvf spawn-fcgi -1.6.0.tar.gz cd spawn-f cgi -1.6.0 ./conifgure make make install
搭建LNMP下nagios需要用到的插件FCGI-ProcManager-0.18.tar.gz
nginx-fcgi
Nginx 不能直接执行外部可执行程序,如果要让 Nginx 支持 CGI,可以考虑安装 nginx-fcgi: wget http://www.nginx.eu/nginx-fcgi/nginx-fcgi.txt mv nginx-fcgi.txt /usr/sbin/nginx-fcgi chmod +x /usr/sbin/nginx-...
fcgi源码
fcgi-2.4.0 在网上免费下载的,好难找啊
spawn-fcgi.exe Windows下运行
FCGI-0.67.tar.tar FCGI-0.67.tar.tar
QGIS 及 QGISSERVER FOR LINUX (CentOS ...LINUX 下启动 PYQGIS 环境、发布标准 OGC 服务。可用于 GIS 数据 PYTHON 处理及地图服务发布. 详细说明见:https://blog.csdn.net/qq_35582643/article/details/111493873