Re: Webcam choice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anne Wilson wrote:
On Wednesday 08 November 2006 15:59, Paul Howarth wrote:
Anne Wilson wrote:
On Wednesday 08 November 2006 13:07, Paul Howarth wrote:
Anne Wilson wrote:

This problem has come up in relation to a bunch of out-of-tree kernel
drivers since FC6 was released. The linux/config.h header file no longer
exists and is not needed. You should be able to just delete the source
line in the driver that references it (gspca_core.c line 36 I think).
OK - removed it, and make continued, apparently succeeding.  However,
attempting install gives me

install -c -m 0644 gspca.ko /lib/modules/`uname
-r`/kernel/drivers/usb/media/ install: target
`/lib/modules/2.6.18-1.2798.fc6/kernel/drivers/usb/media/' is not a
directory: No such file or directory

Do I simply create this directory?
You could do, or you could install it into
/lib/modules/2.6.18-1.2798.fc6/extra/ or maybe
/lib/modules/2.6.18-1.2798.fc6/kernel/drivers/media/video/usbvideo/

I'm out of my depth, here, Paul.  Part of the makefile reads

MODULE_INSTALLDIR = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb/media/
MODULE_INSTALLDIR2 = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/media/video/

default:
	$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC=$(CC) modules

install:
	mkdir -p $(MODULE_INSTALLDIR)
	rm -f $(MODULE_INSTALLDIR)spca5xx.ko
	rm -f $(MODULE_INSTALLDIR2)gspca.ko
	install -c -m 0644 gspca.ko $(MODULE_INSTALLDIR)
	/sbin/depmod -ae

Should I edit the MODULE_INSTALLDIR to match the MODULE_INSTALLDIR2? I would have thought that they wouldn't have defined two separate ones if they could both go in the same one.

Sorry to sound naive - I am ;-)

I'd suggest changing the /usb/media in MODULE_INSTALLDIR to /media/video/usbvideo

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux