- 主题:现在不能在software下面make installhttpd?
no make file found
--
FROM 162.105.87.2
把configure 后面的--with-layout=Red去掉后可以configure了
但是make时会报告
mod_fastrw.c:64:24: mod_fastrw.h: No such file or directory
【 在 Necromancer (tobeornottobethat'sthequestion) 的大作中提到: 】
: no make file found
--
FROM 162.105.87.2
【 在 Necromancer.bbs@ytht.net (tobeornottobethat'sthequestio 的大作中提到: 】
: 把configure 后面的--with-layout=Red去掉后可以configure了
: 但是make时会报告
你要Makefile,或者你自己写个mod_fastrw.h这个文件,
: mod_fastrw.c:64:24: mod_fastrw.h: No such file or directory
: 【 在 Necromancer (tobeornottobethat'sthequestion) 的大作中提到: 】
: : no make file found
--
FROM 218.194.254.33
我把Makefile里面的configure选项copy了出来
加上了enable-module=so和prefix
打算自己重新编译一次apache
fastrw的问题
lepton提供了用apxs添加的办法,应该可以不用一次全编译
【 在 dgwang.bbs@bbs.qxntc.edu.cn (DG大哥) 的大作中提到: 】
: 【 在 Necromancer.bbs@ytht.net (tobeornottobethat'sthequestio 的大作中提到: 】
: : 把configure 后面的--with-layout=Red去掉后可以configure了
: : 但是make时会报告
: 你要Makefile,或者你自己写个mod_fastrw.h这个文件,
: : mod_fastrw.c:64:24: mod_fastrw.h: No such file or directory
--
FROM 162.105.87.2
你把copy的贴出来看看。
【 在 Necromancer (tobeornottobethat'sthequestion) 的大作中提到: 】
: 我把Makefile里面的configure选项copy了出来
: 加上了enable-module=so和prefix
: 打算自己重新编译一次apache
: fastrw的问题
: lepton提供了用apxs添加的办法,应该可以不用一次全编译
: 【 在 dgwang.bbs@bbs.qxntc.edu.cn (DG大哥) 的大作中提到: 】
: : 你要Makefile,或者你自己写个mod_fastrw.h这个文件,
--
FROM 218.194.254.33
./configure \
--disable-module=autoindex \
--disable-module=auth \
--disable-module=imap \
--disable-module=include \
--disable-module=userdir \
--add-module=../mod_redurl.c --add-module=../mod_conn.c --add-module=../apache_modules/mod_fastrw.c\
--activate-module=src/modules/fastcgi/libfastcgi.a \
--with-layout=Red
我把最后一行和倒数第三行去掉了
加上了一行 --prefix=/usr --enable-module=so
现在已经编译完了
apache表现还算正常
执行#make -C apache_modules后apachectl restart也没报错
不过看来是fastrw模块还是没有起作用
【 在 dgwang (DG大哥) 的大作中提到: 】
: 你把copy的贴出来看看。
: 【 在 Necromancer (tobeornottobethat'sthequestion) 的大作中提到: 】
: : 我把Makefile里面的configure选项copy了出来
: : 加上了enable-module=so和prefix
: : 打算自己重新编译一次apache
: : fastrw的问题
: : lepton提供了用apxs添加的办法,应该可以不用一次全编译
--
FROM 162.105.87.2
httpd.conf里要加上:
LoadModule fastrw_module libexec/mod_fastrw.so
然后就是
FastRWEngine On
就应该可以了,其实最后一个你可以改为 --layout=RedHat
这样就和RedHat的httpd是一样的目录结构了。
【 在 Necromancer (tobeornottobethat'sthequestion) 的大作中提到: 】
: ./configure \
: --disable-module=autoindex \
: --disable-module=auth \
: --disable-module=imap \
: --disable-module=include \
: --disable-module=userdir \
: --add-module=../mod_redurl.c --add-module=../mod_conn.c --add-module=../apache_modules/mod_fastrw.c\
: --activate-module=src/modules/fastcgi/libfastcgi.a \
: ...................
--
FROM 218.194.254.33
我把那个
mod_fastrw.h cp到src/include下面去了
现在httpd -l能看到fastrw是compiled in的
RedHat 的目录结果conf是不是在/etc/httpd下面?
【 在 dgwang (DG大哥) 的大作中提到: 】
: httpd.conf里要加上:
: LoadModule fastrw_module libexec/mod_fastrw.so
: 然后就是
: FastRWEngine On
: 就应该可以了,其实最后一个你可以改为 --layout=RedHat
: 这样就和RedHat的httpd是一样的目录结构了。
: 【 在 Necromancer (tobeornottobethat'sthequestion) 的大作中提到: 】
: : ./configure \
: ...................
--
FROM 162.105.87.2
对了
现在httpd -l提示suexec disabled
因为我的suexec是在/usr/sbin下面而不是/usr/bin下面
有影响吗?
【 在 Necromancer (tobeornottobethat'sthequestion) 的大作中提到: 】
: 我把那个
: mod_fastrw.h cp到src/include下面去了
: 现在httpd -l能看到fastrw是compiled in的
: RedHat 的目录结果conf是不是在/etc/httpd下面?
: 【 在 dgwang (DG大哥) 的大作中提到: 】
: : httpd.conf里要加上:
: : LoadModule fastrw_module libexec/mod_fastrw.so
: : 然后就是
: ...................
--
FROM 162.105.87.2
是的。
【 在 Necromancer (tobeornottobethat'sthequestion) 的大作中提到: 】
: 我把那个
: mod_fastrw.h cp到src/include下面去了
: 现在httpd -l能看到fastrw是compiled in的
: RedHat 的目录结果conf是不是在/etc/httpd下面?
: 【 在 dgwang (DG大哥) 的大作中提到: 】
: : httpd.conf里要加上:
: : LoadModule fastrw_module libexec/mod_fastrw.so
: : 然后就是
: ...................
--
FROM 218.194.254.33