Installer les sources dvb-apps sur ubuntu ?

Fermé
pristella Messages postés 859 Date d'inscription samedi 23 octobre 2004 Statut Contributeur Dernière intervention 8 mai 2007 - 18 avril 2006 à 17:02
Zempachi Messages postés 7472 Date d'inscription vendredi 14 octobre 2005 Statut Contributeur Dernière intervention 5 juin 2020 - 18 avril 2006 à 19:44
Bonjourn

j'essais en vain d'installer dvb-apps sur ubuntu grace aux sources :

linuxtv-dvb-apps-1.1.0

il n'y a aucunes indications sur l'install dans le readme.

On peut le télécharger ici :

https://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps

sinon j'ai juste fait un make et voici le resultat :

nlav@ubuntu:~/linuxtv-dvb-apps-1.1.0$ make
cat: CVS/Root: Aucun fichier ou répertoire de ce type
make -C util
make[1]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util »
make -C lib
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/lib »
gcc -MD -g -Wall -O2 -I../../include -I. -c lnb.c -o lnb.o
lnb.c:1:20: erreur: stdlib.h : Aucun fichier ou répertoire de ce type
lnb.c:2:20: erreur: string.h : Aucun fichier ou répertoire de ce type
lnb.c:3:19: erreur: ctype.h : Aucun fichier ou répertoire de ce type
lnb.c:10: erreur: ‘NULL’ undeclared here (not in a function)
lnb.c: In function ‘lnb_enum’:
lnb.c:51: attention : return from incompatible pointer type
lnb.c: In function ‘lnb_decode’:
lnb.c:66: attention : implicit declaration of function ‘memset’
lnb.c:66: attention : incompatible implicit declaration of built-in function ‘memset’
lnb.c:68: attention : implicit declaration of function ‘isspace’
lnb.c:70: attention : implicit declaration of function ‘isalpha’
lnb.c:72: attention : implicit declaration of function ‘strcasecmp’
lnb.c:79: attention : implicit declaration of function ‘isdigit’
lnb.c:81: attention : implicit declaration of function ‘strtoul’
make[2]: *** [lnb.o] Erreur 1
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/lib »
make[1]: *** [Makefile] Erreur 2
make[1]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util »
make: *** [all] Erreur 2
nlav@ubuntu:~/linuxtv-dvb-apps-1.1.0$


merci d'avance pour votre aide

A+

4 réponses

Zempachi Messages postés 7472 Date d'inscription vendredi 14 octobre 2005 Statut Contributeur Dernière intervention 5 juin 2020 906
18 avril 2006 à 17:40
Il te manque pas mal de dépendances:
exemple:
lnb.c:1:20: erreur: stdlib.h : Aucun fichier ou répertoire de ce type
=>il faut installer gcc.

Bref il faut trouver et installer toutes les dependances!!

