Slackware + xawtv
potrebujem program, ktory mi zachyti 1 obrazok z webcam v konzole a ukonci sa. Tento program sa vola webcam, je sucastou balika xavtv. Moj system je Slackware 12. Driver pre webkameru nainstalovany, odskusany s programom cheese a skype.
Teda, moj problem spociva v nainstalovani tohto balika.
Najskor som skusil kompilovat najnovsie xawtv 3.95. Configure prebehol v poriadku.
bash-3.1$ make
CC console/fbtools.o
console/fbtools.c:24:22: error: asm/page.h: No such file or directory
console/fbtools.c: In function 'fb_init':
console/fbtools.c:427: error: 'PAGE_MASK' undeclared (first use in this function)
console/fbtools.c:427: error: (Each undeclared identifier is reported only once
console/fbtools.c:427: error: for each function it appears in.)
make: *** [console/fbtools.o] Error 1
Tak som skusal svn, opat configure prebehol v poriadku, xawtv 3.94:
bash-3.1# make
CC console/fbtv.o
In file included from console/fbtv.c:31:
./libng/grab-ng.h:28:1: warning: "bool" redefined
In file included from /usr/include/curses.h:175,
from console/fbtv.c:24:
/usr/lib/gcc/i486-slackware-linux/4.2.4/include/stdbool.h:36:1: warning: this is the location of the previous definition
console/fbtv.c:190: error: static declaration of 'snapbase' follows non-static declaration
./common/commands.h:53: error: previous declaration of 'snapbase' was here
console/fbtv.c: In function 'text_out':
console/fbtv.c:329: warning: pointer targets in passing argument 4 of 'fs_puts' differ in signedness
console/fbtv.c: In function 'text_width':
console/fbtv.c:335: warning: pointer targets in passing argument 2 of 'fs_textwidth' differ in signedness
console/fbtv.c: In function 'main':
console/fbtv.c:801: warning: pointer targets in assignment differ in signedness
make: *** [console/fbtv.o] Error 1
Tento error mi hadzali vsetky svn, teda 3.93, 3.92, 3.91.
Bohuzial sa mi nepodarilo vygooglit problem. Tak som skusil binarku xawtv-3.93-i686-1.tgz z linuxpackages.net
bash-3.1# xawtv
This is xawtv-3.93, running on Linux/i686 (2.6.27.7-smp)
dlopen: libdv.so.2: cannot open shared object file: No such file or directory
dlopen: libdv.so.2: cannot open shared object file: No such file or directory
Segmentation fault
Tak som skusil nahodit libdv, ktory tam uz bol vo verzii 1.0.0 nakompiloval a nainstaloval som ho zo zdrojakov. No nepomohlo, tak som downgradoval na 0.104, no opat ziadny vysledok. Tuto chybu pise aj
bash-3.1# v4lctl
dlopen: libdv.so.2: cannot open shared object file: No such file or directory
dlopen: libdv.so.2: cannot open shared object file: No such file or directory
Segmentation fault
bash-3.1# webcam
reading config file: /home/foo/.webcamrc
dlopen: libdv.so.2: cannot open shared object file: No such file or directory
dlopen: libdv.so.2: cannot open shared object file: No such file or directory
Segmentation fault
cize binarka potrebuje nezakompilovanu kniznicu. Lenze aku?
Skusal som aj binarku pre i486 verzia 3.95:
bash-3.1# xawtv
This is xawtv-3.95, running on Linux/i686 (2.6.27.7-smp)
Segmentation fault
bash-3.1# webcam
reading config file: /root/.webcamrc
Segmentation fault
Neskor, ked som prechadzal priecinky, nasiel som binarku webcam v priecinku xawtv-3.95/console - pred spustenim make tam nebola, cize sa asi stihla nakompilovat, kym vyhodilo error. Cize som ju skusil spustit:
bash-3.1# ./webcam
reading config file: /root/.webcamrc
WARNING: no plugins found [/usr/local/lib/xawtv]
no grabber device available
Neviete v com je problem? Pripadne ako ho vyriesit? Potrebujem trosku nasmerovat.
Dakujem.
M.
PS: a to podotkynam, ze kolega na linuxos.sk v recenzii pisal, ze instalacia xawtv v Slackwari 10.2 je otazkou 5 min :)
Pre pridávanie komentárov sa musíte prihlásiť.
"Slackware forever - no compromise"