PRIMA ISTALLAZIONE -LINUX- E VDR

Forum principale per problemi di compilazione, installazione, configurazione etc.

Moderatori: ragno, tapino, alez, zulu, davidea

maxim2000spa
Messaggi: 38
Iscritto il: 31 gen 2007, 18:18

PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da maxim2000spa »

ciao a tutti, come da titolo mi sto cimentando in questo stupendo mondo, ma......... mi sono subito incartato e volevo un cosiglio :

visto che ho un hardware un pò datato 256 M di Ram e processore AMD vecchiotto, ho installato la distribuzione XUBUNTU 6.10. poi ho iniziato a reperire il software per VDR e XINE (ho una Skaystar2). solo che al momento della prima compilazione, non trovo i seguenti pacchetti :

autoconf (obbligatoria la versione >= 2.59)
automake (obbligatoria versione >= 1.70)
libtool (versione 1.4.3 o maggiore)

ho provato a scaricarli ed installarli ma quando lancio il comando : ./ configure (per esempio per autoconf) mi restituisce un messaggio di errore :
GNU M4 1.4 is required

a questo punto mi sono fermato, forse la distribuzione xbuntu non fa per me ? oppure ???????????????
Attendo ansioso un vostro aiuto.
grazie
Maxim
Avatar utente
von fritz
Messaggi: 1479
Iscritto il: 18 gen 2007, 23:33

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da von fritz »

ciao, finalmente :D
.....processore AMD vecchiotto
dimmi che processore.
comunque la vedo dura.

bye
VDRBOX-HD : in pensione!
ALTRO : freerunner (openmoko) ; nokia n900 ; 2 seagate dockstar, samsung ps64d8000, diversi dispositivi ARM (Allwinner, Amlogic) ;)
Don't feed the trolls non alimentate sistemi proprietari ;)

Linux rulez! :)
maxim2000spa
Messaggi: 38
Iscritto il: 31 gen 2007, 18:18

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da maxim2000spa »

Allora, il processore è un AMD XP 2000+ che va a 1800 Mhz, con 256 di RAM, disco fisso da 80 Giga, mentre la scheda SAT è quella della Neysystem per l'ADSL via satellita (skystar2).
Considera che questo hardware mi è stato prestato da un mio amico per fare delle prove !!! Poi sicuramente volevo avventurarmi in una realizzazione tutta nuova per una VDR-BOX, ma la strada è lunga !!!

ciao
Avatar utente
von fritz
Messaggi: 1479
Iscritto il: 18 gen 2007, 23:33

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da von fritz »

comunque io sto provando :) amettere giu un How To per ubuntu 6.10 con scheda budget.
adess.... guardo nei appunti.

io ho aggiunto con questo commando le librerie mancanti per compilare vdr :

Codice: Seleziona tutto

$ sudo apt-get install g++ libjpeg62-dev libcap-dev
tieni conto che ho provato con softdevice e non xine.

ciao

PS. ho visto adesso AMD 2000+ :ok:
VDRBOX-HD : in pensione!
ALTRO : freerunner (openmoko) ; nokia n900 ; 2 seagate dockstar, samsung ps64d8000, diversi dispositivi ARM (Allwinner, Amlogic) ;)
Don't feed the trolls non alimentate sistemi proprietari ;)

Linux rulez! :)
Avatar utente
von fritz
Messaggi: 1479
Iscritto il: 18 gen 2007, 23:33

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da von fritz »

questo è l'inizio dei appunti (ancora da sistemare)
forse ti può essere d'aiuto:

Hello
allora non avendo mai utilizzato vdr con una scheda budget, ho voluto togliermi la sodisfazione di provare ad installare un sistema budget da zero.
i componenti sono :
1. una scheda budget (Nova)
2. una distro linux (ubuntu 6.10 Edgy)
3. un PC non nuovo (abit KG7,AMD 2400+)
4. un Harddisk nuovo (seagate 160GB)
5. una scheda video nvidia geforce 6200V+

