歡迎您光臨本站 註冊首頁

lighttpd 1.4.19,如何打mod_mem_cache patch

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

lighttpd 1.4.19,如何打mod_mem_cache patch

系統是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: Entering directory `/home/op/lighttpd-1.4.19'   
Making all in src   
make: 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: *** Error 1  
make: Leaving directory `/home/op/lighttpd-1.4.19/src'   
make: *** Error 1  
make: Leaving directory `/home/op/lighttpd-1.4.19'   
make: *** Error 2  

《解決方案》

如何使用?關注
《解決方案》

我也一直在用這個patch,但不知道有什麼優點
《解決方案》

編譯成功,如何使用呢?比如將大量圖片緩存起來!

[火星人 ] lighttpd 1.4.19,如何打mod_mem_cache patch已經有588次圍觀

http://coctec.com/docs/service/show-post-26136.html