我想构建一个修改版的 lighttpd。我遵循本教程: http ://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
这是我到目前为止所做的
apt get install lighttpd
apt get install automake autoconf libtool
cd /var/tmp
wget http://h264.code-shop.com/download/lighttpd-1.4.18_mod_h264_streaming-2.2.9.tar.gz
tar -zxvf lighttpd-1.4.18_mod_h264_streaming-2.2.9.tar.gz
wget http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.28.tar.gz
tar ...
在我将所有文件和数据复制到目录和 Makefile.am 之后,我输入了:
./autogen.sh
./configure --enable-maintainer-mode --prefix=${HOME}/test/lighttpd-1.4.28
控制台返回:
...
checking for pkg-config... no
checking for libev support... ./configure: line 12184: syntax error near unexpected token `LIBEV,'
./configure: line 12184: ` PKG_CHECK_MODULES(LIBEV, libev, ,'
root@foo...
有些人通过安装“pkg-config”解决了这个问题。我安装了这个包,但我仍然无法运行配置。