Avvio il mio pc con il cd di ubuntu inserito.
F2 Language ,scelgo italiano
poi Avvia o installa Ubuntu.
.....vedo che si avvia la schermata grafica e.... vuoi vedere che mi sono scaricato la versione livecd di ubuntu.
non fa niente visto che si può anche installarla sul HD basta clikkare sul l'icona install.
Tralascio la spiegazione delle vari fasi d'installazione e riavvio la mia ubuntu nuova.
Vedo che si apre una finestra in alto che mi dice che ci sono dei aggiornamenti disponibili.
faccio fare i 113 aggiornamenti proposti e poi mi chiede di riavviare (mi ricorda un po windows):).
Una volta riavviato mi acingo ad controllare se è tutto a posto.
Noto subito una lentezza bestiale nel aprire, gestire le finestre ed anche firefox va a scatti.
Risorse CPU a 100% :O
probabilmente il driver video nv non digerisce bene la mia nvidia 6200.
apro Synaptic e provo ad vedere se ci sono i driver nvidia propietari.
installo nvidia-glx e poi da terminale digito:

Codice: Seleziona tutto

sudo nvidia-xconfig
riavvio l'xserver.
Ctrl+Alt+Backspace poi sistemo la risoluzione dello schermo che mi è andata a 1920x1440 :O.
apro un terminale e digito: dmesg
dovreste trovare nella lista visualizzata delle righe tipo:

Codice: Seleziona tutto

[17179592.424000] saa7146: register extension 'budget_ci dvb'.
[17179592.424000] ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
[17179592.424000] saa7146: found saa7146 @ mem f09ac000 (revision 1, irq 5) (0x13c2,0x100f).
[17179592.424000] saa7146 (0): dma buffer size 192512
[17179592.424000] DVB: registering new adapter (TT-Budget/WinTV-NOVA-CI PCI).
[17179592.460000] adapter has MAC addr = xx:xx:xx:xx:xx:xx
[17179592.460000] input: Budget-CI dvb ir receiver saa7146 (0) as /class/input/input4
[17179592.644000] ts: Compaq touchscreen protocol output
[17179592.664000] DVB: registering frontend 0 (ST STV0299 DVB-S)...
dunque la mia scheda e stata riconosciuta correttamente e caricati i giusti moduli.
digitando : lsmod
si dovrebbe visualizzare la lista di tutti i moduli caricati.
ora passo a la vera installazione di vdr.
scarico i sorgenti di vdr nella directory (cartella) "classica": /usr/local/src
sempre da terminale digito:
$ cd /usr/local/src
$ sudo wget ftp://ftp.cadsoft.de/vdr/vdr-1.4.5.tar.bz2

e poi decomprimo il tutto
$ sudo tar -xjvf vdr-1.4.5.tar.bz2
metto un softlink
$ sudo ln -s vdr-1.4.5 VDR o anche sudo ln -s /usr/local/src/vdr-1.4.5 VDR
vado nella directory appena creata e scarico la patch di aggiornamento che nel fratempo è uscita:
$ cd VDR
$ sudo wget ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.4.5-1.diff

poi applico la patch:
$ sudo cat vdr-1.4.5-1.diff | sudo patch -p1
bene adesso installiamo alcuni pacchetti che ci servono per la compilazione
$ sudo apt-get install g++ libjpeg62-dev libcap-dev
automaticamente verrano anche installati i pacchetti dipendenti.
ci sono due modi per utilizzare vdr con una scheda budget:
1. Softdevice
2. Xine
io continuo con softdevice, poi eventualmente passo a xine
adesso passo al installazione di ffmpeg.(serve per softdevice)
sempre da terminale digito:
$ cd /usr/local/src (la directory classica per installazioni da sorgenti)
$ sudo apt-get install subversion
serve per installare la versione svn di ffmpeg
$ svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
questo creera una directory ffmpeg contenente la versione svn di ffmpeg
poi entro nella directory ffmpeg, lancio la configurazione e compilo il tutto:
$ cd ffmpeg
$ sudo ./configure --prefix=/usr/local --enable-shared --enable-pp --enable-gpl --enable-a52
$ sudo make

aspetto che finisca di compilare il tutto (ci vuole un pò di tempo)
poi digito:
$ sudo make install
$ sudo make install-libs
$ sudo ldconfig