ps: au lieu du "make install" prefres un "checkinstall" (il faut l'installer auparavant) c'est plus pratique.
0
pristella Messages postés 859 Date d'inscription samedi 23 octobre 2004 Statut Contributeur Dernière intervention 8 mai 2007 74
18 avril 2006 à 18:51
merci pour ta réponse,

gcc est déjà installé :

nlav@ubuntu:~$ gcc -v
Utilisation des specs internes.
Target: i486-linux-gnu
Configuré avec: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Modèle de thread: posix
version gcc 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
nlav@ubuntu:~$


?????
0
pristella Messages postés 859 Date d'inscription samedi 23 octobre 2004 Statut Contributeur Dernière intervention 8 mai 2007 74
18 avril 2006 à 19:01
je viens de faire make après avoir installé "cpp" et il semble que la compilation à fonctionné mais le make install marque des erreurs :

nlav@ubuntu:~/linuxtv-dvb-apps-1.1.0$ make
cat: CVS/Root: Aucun fichier ou répertoire de ce type
make -C util
make[1]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util »
make -C lib
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/lib »
gcc -MD -g -Wall -O2 -I../../include -I. -c lnb.c -o lnb.o
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/lib »
make -C szap
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/szap »
gcc -MD -Wall -g -O2 -I../../include -I../lib -o szap.o -c szap.c
gcc -MD -Wall -g -O2 -I../../include -I../lib -o tzap.o -c tzap.c
tzap.c: In function ‘parse’:
tzap.c:232: attention : pointer targets in passing argument 2 of ‘try_parse_int’ differ in signedness
gcc -MD -Wall -g -O2 -I../../include -I../lib -o czap.o -c czap.c
gcc -MD -Wall -g -O2 -I../../include -I../lib -o femon.o -c femon.c
gcc -Wall -g -O2 -o szap szap.o ../lib/lnb.o
gcc -Wall -g -O2 -o tzap tzap.o
gcc -Wall -g -O2 -o czap czap.o
gcc -Wall -g -O2 -o femon femon.o

-------------------------------------------------------------------------------- please copy an appropriate channels.conf-XXX channel list for DVB-S/C/T

to ~/.szap/channels.conf
~/.czap/channels.conf
~/.tzap/channels.conf

and then call ./szap for DVB-S, ./czap for DVB-C or ./tzap for DVB-T
--------------------------------------------------------------------------------
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/szap »
make -C scan
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/scan »
gcc -MD -g -Wall -O2 -I../../include -I../lib -c diseqc.c -o diseqc.o
gcc -MD -g -Wall -O2 -I../../include -I../lib -c dump-zap.c -o dump-zap.o
gcc -MD -g -Wall -O2 -I../../include -I../lib -c dump-vdr.c -o dump-vdr.o
gcc -MD -g -Wall -O2 -I../../include -I../lib -c scan.c -o scan.o
scan.c: In function ‘parse_service_descriptor’:
scan.c:528: attention : pointer targets in assignment differ in signedness
scan.c:552: attention : pointer targets in assignment differ in signedness
gcc -g -Wall -o scan diseqc.o dump-zap.o dump-vdr.o scan.o ../lib/lnb.o
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/scan »
make -C dvbnet
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/dvbnet »
printf '#define VERSION_INFO "%s (Build %s)"\n' \
"`cat version.h.in`" "`date +'%a %b %d %X %Y'`" > version.h
gcc -g -O2 -MD -Wall -I. -I../../include -c dvbnet.c -o dvbnet.o
gcc -o dvbnet dvbnet.o
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/dvbnet »
make -C dvbdate
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/dvbdate »
gcc -g -O2 -MD -Wall -I. -I../../include -c dvbdate.c -o dvbdate.o
dvbdate.c: In function ‘scan_date’:
dvbdate.c:264: attention : pointer targets in passing argument 1 of ‘convert_date’ differ in signedness
gcc -o dvbdate dvbdate.o
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/dvbdate »
make -C dvbtraffic
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/dvbtraffic »
gcc -MD -g -O2 -Wall -I../../include dvbtraffic.c -o dvbtraffic
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/dvbtraffic »
make -C av7110_loadkeys
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/av7110_loadkeys »
generate input_keynames.h...
gcc -g -Wall -O2 -c -o av7110_loadkeys.o av7110_loadkeys.c
gcc av7110_loadkeys.o -o av7110_loadkeys
gcc -g -Wall -O2 -c -o evtest.o evtest.c
gcc evtest.o -o evtest
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/av7110_loadkeys »
make[1]: Rien à faire pour « FORCE ».
make[1]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util »
make -C test
make[1]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/test »
gcc -g -O2 -W -Wall -I../include diseqc.c -o diseqc
gcc -g -O2 -W -Wall -I../include set22k.c -o set22k
gcc -g -O2 -W -Wall -I../include sendburst.c -o sendburst
gcc -g -O2 -W -Wall -I../include setvoltage.c -o setvoltage
gcc -g -O2 -W -Wall -I../include setpid.c -o setpid
gcc -g -O2 -W -Wall -I../include video.c -o video
gcc -g -O2 -W -Wall -I../include -c -o hex_dump.o hex_dump.c
gcc -g -O2 -W -Wall -I../include test_sections.c hex_dump.o -o test_sections
gcc -g -O2 -W -Wall -I../include test_sec_ne.c hex_dump.o -o test_sec_ne
gcc -g -O2 -W -Wall -I../include test_pes.c hex_dump.o -o test_pes
gcc -g -O2 -W -Wall -I../include test_dvr.c -o test_dvr
test_dvr.c: In function ‘add_filter’:
test_dvr.c:90: attention : pointer targets in passing argument 1 of ‘open’ differ in signedness
test_dvr.c: In function ‘main’:
test_dvr.c:153: attention : pointer targets in passing argument 2 of ‘add_filter’ differ in signedness
gcc -g -O2 -W -Wall -I../include test_dvr_play.c -o test_dvr_play
gcc -g -O2 -W -Wall -I../include test_tt.c hex_dump.o -o test_tt
gcc -g -O2 -W -Wall -I../include test_av.c -o test_av
gcc -g -O2 -W -Wall -I../include test_av_play.c -o test_av_play
gcc -g -O2 -W -Wall -I../include test_vevent.c -o test_vevent
gcc -g -O2 -W -Wall -I../include test_stc.c -o test_stc
gcc -g -O2 -W -Wall -I../include test_stillimage.c -o test_stillimage
make[1]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/test »
nlav@ubuntu:~/linuxtv-dvb-apps-1.1.0$ sudo make install
cat: CVS/Root: Aucun fichier ou répertoire de ce type
make -C util install
make[1]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util »
make -C lib install
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/lib »
make[2]: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/lib »
make[1]: *** [Makefile] Erreur 2
make[1]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util »
make: *** [install] Erreur 2
nlav@ubuntu:~/linuxtv-dvb-apps-1.1.0$ make install
cat: CVS/Root: Aucun fichier ou répertoire de ce type
make -C util install
make[1]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util »
make -C lib install
make[2]: entrant dans le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/lib »
make[2]: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
make[2]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util/lib »
make[1]: *** [Makefile] Erreur 2
make[1]: quittant le répertoire « /home/nlav/linuxtv-dvb-apps-1.1.0/util »
make: *** [install] Erreur 2
nlav@ubuntu:~/linuxtv-dvb-apps-1.1.0$
0
Zempachi Messages postés 7472 Date d'inscription vendredi 14 octobre 2005 Statut Contributeur Dernière intervention 5 juin 2020 906
18 avril 2006 à 19:44
Dejà je te conseille de ne plus utiliser "make install" mais "checkinstall" à la place (installe le si il ne l'est pas déjà: "sudo apt-get install checkinstall"):
https://www.commentcamarche.net/faq/1328-linux-installer-les-programmes-gestion-des-paquets-compil

Ensuite, l'erreur *** Pas de règle pour fabriquer la cible « install » indique clairement qu'il manque un (ou plus) dépendance.

Donc là regarde sur le site ou ailleurs les dependances requises.

... apres un petite recherche sur rpmfind.net et rpm.bone, on peut noter les dependances:
http://rpmfind.net//linux/RPM/fedora/devel/i386/dvb-apps-1.1.0-2.fc5.i386.html
http://rpm.pbone.net/info_idpl_2780757_distro_mandrakeother_com_dvb-apps-1.1.0-6mdk.i586.rpm.html
Apres il en manque peut etre.

Ce qui est aussi possible c'est de passer par "alien" qui permet de convertir un *.rpm en *.deb:
https://www.commentcamarche.net/faq/1328-linux-installer-les-programmes-gestion-des-paquets-compil
0