【问题标题】:Debian: ./configure fails because of PKG_CHECKDebian:./configure 由于 PKG_CHECK 而失败
【发布时间】:2013-02-17 04:02:40
【问题描述】:

我想构建一个修改版的 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”解决了这个问题。我安装了这个包,但我仍然无法运行配置。

【问题讨论】:

    标签: configuration makefile debian pkg-config


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2016-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-02-20
      • 1970-01-01
      • 1970-01-01
      • 2018-05-20
      相关资源
      最近更新 更多