per eventuali futuri aggiornamenti di ffmpeg, basta entrare nella directory ffmpeg e dare il commando:
$ svn update
naturalmente dopo bisogna ricompilare il tutto.
bene adesso passo a softdevice.
due possibilità o la versione cvs o l'ultima stabile che è la 0.3.1
vedo che la 0.3.1 è del 11.2006 dunque abbastanza recente.
scarico i sorgenti nella cartella PLUGINS/src di VDR, decomprimo e configuro:
sempre da terminale digito:
$ cd /usr/local/src/VDR/PLUGINS/src
$ sudo wget http://download.berlios.de/softdevice/v ... -0.3.1.tgz
$ sudo tar -xzvf vdr-softdevice-0.3.1.tgz
$ sudo ln -s softdevice-0.3.1 softdevice
$ cd softdevice
$ sudo ./configure

dopo aver lanciato ./configure, mi viene visualizzato:

Codice: Seleziona tutto

Testing system and cpu type... found Linux on i386 cpu.
Checking for pkg-config... Found.
Checking for ffmpeg... Ok.
Checking for ALSA sound... Not Found.
Checking for linux frambuffer... Enabled video-fb.
Checking for DirectFB and DFB++... Not Found.
Checking for vidix... Not found.
Checking for Xv... Not found.
Checking for Xinerama... Not found.
Creating temporary config.h and config.mak
updated config.h
updated config.mak
Configure is finished. Please check config.log in case of problems.
UPSSSsss qua mancano alcune cose:
Checking for ALSA sound... Not Found
dunque niente audio :)
Checking for Xv... Not found
dunque niente video :)
installo i pacchetti mancanti per la configurazione con il solito apt-get
digitando da terminale:
$ sudo apt-get install xlibs-dev libasound2-dev libxv-dev
rifacio la configurazione:
$ sudo ./configure
e adesso mi da:

Codice: Seleziona tutto

Testing system and cpu type... found Linux on i386 cpu.
Checking for pkg-config... Found.
Checking for ffmpeg... Ok.
Checking for ALSA sound... Enabled audio-alsa.
Checking for linux frambuffer... Enabled video-fb.
Checking for DirectFB and DFB++... Not Found.
Checking for vidix... Not found.
Checking for Xv... Enabled video-xv.
Checking for Xinerama... Not found.
Creating temporary config.h and config.mak
updated config.h
updated config.mak
Configure is finished. Please check config.log in case of problems.
già meglio :) :)
adesso compiliamo vdr e il nostro softdevice-plugin.
da terminale digito:
$ cd /usr/local/src/VDR
$ sudo make
$ sudo make plugins

adesso creo la directory /video dove VDR ci mette le registrazioni etc.
$ sudo mkdir /video
naturalmente devo cambiare i permessi di scrittura per /video, altrimenti solo l'utente root ci può scrivere.
se utilizzate vdr con l'utente root allora non serve farlo.
da terminale digito:
sudo chmod 777 /video
adesso copio i file di configurazione di vdr nella directory /video
io preferisco metterli altrove pes. in /etc/vdr però per semplificare li mettiamo in video.
per copiare i file *.conf non utilizzo il comando sudo!
$ cd /usr/local/src/VDR
$ cp *.conf /video

creo anche la directory /video/plugins dove i plugins salvono le loro configurazioni.
$ mkdir /video/plugins

provo ad eseguire vdr (vediamo cosa succede)
da terminale:
per vedere le opzioni di avvio, basta digitare:
$ ./vdr --help
$ ./vdr -P'softdevice -vo xv: -ao alsa:mixer'
non parte e mi da:

Codice: Seleziona tutto

vdr: please turn off UTF-8 before starting VDR
ahhh già ubuntu è UTF-8.
comunque digito:
$ export LANG=it_IT.iso8859-15
e poi
$ ./vdr -P'softdevice -vo xv: -ao alsa:mixer'
non parte e mi da:

Codice: Seleziona tutto

