[CentOS] 5.5 & gspca

Fri Jun 18 13:10:18 UTC 2010
JohnS <jses27 at gmail.com>

On Thu, 2010-06-17 at 16:10 -0400, m.roth at 5-cent.us wrote:

> <snip>
> Ok, so I got the src rpm from el repo. Lessee, first I tried rpmbuild, and
> that failed, because it *required* xen-devel. So I grabbed the tarfile
> from /usr/src/redhat/SOURCES, unbzip2'd it, untar'd it, and did a make.
> And ten or so later, I had 265 kernel modules. I don't want or need to
> install all of that, so I tried just building gspca, and that failed with
> unresolved errors.
---
rpmbuild -ba  --target=i686 --nodeps video4linux-kmod-rt.spec

Wrote: /SRPMS/video4linux-kmod-0.0-5.20090615.el5.jerepo.src.rpm
Wrote: /RPMS/i686/kmod-video4linux-0.0-5.20090615.el5.jerepo.i686.rpm
Wrote: /RPMS/i686/kmod-video4linux-xen-0.0-5.20090615.el5.jerepo.i686.rpm
Wrote: /RPMS/i686/kmod-video4linux-PAE-0.0-5.20090615.el5.jerepo.i686.rpm
Wrote: /RPMS/i686/video4linux-kmod-debuginfo-0.0-5.20090615.el5.jerepo.i686.rpm

Use that command to build it.  You should get the above then trash xen,
pae and debug.  That builds and works on a pure kernel-rt install.
Allthough there things said left to do get it built the right way but it
is usable.

lib/modules/2.6.24.7-149.el5rt/extra/video4linux/ has several gspca
modules so your better off installing all to get the correct one.

John