免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3458 | 回复: 3
打印 上一主题 下一主题

[Web] lighttpd 1.4.19,如何打mod_mem_cache patch [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-13 09:36 |只看该作者 |倒序浏览
系统是as4
我现在已经安装了1.4.19,如何打呢?

我照着http://blog.quehy.com/archives/197.html这个做了一下,输出如下:


# patch -p0 < lighttpd-1.4.19.mod_mem_cache.patch   
patching file ./src/http-header-glue.c   
patching file ./src/Makefile.am   
patching file ./src/mod_mem_cache.c   
patching file ./src/mod_staticfile.c   
patching file ./src/response.h   
  
# sh autogen.sh   
autogen.sh: running `libtoolize --copy --force'   
libtoolize: putting auxiliary files in `.'.   
libtoolize: copying file `./ltmain.sh'   
libtoolize: You should add the contents of the following files to `aclocal.m4':   
libtoolize:   `/usr/local/share/aclocal/libtool.m4'   
libtoolize:   `/usr/local/share/aclocal/ltoptions.m4'   
libtoolize:   `/usr/local/share/aclocal/ltversion.m4'   
libtoolize:   `/usr/local/share/aclocal/ltsugar.m4'   
libtoolize:   `/usr/local/share/aclocal/lt~obsolete.m4'   
autogen.sh: running `aclocal'   
autogen.sh: running `autoheader'   
autogen.sh: running `automake --add-missing --copy'   
autogen.sh: running `autoconf'   
Now type './configure ...' and 'make' to compile.   
  
# ./configure --quiet; make   
appending configuration tag "CXX" to libtool   
appending configuration tag "F77" to libtool   
  
Plugins:   
  
enabled:   
  mod_access   
  mod_accesslog   
  mod_alias   
  mod_auth   
  mod_cgi   
  mod_compress   
  mod_dirlisting   
  mod_evhost   
  mod_expire   
  mod_extforward   
  mod_fastcgi   
  mod_flv_streaming   
  mod_indexfiles   
  mod_proxy   
  mod_redirect   
  mod_rewrite   
  mod_rrdtool   
  mod_scgi   
  mod_secdownload   
  mod_setenv   
  mod_simple_vhost   
  mod_ssi   
  mod_staticfile   
  mod_status   
  mod_trigger_b4_dl   
  mod_userdir   
  mod_usertrack   
  mod_webdav   
disabled:   
  mod_cml   
  mod_magnet   
  mod_mysql_vhost   
  
Features:   
  
enabled:   
  auth-crypt   
  compress-bzip2   
  compress-deflate   
  compress-gzip   
  large-files   
  network-ipv6   
  regex-conditionals   
disabled:   
  auth-ldap   
  network-openssl   
  stat-cache-fam   
  storage-gdbm   
  storage-memcache   
  webdav-locks   
  webdav-properties   
  
make  all-recursive   
make[1]: Entering directory `/home/op/lighttpd-1.4.19'   
Making all in src   
make[2]: Entering directory `/home/op/lighttpd-1.4.19/src'   
if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -DSBIN_DIR="\"/usr/local/sbin\"" -I. -I. -I..   -D_REENTRANT -D__EXTENSIONS__ -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_flv_streaming.lo -MD -MP -MF ".deps/mod_flv_streaming.Tpo" -c -o mod_flv_streaming.lo mod_flv_streaming.c; \   
then mv -f ".deps/mod_flv_streaming.Tpo" ".deps/mod_flv_streaming.Plo"; else rm -f ".deps/mod_flv_streaming.Tpo"; exit 1; fi   
../libtool: line 450: CDPATH: command not found   
../libtool: line 1253: func_opt_split: command not found   
libtool: Version mismatch error.  This is libtool 2.2, but the   
libtool: definition of this LT_INIT comes from an older release.   
libtool: You should recreate aclocal.m4 with macros from libtool 2.2  
libtool: and run autoconf again.   
make[2]: *** [mod_flv_streaming.lo] Error 1  
make[2]: Leaving directory `/home/op/lighttpd-1.4.19/src'   
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory `/home/op/lighttpd-1.4.19'   
make: *** [all] Error 2  

论坛徽章:
0
2 [报告]
发表于 2008-09-24 11:15 |只看该作者
如何使用?关注

论坛徽章:
1
处女座
日期:2013-08-19 12:39:10
3 [报告]
发表于 2008-10-10 20:14 |只看该作者
我也一直在用这个patch,但不知道有什么优点

论坛徽章:
0
4 [报告]
发表于 2008-11-20 15:50 |只看该作者
编译成功,如何使用呢?比如将大量图片缓存起来!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP