tags 619813 patch pending
thanks

On Sun, Mar 27, 2011 at 01:46:23PM +0200, Andreas Metzler wrote:
> configure:7321: checking linux/videodev.h usability
> configure:7321: i486-linux-gnu-g++ -c -DZM_FFMPEG_CVS -DHAVE_LIBCRYPTO 
> -I/usr/include -D__STDC_CONSTANT_MACROS conftest.cpp >&5
> conftest.cpp:130:28: fatal error: linux/videodev.h: No such file or directory
> compilation terminated.

thanks for reporting the issue.


> videodev.h used to be shipped in linux-libc-dev up to 2.6.37-2 but is
> not included in 2.6.38-1.

it appears to have moved to the libv4l-dev package in 0.8.3-1. i've committed 
the following patch which built sucessfully:

Index: zoneminder-1.24.2/configure.ac
===================================================================
--- zoneminder-1.24.2.orig/configure.ac 2011-03-27 17:36:38.000000000 +0000
+++ zoneminder-1.24.2/configure.ac      2011-03-27 17:37:43.000000000 +0000
@@ -257,7 +257,7 @@
 AC_FUNC_ALLOCA
 AC_HEADER_STDC
 AC_CHECK_HEADERS([fcntl.h limits.h memory.h netdb.h netinet/in.h stddef.h 
stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h 
syslog.h unistd.h values.h])
-AC_CHECK_HEADERS(linux/videodev.h,,AC_MSG_ERROR(zm requires Video4Linux to be 
installed),)
+AC_CHECK_HEADERS(libv4l1-videodev.h,,AC_MSG_ERROR(zm requires Video4Linux to 
be installed),)
 AC_CHECK_HEADERS(linux/videodev2.h,AC_SUBST(ZM_V4L2,"1"),AC_MSG_WARN(zm 
requires Video4Linux2 to be installed for V4L2 support),)
 AC_CHECK_HEADERS(mysql/mysql.h,,AC_MSG_ERROR(zm requires MySQL headers - check 
that MySQL development packages are installed),)
 AC_CHECK_HEADERS(libavutil/avutil.h,,,)
Index: zoneminder-1.24.2/src/zm_local_camera.h
===================================================================
--- zoneminder-1.24.2.orig/src/zm_local_camera.h        2011-03-27 
17:36:38.000000000 +0000
+++ zoneminder-1.24.2/src/zm_local_camera.h     2011-03-27 17:39:11.000000000 
+0000
@@ -29,9 +29,9 @@
 #include <linux/videodev2.h>
 #define ZM_V4L2
 #endif // HAVE_LINUX_VIDEODEV2_H
-#ifdef HAVE_LINUX_VIDEODEV_H
-#include <linux/videodev.h>
-#endif // HAVE_LINUX_VIDEODEV_H
+#ifdef HAVE_LIBV4L1_VIDEODEV_H
+#include <libv4l1-videodev.h>
+#endif // HAVE_LIB4VL1_VIDEODEV_H
 
 //
 // Class representing 'local' cameras, i.e. those which are



live well,
  vagrant



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to