2013-02-17 108 views
1

我想构建一个lighttpd的修改版本。 我按照这个教程: http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2Debian:./configure由于PKG_CHECK而失败

这是我迄今所做

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, ,' 
[email protected] 

有些人通过安装“pkg-config”解决了这个问题。我安装了这个软件包,但仍然无法运行配置。

回答

2

我刚发现这个版本的lighttpd包含一个bug。我从1.4.28切换到1.4.30,一切都很顺利。

相关问题