技术性问题
484
- tibbs2011-09-21论坛元老253
- Copy the contents of mod_layout into a directory under
your treee so that you have:
src/modules/layout/- Now copy the file Makefile.STATIC to Makefile in the
layout directory.
- Call the configure script as you normally would and add the switch:
--enable-module=src/modules/layout/liblayout.a
- Make sure the build environment is clean by issuing the following
command:
make clean
- Build the new httpd binary with:
make
- Install the new httpd binary with:
make install
- Restart apache. Make sure you do a:
apachectl stop
apachectl startSee the README file for more on how to configure
mod_layout.
-----------求大家帮忙
我先下载了 Mod_Layout 的模块 ,
是不是要启用的话,需要在安装apache的时候一同编译进去
然后技术帝看我的翻译对不对
1 拷贝所有文件到 src/modules/layout/ 目录下 (本没有这个目录,新建的 )
2 把 Makefile.STATIC 改名 makefile 到 layout下 (可是已经有这个文件了 )
在编译的时候 加入 --enable-module=src/modules/layout/liblayout.a4> make clean
5 make
6 make install
是不 ?[ 本帖最后由 tibbs 于 2011-9-21 23:50 编辑 ]