vdr: libavformat.so.51: cannot open shared object file: No such file or directory
ma come :( qua ce qualcosa che non va.
da terminale digito:
$ sudo ldconfig -v
controllo la lista e ..... ma manca /usr/local/lib :(
ubuntu..ubuntu... :(
comunque basta aggiungiere /usr/local/lib ad /etc/ld.so.conf
e poi dovrebbe andare:
per editare il file /etc/ld.so.conf e aggiungere la linea /usr/local/lib
basta usare un editor con permessi da root.
la cosa più semplice è farlo da terminale:
$ sudo su
adesso sono root :)
poi da root:
# echo /usr/local/lib >> /etc/ld.so.conf
# ldconfig

adesso posso ritornare utente comune e riprovare ad eseguire vdr nuovamente:
# exit
$ ./vdr -P'softdevice -vo xv: -ao alsa:mixer'

questo e l' output su terminale:

Codice: Seleziona tutto

fritz@fritz-desktop:/usr/local/src/VDR$ export LANG=it_IT.iso8859-15
fritz@fritz-desktop:/usr/local/src/VDR$ ./vdr -P'softdevice -vo xv: -ao alsa:mixer'
[softdevice] processing args
[softdevice]   argv [0] = softdevice
[softdevice]   argv [1] = -vo
vo_argv: xv: 
[softdevice]   argv [3] = -ao
[softdevice] using alsa mixer for volume control
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg build(3349760)
[XvVideoOut]: osd_image shmid = 688141
[XvVideoOut]: got osd_image: width 1024 height 768, bytes per line 4096
[XvVideoOut]: max area size 2046 x 2046
[XvVideoOut]: using area size 736 x 576
[softdevice] Subplugin successfully opend
[softdevice] Video Out seems to be OK
[softdevice] Initializing Audio Out
[softdevice] Audio out seems to be OK
[softdevice] A/V devices initialized, now initializing MPEG2 Decoder
bene si vede qualcosa però l'OSD continua ad "flashare" :(
VDR mi chiede di fare l'aprendimento tasti per il telecomando.
non ho nessun telecomando (lirc), visto che mi interessa solo provare con la tastiera.
dunque premo un tasto della tastiera.(farlo quando richiesto)
vdr passa in modalità aprendimento tasti per la tastiera.
faccio un po fatica ad assegnare i tasti che mi interessano per l'utilizzo con vdr per i continui "flash".
Comunque in qualche maniera ce la faccio e salvo la configurazione.
se fate qualche errore o se volete cambiare qualche assegnazione, basta cancellare la remote.conf che si trova nella directory di configurazione (/video).
Al prossimo riavvio vdr vi chiedera di nuovo l'aprendimento.
Nell menu vado alla voce softdevice e controllo l'impostazioni.
provo ad cambiare OSD alpha blending: pseudo a OSD alpha blending: software
adesso l'OSD e molto stabile e non "flasha" più. :)
la channels.conf che viene con vdr e fatta per astra, dunque per la maggior parte degli italiani inutilizzabile.
bisogna procurarsi una channels.conf per hotbird o usare il plugin channelscan.
Plugin channelscan
ce ne sono due di plugin, channelscan fatto da kikko e reelchannelscan
io non ho mai utilizzato il plugin per fare lo scan, non so quale sia meglio e scelgo quello più recente.
da terminale:
$ cd /usr/local/src/VDR/PLUGINS/src
$ sudo wget http://www.reelbox.org/software/source/ ... -0.4.1.tgz
$ sudo tar -xzvf vdr-reelchannelscan-0.4.1.tgz
$ sudo ln -s reelchannelscan-0.4.1 reelchannelscan

copio le liste transponder nella directory /video/plugins:
$ cp -r /usr/local/src/VDR/PLUGINS/src/reelchannelscan/transponders /video/plugins
per compilare il plugin reelchannescan abbiamo bisogno delle librerie libncurses-dev dunque:
$ sudo apt-get install libncurses5-dev
compiliamo il nostro plugin:
da terminale digito:
$ cd /usr/local/src/VDR
$ sudo make
$ sudo make plugins

Avvio vdr digitando:
$ ./vdr -P'softdevice -vo xv: -ao alsa:mixer' -P reelchannelscan
provo a fare un scan, però non mi trova nessun canale.:(
allora controllo l'impostazioni DVB device e vedo che è impostato a 2.
provo a variare e mettere1, ma nisba
chiudo tutto
provo a modificare manualmente la setup.conf.
con gedit modifico setup.conf e metto PrimaryDVB = 0
avvio vdr e rifaccio lo scan.
adesso mi trova 1331 canali TV :)
strano comunque anche perche 0 non e un valore corretto per PrimaryDVB
una volta sistemato la channels.conf rimetto il valore corretto PrimaryDVB=2.
finito :)

bye
VDRBOX-HD : in pensione!
ALTRO : freerunner (openmoko) ; nokia n900 ; 2 seagate dockstar, samsung ps64d8000, diversi dispositivi ARM (Allwinner, Amlogic) ;)
Don't feed the trolls non alimentate sistemi proprietari ;)

