Mythtv - slackbuild - 12.2

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
Bakkio2
Linux 2.x
Linux 2.x
Messaggi: 286
Iscritto il: gio 24 mar 2005, 0:00
Nome Cognome: Carlo B.
Slackware: 13.37 64
Kernel: 2.6.33.4-smp
Desktop: kde-4.4.3
Località: Villesse (GO)
Contatta:

Mythtv - slackbuild - 12.2

Messaggio da Bakkio2 »

Come da titolo, ho difficoltà a creare un pacchetto su slack 12.2 di mythtv con lo slackbuild scaricato da http://darkstar.ist.utl.pt/slackware/ad ... ultimedia/.
Quando lancio il comando mi da questo errore:

Codice: Seleziona tutto

bash-3.1# sh mythtv.SlackBuild
....
....
# I puntini stanno a significare che la compilazione è in corso
....
....
/usr/include/artsc/../libavutil/common.h: In function 'int av_log2(unsigned int)':                                                                                                                                  
/usr/include/artsc/../libavutil/common.h:126: error: redefinition of 'int av_log2(unsigned int)'                                                                                                                    
../libavutil/common.h:99: error: 'int av_log2(unsigned int)' previously defined here                                                                                                                                
/usr/include/artsc/../libavutil/common.h: In function 'int av_log2_16bit(unsigned int)':                                                                                                                            
/usr/include/artsc/../libavutil/common.h:142: error: redefinition of 'int av_log2_16bit(unsigned int)'                                                                                                              
../libavutil/common.h:117: error: 'int av_log2_16bit(unsigned int)' previously defined here
/usr/include/artsc/../libavutil/common.h: In function 'int av_clip(int, int, int)':
/usr/include/artsc/../libavutil/common.h:161: error: redefinition of 'int av_clip(int, int, int)'
../libavutil/common.h:179: error: 'int av_clip(int, int, int)' previously defined here
/usr/include/artsc/../libavutil/common.h: In function 'uint8_t av_clip_uint8(int)':
/usr/include/artsc/../libavutil/common.h:173: error: redefinition of 'uint8_t av_clip_uint8(int)'
../libavutil/common.h:191: error: 'uint8_t av_clip_uint8(int)' previously defined here
/usr/include/artsc/../libavutil/common.h: In function 'int16_t av_clip_int16(int)':
/usr/include/artsc/../libavutil/common.h:184: error: redefinition of 'int16_t av_clip_int16(int)'
../libavutil/common.h:202: error: 'int16_t av_clip_int16(int)' previously defined here
mpeg/pespacket.cpp: In member function 'uint PESPacket::CalcCRC() const':
mpeg/pespacket.cpp:160: error: 'av_crc04C11DB7' was not declared in this scope
make[2]: *** [pespacket.o] Error 1
make[2]: Leaving directory `/tmp/SBo/mythtv-0.21/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/tmp/SBo/mythtv-0.21/libs'
make: *** [sub-libs] Error 2
Se provo a compilarlo a mano, anche li mi da un errore simile, mentre non funziona il pacchetto della slack 12.1
Qualcuno mi sa dire se mi mancano delle dipendenze e quali?!?

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Mythtv - slackbuild - 12.2

Messaggio da ponce »

prova a cambiare la versione di ffmpeg, libavutil e' in quel pacchetto.

Avatar utente
Bakkio2
Linux 2.x
Linux 2.x
Messaggi: 286
Iscritto il: gio 24 mar 2005, 0:00
Nome Cognome: Carlo B.
Slackware: 13.37 64
Kernel: 2.6.33.4-smp
Desktop: kde-4.4.3
Località: Villesse (GO)
Contatta:

Re: Mythtv - slackbuild - 12.2

Messaggio da Bakkio2 »

ponce ha scritto:prova a cambiare la versione di ffmpeg, libavutil e' in quel pacchetto.
Grande come sempre...
E' bastato disinstallare il pacchetto ffmpeg è fare un'aggiunta allo slackbuild è tutto ha funzionato.
La modifica è l'aggiunta del comando:

Codice: Seleziona tutto

--disable-redirectfb
Se a qualcuno può interessare il pacchetto me lo dica.



Adesso ho un problema invece con il pacchetto mythplugins...

Codice: Seleziona tutto

/usr/include/klocale.h:362: error: invalid use of incomplete type 'struct QString'                                                                                                                                  
/usr/include/kcomponentdata.h:26: error: forward declaration of 'struct QString'                                                                                                                                    
/usr/include/klocale.h:1280: error: expected constructor, destructor, or type conversion before '(' token                                                                                                           
In file included from main.cpp:16:                                                                                                                                                                                  
/usr/include/kcmdlineargs.h:96: error: invalid use of incomplete type 'struct QByteArray'                                                                                                                           
/usr/include/kcomponentdata.h:25: error: forward declaration of 'struct QByteArray'                                                                                                                                 
/usr/include/kcmdlineargs.h:271: error: 'StdCmdLineArgs' has not been declared                                                                                                                                      
/usr/include/kcmdlineargs.h:290: error: expected ';' before 'static'                                                                                                                                                
/usr/include/kcmdlineargs.h:313: error: 'StdCmdLineArgs' has not been declared                                                                                                                                      
/usr/include/kcmdlineargs.h:332: error: 'StdCmdLineArgs' has not been declared                                                                                                                                      
/usr/include/kcmdlineargs.h:313: error: 'StdCmdLineArgs' was not declared in this scope                                                                                                                             
/usr/include/kcmdlineargs.h:332: error: 'StdCmdLineArgs' was not declared in this scope                                                                                                                             
/usr/include/kcmdlineargs.h:399: error: invalid use of incomplete type 'struct QByteArray'                                                                                                                          
/usr/include/kcomponentdata.h:25: error: forward declaration of 'struct QByteArray'                                                                                                                                 
/usr/include/kcmdlineargs.h:400: error: invalid use of incomplete type 'struct QByteArray'                                                                                                                          
/usr/include/kcomponentdata.h:25: error: forward declaration of 'struct QByteArray'                                                                                                                                 
/usr/include/kcmdlineargs.h:411: error: invalid use of incomplete type 'struct QByteArray'                                                                                                                          
/usr/include/kcomponentdata.h:25: error: forward declaration of 'struct QByteArray'                                                                                                                                 
/usr/include/kcmdlineargs.h:437: error: invalid use of incomplete type 'struct QByteArray'                                                                                                                          
/usr/include/kcomponentdata.h:25: error: forward declaration of 'struct QByteArray'                                                                                                                                 
/usr/include/kcmdlineargs.h:658: error: expected constructor, destructor, or type conversion before '(' token                                                                                                       
In file included from webpage.h:5,                                                                                                                                                                                  
                 from tabview.h:4,                                                                                                                                                                                  
                 from main.cpp:18:                                                                                                                                                                                  
/usr/include/kmainwindow.h:106: error: expected class-name before '{' token                                                                                                                                         
/usr/include/kmainwindow.h:110: error: 'Q_OBJECT' does not name a type                                                                                                                                              
/usr/include/kmainwindow.h:183: error: expected ';' before '*' token                                                                                                                                                
/usr/include/kmainwindow.h:208: error: expected ';' before '*' token                                                                                                                                                
/usr/include/kmainwindow.h:326: error: expected ';' before '<' token                                                                                                                                                
/usr/include/kmainwindow.h:343: error: expected ';' before '<' token                                                                                                                                                
/usr/include/kmainwindow.h:453: error: expected `:' before 'Q_SLOTS'                                                                                                                                                
/usr/include/kmainwindow.h:461: error: expected primary-expression before 'virtual'                                                                                                                                 
/usr/include/kmainwindow.h:461: error: expected ';' before 'virtual'                                                                                                                                                
/usr/include/kmainwindow.h:517: error: 'QEvent' has not been declared                                                                                                                                               
/usr/include/kmainwindow.h:526: error: 'QCloseEvent' has not been declared                                                                                                                                          
/usr/include/kmainwindow.h:666: error: expected `:' before 'Q_SLOTS'                                                                                                                                                
/usr/include/kmainwindow.h:691: error: expected primary-expression before 'virtual'                                                                                                                                 
/usr/include/kmainwindow.h:691: error: expected ';' before 'virtual'                                                                                                                                                
/usr/include/kmainwindow.h:717: error: 'QWidget' has not been declared                                                                                                                                              
/usr/include/kmainwindow.h:717: error: 'Qt' has not been declared                                                                                                                                                   
/usr/include/kmainwindow.h:717: error: expected ',' or '...' before 'f'                                                                                                                                             
/usr/include/kmainwindow.h:721: error: 'k_func' is not a type                                                                                                                                                       
/usr/include/kmainwindow.h:722: error: expected ';' before 'Q_PRIVATE_SLOT'                                                                                                                                         
/usr/include/kmainwindow.h:724: error: expected `;' before '}' token                                                                                                                                                
/usr/include/kmainwindow.h:338: error: invalid use of incomplete type 'struct QString'                                                                                                                              
/usr/include/kcomponentdata.h:26: error: forward declaration of 'struct QString'                                                                                                                                    
/usr/include/kmainwindow.h:376: error: 'QLatin1String' was not declared in this scope                                                                                                                               
/usr/include/kmainwindow.h: In function 'void kRestoreMainWindows()':                                                                                                                                               
/usr/include/kmainwindow.h:756: error: there are no arguments to 'QLatin1String' that depend on a template parameter, so a declaration of 'QLatin1String' must be available                                         
/usr/include/kmainwindow.h:756: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)                                                             
/usr/include/kmainwindow.h:758: error: there are no arguments to 'QLatin1String' that depend on a template parameter, so a declaration of 'QLatin1String' must be available                                         
/usr/include/kmainwindow.h: In function 'void kRestoreMainWindows()':                                                                                                                                               
/usr/include/kmainwindow.h:771: error: there are no arguments to 'QLatin1String' that depend on a template parameter, so a declaration of 'QLatin1String' must be available                                         
/usr/include/kmainwindow.h:773: error: there are no arguments to 'QLatin1String' that depend on a template parameter, so a declaration of 'QLatin1String' must be available                                         
/usr/include/kmainwindow.h:775: error: there are no arguments to 'QLatin1String' that depend on a template parameter, so a declaration of 'QLatin1String' must be available                                         
In file included from webpage.h:6,                                                                                                                                                                                  
                 from tabview.h:4,                                                                                                                                                                                  
                 from main.cpp:18:                                                                                                                                                                                  
