Building zbar fails while configuration - no video support
1 Attachment(s)
Hello,
I'm trying to build zbar, a barcode reader. I'm running Slackware64-current with the latest updates, generic kernel. The sourcefile is zbar-0.10 and the slackbuildscript is from slacky.eu I've changed the arch to -x86_64 in the script. ./configure fails because /linux/videodev.h is missing I found the following messages in config.log Code:
configure:18727: checking linux/videodev.h usability Code:
configure:18805: result: no I've appended the logfile to this posting. Note that I want to use zbar with my webcam an I suppose that this would not work if I build the package with --disable-video Thanks in advance Markus |
Looks like you are missing 'v4l-utils version 0.8.8'. I went to -->http://www.z01.eu/slak/ and entered the file you are missing, and it returns the v4l-utils package.
Hope this helps. |
The problem is that you are missing the v4l1 header, which is deprecated in favor of v4l2 and likely not included in newer kernel headers such as the one that comes with -current. I also used zbar, so I hope someone ports it to v4l2 or I may have to if I can.
|
I had an older package of zbar running, but zbarimg did not work anymore because of a missing library. So I wanted to build a new package and it seems, that this one would support zbarimg but not zbarcam.
I'll check v4l-util, thank you both for your help. Markus |
I've built and installed v4l-utils. But it doesn't work. The problem with videodev remains. Building zbar with --disable-video works, but the package does no longer support my webcam.
Maybe anyone has an additional idea. Markus |
The videodev.h file is in /usr/include/libv4l1-videodev.h
Maybe symlink that file to where its looking? |
Quote:
I've created a symlink Code:
/usr/include/linux/videodev.h -> /usr/include/libv4l1-videodev.h I have to add: the libv4l1-videodev.h file is part of the v4l-utils package! Thanks to camorri for pointing me to this. Markus |
All times are GMT -5. The time now is 10:13 PM. |