hi !
- having spent a whole day getting v4l-dvb to compile on linpus (2.6.23.9lw), i've been thwarted again at the installation step and almost given up -seems to be having trouble finding 'install' during make
can anyone help ?
[root@localhost v4l-dvb]# make install
make -C /home/user/tmp/v4l-dvb/v4l install
make[1]: Entering directory `/home/user/tmp/v4l-dvb/v4l'
Removing obsolete files from /lib/modules/2.6.23.9lw/kernel/drivers/media/video:
Removing obsolete files from /lib/modules/2.6.23.9lw/kernel/drivers/media/dvb/cinergyT2:
Removing obsolete files from /lib/modules/2.6.23.9lw/kernel/drivers/media/dvb/frontends:
Installing kernel modules under /lib/modules/2.6.23.9lw/kernel/drivers/media/:
video/gspca/m5602/: /bin/sh: install: command not found
gspca_m5602.ko /bin/sh: install: command not found
strip: '/lib/modules/2.6.23.9lw/kernel/drivers/media/video/gspca/m5602/*.ko': No such file
make[1]: *** [media-install] Error 1
make[1]: Leaving directory `/home/user/tmp/v4l-dvb/v4l'
make: *** [install] Error 2
---------------------------------------
Ok some progress...buried in the makefiles is a string of rules which use a script/program(?) called "install" which my distro does not seem to have. Anyone know where to get a copy of "install" from ?
@echo "Installing kernel modules under $(DESTDIR)$(KDIR26)/:"
@n=0;for i in gspca_m5602.ko;do if [ -e "$$i" ]; then if [ $$n -eq 0 ]; then echo -n " video/gspca/m5602/: "; install -d $(DESTDIR)$(KDIR26)/video/gspca/m5602; fi; n=$$(($$n+1)); if [ $$n -eq 4 ]; then echo; echo -n " "; n=1; fi; echo -n "$$i "; install -m 644 -c $$i $(DESTDIR)$(KDIR26)/video/gspca/m5602; fi; done; if [ $$n -ne 0 ]; then echo; strip --strip-debug $(DESTDIR)$(KDIR26)/video/gspca/m5602/*.ko; fi;
------------------------------------
and the solution is ...
# yum install coreutils
# make install
# make insmod
# ldconfig (dvb-apps didn't find their libraries until this is done)
and the v4l-dvb installation is complete.
------------------------------------
oh not done yet the dvb-apps are needed as well.
...ok so a few hours later the dvb-apps are up and running at last.
the hardware used was a PlusTV DVBT DualView 399U running on an ACER Aspire One (Linux localhost 2.6.23.9lw #105 SMP PREEMPT Fri Jun 27 18:56:59 EDT 2008 i686 i686 i386 GNU/Linux)
there was a string of compilation issues with the out-of the box distro, however all working ok now. if anyone interested i can post up details.
question closed thanks to:
http://www.linuxtv.org/wiki/index.ph...Device_Drivers
several coffees, shot of whiskey and a weekend later :-)