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[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
|