Linux rulez! :)
maxim2000spa
Messaggi: 38
Iscritto il: 31 gen 2007, 18:18

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da maxim2000spa »

sembra che xine voglia comunque autoconf, ma quest'ultimo non si vul far compilare. Visto che sono proprio alle prime armi, posso piallare tutto e installare un'altra distro. Sempre che questi problemi non ritornino.
Ho pronto un cd per la MANDRAKE 10.1 , che ne pensi ? oppure continuo con Xubuntu ?
grazie di tutto
ciao
Avatar utente
von fritz
Messaggi: 1479
Iscritto il: 18 gen 2007, 23:33

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da von fritz »

Bhee se ti chiede autoconf, installalo cosa stai ad aspeta...
lo sai usare synaptic?
o se no da linea di commando:
sudo apt-get install autoconf

bye
VDRBOX-HD : in pensione!
ALTRO : freerunner (openmoko) ; nokia n900 ; 2 seagate dockstar, samsung ps64d8000, diversi dispositivi ARM (Allwinner, Amlogic) ;)
Don't feed the trolls non alimentate sistemi proprietari ;)

Linux rulez! :)
Avatar utente
von fritz
Messaggi: 1479
Iscritto il: 18 gen 2007, 23:33

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da von fritz »

mi viene un dubbio...
Visto che sono proprio alle prime armi
e la prima volta che usi linux?
se hai xubuntu, che è una distribuzione debian-based, cioè derivata da debian puoi utilizzare apt-get per installare pacchetti mancanti etc.
naturalmente il tuo pc xubuntu deve essere collegato ad internet se no non ha senso.

bye
VDRBOX-HD : in pensione!
ALTRO : freerunner (openmoko) ; nokia n900 ; 2 seagate dockstar, samsung ps64d8000, diversi dispositivi ARM (Allwinner, Amlogic) ;)
Don't feed the trolls non alimentate sistemi proprietari ;)

Linux rulez! :)
maxim2000spa
Messaggi: 38
Iscritto il: 31 gen 2007, 18:18

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da maxim2000spa »

Grazie di tutto, con le tue poche informazioni , ho fatto passi da gigante...... Alla prossima... vado a pravare sull'altra macchina (questa è windows)

Maxim

ps : ho installato il mio primo LINUX lo scorso finesettimana.
Avatar utente
Gringo
Messaggi: 1796
Iscritto il: 21 gen 2007, 19:36

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da Gringo »

Comunque, anch'io ho la stessa configurazione pc Athlon XP 1800+ con SS2 e Ubuntu 6.10. Devo provare a installare da sorgenti ma so già che funziona, in passato l'ho fatto con la versione 5.10.

@ fritz: cosa ne dici di aggiornare la pagina del wiki con le tue info?

Ciao
VDRBOX:
Software: ArchLinux 0.8 Don't Panic, VDR 1.6.0-2 con Extension Patch v.62 (> 70 plugins in IT)
Hardware: Intel P4 2,4 Ghz, 1 GB RAM, DVB-S Hauppauge WinTV Nexus-S rev 2.1, DVB-T Terratec Cinergy 1400, telecomando Terratec
Case: Compaq D510 SFF
Avatar utente
ragno
Messaggi: 3017
Iscritto il: 20 gen 2007, 09:43
Località: Marte e dintorni
Contatta:

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da ragno »

@maxim2000spa: qualsiasi sia la distro che utilizzi devi sempre installare il sistema di sviluppo (compilatori, librerie, tools)...

saluti
ragno
vdr: 1.4.7+extpatch54 (pensionata), 1.7.27 (yavdr 0.4)
Percorri la via che porta al sole,
e non camminare sui sentieri oscuri.

E quando penso che sia finita,
è proprio allora che comincia la salita.
maxim2000spa
Messaggi: 38
Iscritto il: 31 gen 2007, 18:18

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da maxim2000spa »

Allora, sono andato avanti, ho installato i pacchetti mancanti, ora ho una postazione che va in internet, quindi molto meglio !!!

