Re: Webcam choice

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

 



On 11/8/06, Anne Wilson <cannewilson@xxxxxxxxxxxxx> wrote:
On Wednesday 08 November 2006 15:59, Paul Howarth wrote:
> Anne Wilson wrote:
> > 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?
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.

Are you doing the "make install" step as root? While I don't think
that the "make" needs root privileges, creating a directory in the
$(MODULE_INSTALLDIR) and putting anything in it would. It looks as
though the makefile is just removing the obsolete spca5xx.ko and the
old gspca.ko from previous installations and putting in the new one
after making sure there is a directory for it.

Just a thought since I tend to bump my head on that one often.

/Mike

--
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