Error during ./configure
Added by DrFoo over 12 years ago
Hi there,
I want to make a modified version of lighttpd on my debian V-Server
I'm following this tutorial:
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
when I have to run ./configure, the shell will return
... 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...
Source at this line is:
LIBEV_CFLAGS="" LIBEV_LIBS="" if test "$WITH_LIBEV" != "no"; then PKG_CHECK_MODULES(LIBEV, libev, , dnl no pkg-config for libev, searching manually: if test "$WITH_LIBEV" != "yes"; then LIBEV_CFLAGS="-I$WITH_LIBEV/include" LIBEV_LIBS="-L$WITH_LIBEV/lib -lev" else AC_CHECK_HEADERS([ev.h],[ AC_CHECK_LIB([ev], [ev_loop], [ LIBEV_CFLAGS="" LIBEV_LIBS="-lev" ],[ AC_MSG_ERROR([libev not found]) ] )],[ AC_MSG_ERROR([libev not found]) ] ) fi )
I have no Idea how to fix this ...
Replies (6)
RE: Error during ./configure - Added by darix over 12 years ago
install pkg-config. rerun autogen.sh/autoreconf.
RE: Error during ./configure - Added by DrFoo over 12 years ago
I forgot to mention that pkg-config is already installed.
May I suffer from http://redmine.lighttpd.net/issues/2300 ?
RE: Error during ./configure - Added by darix over 12 years ago
from your own pasting:
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, ,'
pkg-config is not installed at least not in a way that configure or autotools find it.
try again.
RE: Error during ./configure - Added by DrFoo over 12 years ago
pkg-config has already been installed
RE: Error during ./configure - Added by DrFoo over 12 years ago
I repeated the steps with lighttpd version 1.4.38. This time the build process didn't abort.
According to stackoverflow there is a bug in 1.4.28.
Sincerly,
Dr.Foo