il problema è che non mi compila XINE-lib, allego i messaggi :

root@massimo-desktop:/usr/local/src/xine/xine-lib# ./autogen.sh

**Warning**: Version of aclocal is less than 180.
Some warning message might occur from aclocal

+ Running aclocal: done.
+ Running libtoolize: done.
+ Running autoheader: done.

**Warning**: Version of automake is less than 180.
Some warning message might occur from automake

+ Running automake: doc/hackersguide/Makefile.am:27: addprefix $(srcdir: non-POSIX variable name
doc/hackersguide/Makefile.am:27: (probably a GNU make extension)
doc/hackersguide/Makefile.am:64: `%'-style pattern rules are a GNU make extension
doc/hackersguide/Makefile.am:67: `%'-style pattern rules are a GNU make extension
src/libffmpeg/libavcodec/i386/Makefile.am:8: `:='-style assignments are not portable
src/libffmpeg/libavcodec/i386/Makefile.am:8: `CFLAGS' is a user variable, you should not override it;
src/libffmpeg/libavcodec/i386/Makefile.am:8: use `AM_CFLAGS' instead.
src/libffmpeg/libavcodec/ppc/Makefile.am:7: `CFLAGS' is a user variable, you should not override it;
src/libffmpeg/libavcodec/ppc/Makefile.am:7: use `AM_CFLAGS' instead.
src/libw32dll/wine/Makefile.am:3: LIBTOOL multiply defined in condition TRUE ...
misc/Makefile.common:1: ... `LIBTOOL' previously defined here
src/libw32dll/wine/Makefile.am:1: `misc/Makefile.common' included from here
/usr/local/share/automake-1.10/am/depend2.am: am__fastdepCCAS does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCCAS' is to add `AM_PROG_AS'
/usr/local/share/automake-1.10/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again.
src/libw32dll/wine/Makefile.am:17: `CFLAGS' is a user variable, you should not override it;
src/libw32dll/wine/Makefile.am:17: use `AM_CFLAGS' instead.
src/post/goom/Makefile.am:11: `CFLAGS' is a user variable, you should not override it;
src/post/goom/Makefile.am:11: use `AM_CFLAGS' instead.
src/video_out/libdha/kernelhelper/Makefile.am:7: shell $(SHELL: non-POSIX variable name
src/video_out/libdha/kernelhelper/Makefile.am:7: (probably a GNU make extension)
src/xine-engine/Makefile.am:7: LIBTOOL multiply defined in condition TRUE ...
misc/Makefile.common:1: ... `LIBTOOL' previously defined here
src/xine-engine/Makefile.am:1: `misc/Makefile.common' included from here
src/xine-utils/Makefile.am:3: LIBTOOL multiply defined in condition TRUE ...
misc/Makefile.common:1: ... `LIBTOOL' previously defined here
src/xine-utils/Makefile.am:1: `misc/Makefile.common' included from here
done.
+ Running autoconf: done.
+ Running 'configure ':
** If you wish to pass arguments to ./configure, please
** specify them on the command line.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for file... /usr/bin/file
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) mawk
checking for inline... inline
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for plural forms in GNU msgfmt... yes
checking for nl_langinfo... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for long... yes
checking size of long... 4
checking for inttypes.h... (cached) yes
checking for ssize_t... yes
checking for pthread_create in -lpthread... yes
checking for recursive mutex support in pthread... yes
checking for dlopen in -lc... no
checking for dlopen in -ldl... (cached) yes
checking libdir name... lib
using included ffmpeg
checking for int_fast8_t... yes
checking whether lrintf is declared... yes
checking whether rintf is declared... yes
checking for mlib_VideoAddBlock_U8_S16 in -lmlib... no
checking for X... no
checking for X11... checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for socklen_t... socklen_t
checking for gzsetparams in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for clock_getres in -lrt... yes
checking for glBegin in -lGL... no
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking for XINERAMA... checking for XineramaQueryExtension in -lXinerama... no
checking for aalib-config... no
checking for aainfo... no
checking for AALIB version >= 1.4... no
*** The aalib-config|aainfo program installed by AALIB could not be found
*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or use --with-aalib-prefix to set the prefix
*** where AALIB is installed.
*** All of AALIB dependent parts will be disabled ***
checking for CACA... checking sys/fbio.h usability... no
checking sys/fbio.h presence... no
checking for sys/fbio.h... no
checking for XDgaGrabDrawable in -ldga... no
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking for SDL... checking for Libstk... ./configure: line 37723: --atleast-version: command not found
no
*** All of Libstk dependent parts will be disabled ***
checking for PULSEAUDIO... checking for DirectX... no
*** All DirectX dependent parts will be disabled ***
*** checking for a supported mpeg encoder
checking for fame_open in -lfame... no
checking for rte_init in -lrte... no
*** no external mpeg encoder found
checking for vidix support... yes
checking for DHA linux kernel module build... no
checking for mknod... mknod
checking for depmod... depmod
checking for VORBIS... checking for THEORA... checking for SPEEX... checking for libFLAC... no
*** Could not run libFLAC test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means libFLAC was incorrectly installed
*** or that you have moved libFLAC since it was installed. In the latter case, you
*** may want to edit the libFLAC-config script:
*** All FLAC dependent parts will be disabled ***
Use included a52dec support
Use included libmad support
checking for mng_initialize in -lmng... no
*** All libmng dependent parts will be disabled ***
checking for WAND... checking for OSS audio support... yes
checking for ALSA... checking for ESD... checking for artsc-config... no
checking for ARTS artsc - version >= 0.9.5... no
*** The artsc-config script installed by ARTS could not be found
*** If ARTS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ARTS_CONFIG environment variable to the
*** full path to artsc-config.
*** All of ARTS dependent parts will be disabled ***
checking for JACK... checking for GNOME_VFS... *** All of the gnome-vfs dependent parts will be disabled ***
checking for GDK_PIXBUF... *** All of the gdk-pixbuf dependent parts will be disabled ***
checking for smbc_init in -lsmbclient... no
*** All libsmbclient dependent parts will be disabled ***
checking for Sun audio support... no
checking for IRIX libaudio support... checking dmedia/audio.h usability... no
checking dmedia/audio.h presence... no
checking for dmedia/audio.h... no
no
*** All of IRIX AL dependent parts will be disabled ***
checking for kstat_open in -lkstat... no
checking sys/cdio.h usability... no
checking sys/cdio.h presence... no
checking for sys/cdio.h... no
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking if cdrom ioctls are available... yes
Use included DVDNAV support
checking how to create empty arrays... []
checking for libcdio... ./configure: line 43605: --atleast-version: command not found
Use included libcdio/libvcdinfo support
checking for ANSI C header files... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdint.h... (cached) yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for inttypes.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking whether gcc supports ISOC99 _Pragma()... yes
checking bitfield ordering in structs... LSBF
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdbool.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking for sys/cdio.h... (cached) no
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for linux/version.h... (cached) yes
checking for linux/cdrom.h... (cached) yes
checking for bzero... yes
checking for memcpy... yes
checking for struct tm.tm_gmtoff... yes
Use included libdts support
checking for LIBMODPLUG... checking whether to enable Win32 DLL support... yes
checking for ip_mreqn... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for sched_get_priority_min in -lposix4... no
checking for vsscanf... yes
checking for sigaction... yes
checking for sigset... yes
checking for getpwuid_r... yes
checking for nanosleep... yes
checking for lstat... yes
checking for memset... yes
checking for readlink... yes
checking for strchr... yes
checking for va_copy... no
checking for _snprintf... no
checking for snprintf... yes
checking for _vsnprintf... no
checking for vsnprintf... yes
checking for _stricmp... no
checking for strcasecmp... yes
checking for _strnicmp... no
checking for strncasecmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/mixer.h usability... no
checking sys/mixer.h presence... no
checking for sys/mixer.h... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for basename... yes
checking for gettimeofday... yes
checking for setenv... yes
checking for strndup... yes
checking for strpbrk... yes
checking for strsep... yes
checking for strtok_r... yes
checking for timegm... yes
checking for unsetenv... yes
checking for hstrerror in -lresolv... yes
checking for opendir... yes
checking __attribute__ ((aligned ())) support... 64
checking if compiler supports __attribute__((visibility("...")))... yes
checking if compiler supports -fvisibility=hidden... yes
checking if compiler supports __attribute__((sentinel))... yes
checking if gcc supports "-mpreferred-stack-boundary=2" flags... yes
checking if gcc supports "-fschedule-insns2" flags... yes
checking if gcc supports "-mwide-multiply" flags... no
checking if gcc supports "-falign-functions=4" flags... yes
checking if gcc supports "-falign-loops=4" flags... yes
checking if gcc supports "-falign-jumps=4" flags... yes
checking if gcc supports "-fno-omit-frame-pointer" flags... yes
checking if gcc supports "-fno-inline-functions" flags... yes
checking if gcc supports "-fno-rename-registers" flags... yes
checking if gcc supports "-fprofile-arcs" flags... yes
checking if gcc supports "-fbranch-probabilities" flags... yes
checking for sane -Wpointer-arith... no
checking for gcc 3.4.0 or later... yes
checking if gcc supports "-Wall" flags... yes
checking if gcc supports "-mtune=i386" flags... yes
checking if gcc supports "-mtune=athlon" flags... yes
checking for sgmltools... no
checking for fig2dev... no
checking dependency style of ... none
checking if gcc supports "-Wformat" flags... yes
checking if gcc supports "-Wformat=2" flags... yes
checking if gcc supports "-Wno-format-zero-length" flags... yes
checking if gcc supports "-Wmissing-format-attribute" flags... yes
checking if gcc supports "-Wstrict-aliasing" flags... yes
checking if gcc supports "-Wstrict-aliasing=2" flags... yes
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
root@massimo-desktop:/usr/local/src/xine/xine-lib#

GRAZIE !!!!!
MAxim
maxim2000spa
Messaggi: 38
Iscritto il: 31 gen 2007, 18:18

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da maxim2000spa »

POTETE AIUTARMI ? SONO BLOCCATO CON QUESTA COMPILAZIONE E NON VEDO L'ORA DI PROVARE VDR, IL MESSAGGIO DI ERRORE è :

configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in

QUANDO DO IL COMANDO ./AUTOGEN.SH PER XINE-LIB.

CIAO
MAXIM
Avatar utente
von fritz
Messaggi: 1479
Iscritto il: 18 gen 2007, 23:33

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da von fritz »

Hello
io non so cosa mi stai combinando :nonso:
se guardi i post precedenti ce vdr-softdevice quasi completamente descritto.
comunque ho provato a compilare xine-lib su ubuntu edgy 6.10 per vedere se funziona.
questi sono i comandi che ho dato:

$ sudo apt-get install autoconf libtool automake1.9
$ cd /usr/local/src/VDR/PLUGINS/src
$ sudo wget http://home.vr-web.de/~rnissl/vdr-xine-0.7.10.tgz
$ sudo tar -xzvf vdr-xine-0.7.10.tgz
$ sudo ln -s xine-0.7.10 xine
$ cd /usr/local/src
$ sudo wget http://home.vr-web.de/~rnissl/xine-lib- ... 00.tar.bz2
$ sudo tar -xjvf xine-lib-cvs-20061209220000.tar.bz2
$ cd xine-lib
$ sudo cat /usr/local/src/VDR/PLUGINS/src/xine/patches/xine-lib.patch | sudo patch -p1
$ sudo ./autogen.sh --prefix=/usr/local
$ sudo make
$ sudo make install
$ sudo ldconfig

compilato tutto senza errori :lol: prova a seguire i mei passaggi, magari trovi l'errore.

bye
VDRBOX-HD : in pensione!
ALTRO : freerunner (openmoko) ; nokia n900 ; 2 seagate dockstar, samsung ps64d8000, diversi dispositivi ARM (Allwinner, Amlogic) ;)
Don't feed the trolls non alimentate sistemi proprietari ;)

Linux rulez! :)
maxim2000spa
Messaggi: 38
Iscritto il: 31 gen 2007, 18:18

Re: PRIMA ISTALLAZIONE -LINUX- E VDR

Messaggio da maxim2000spa »

Alla fine ci sono riuscito anche io !!!

xine continuava a darmi il solito errore (anche rifacendo l'installazione con le tue indicazioni) , poi ho ripreso i tuoi appunti e ho installato softdevice. Alla fine ho visto la luce .

Grande !!! ora ci gioco un po sopra.

Grazie di tutto Von (che pazienza ci vuole ) !!!!!

Notte.
Maxim
Rispondi