By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1372 - Build issue: videodev.h is renamed in newer versions of video4linux
Summary: Build issue: videodev.h is renamed in newer versions of video4linux
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdeedu (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Linux
: P5 critical
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-12-23 18:30 CST by Darrell
Modified: 2013-06-24 15:14 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2012-12-23 18:30:20 CST
tdeedu/kstars/configure.in.in checks for videodev.h and videodev2.h. Newer versions of video4linux do not contain videodev.h.

The videodev.h is renamed/relocated to /usr/include/libv4l1-videodev.h.

tdeedu/kstars/configure.in.in needs to be updated to search for both the old file name/location and the new name/location.
Comment 1 Darrell 2012-12-24 13:29:08 CST
The configure warnings:

checking for struct v4l2_buffer... no
checking for /lib/modules/3.2.29/build/include/linux/videodev2.h... yes
configure: WARNING:
configure: WARNING:
configure: WARNING: We cannot locate videodev2.h in /usr/include/linux
configure: WARNING:
configure: WARNING: This file is responsible for V4L2 in KStars
configure: WARNING: This file is correct in /lib/modules/3.2.29/build/include
configure: WARNING: It is recommended that you copy this file and videodev.h to /usr/include/linux
configure: WARNING:

Successful configure checks:

checking for struct v4l2_buffer... yes
Comment 2 Timothy Pearson 2013-06-23 22:03:29 CDT
This should be fixed in GIT hash ab9a2a8 (tdeedu).  The real problem was that videodev2.h was not being detected when the older videodev.h file was not present on the system.

Please test and close this bug if the fix works for you.

Thanks for reporting!
Comment 3 Darrell 2013-06-24 11:32:11 CDT
The tdeedu package built with the patch. I don't see the same configure WARNINGs, but how do I know the package built correcty? I don't see any related messages in the configuration output.

Also I did not receive an email after your post. Is the email server working correctly?
Comment 4 Darrell 2013-06-24 12:47:45 CDT
Never mind on the mail server. Problem was at my end.
Comment 5 Timothy Pearson 2013-06-24 14:05:10 CDT
(In reply to comment #3)
> The tdeedu package built with the patch. I don't see the same configure
> WARNINGs, but how do I know the package built correcty? I don't see any related
> messages in the configuration output.

Look for a line referencing v4l2_buffer in the configure output; as long as that line says "yes" then the patch worked.

Tim
Comment 6 Darrell 2013-06-24 15:14:40 CDT
checking for struct v4l2_buffer... yes

Tagging as resolved. Thanks!