/usr/include/kurl.h: At global scope:                                                                                                                                                                               
/usr/include/kurl.h:112: error: expected class-name before '{' token                                                                                                                                                
/usr/include/kurl.h:114: error: expected ';' before '<' token                                                                                                                                                       
/usr/include/kurl.h:125: error: expected template-name before '<' token
/usr/include/kurl.h:125: error: expected `{' before '<' token
/usr/include/kurl.h:125: error: expected unqualified-id before '<' token
In file included from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/i486-slackware-linux/bits/c++io.h:43,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/iosfwd:46,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/bits/stl_algobase.h:70,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/bits/char_traits.h:46,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/string:47,
                 from /usr/lib/qt/include/qstring.h:59,
                 from /usr/lib/qt/include/qwindowdefs.h:47,
                 from /usr/lib/qt/include/qwidget.h:45,
                 from /usr/lib/qt/include/qtabwidget.h:45,
                 from tabview.h:8,
                 from main.cpp:18:
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/i486-slackware-linux/bits/gthr.h:33: error: expected `}' before end of line
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/i486-slackware-linux/bits/gthr.h:33: error: expected unqualified-id before end of line
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/i486-slackware-linux/bits/gthr.h:33: error: expected declaration before end of line
/usr/include/ksharedptr.h: In destructor 'KSharedPtr<T>::~KSharedPtr() [with T = KSharedConfig]':
/usr/include/klocale.h:90:   instantiated from here
/usr/include/ksharedptr.h:84: error: 'class KSharedConfig' has no member named 'ref'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/tmp/SBo/mythplugins-0.21/mythbrowser/mythbrowser'
make[1]: *** [sub-mythbrowser] Error 2
make[1]: Leaving directory `/tmp/SBo/mythplugins-0.21/mythbrowser'
make: *** [sub-mythbrowser] Error 2
bash-3.1#

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Mythtv - slackbuild - 12.2

Messaggio da ponce »

sembra che sia un problema di versione delle qt.

Rispondi