Skocz do zawartości

Kompilacja Moc


mejdej

Rekomendowane odpowiedzi

Witam

 

Próbuje skompilować moc, jako, że nie ma aktualnych rpm dla 64bitowej fedory.

 

Jednak podczas instalacji dostaje taki komunikat i nie wiem co mam dalej zrobić. Pakiet ffmpeg mam zainstalowany z repo, pakiet ffmpeg-lib też. Próbowałem je przeinstalować, zainstalować nowszą wersje z rpm ale to nie poamaga.

 

Polecenie make wykonuje się z błędami:

[pawel@pawel-lap moc-2.4.4]$ make
make  all-recursive
make[1]: Wejście do katalogu `/home/pawel/moc-2.4.4'
Making all in themes
make[2]: Wejście do katalogu `/home/pawel/moc-2.4.4/themes'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/pawel/moc-2.4.4/themes'
Making all in decoder_plugins
make[2]: Wejście do katalogu `/home/pawel/moc-2.4.4/decoder_plugins'
Making all in mp3
make[3]: Wejście do katalogu `/home/pawel/moc-2.4.4/decoder_plugins/mp3'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/pawel/moc-2.4.4/decoder_plugins/mp3'
Making all in musepack
make[3]: Wejście do katalogu `/home/pawel/moc-2.4.4/decoder_plugins/musepack'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/pawel/moc-2.4.4/decoder_plugins/musepack'
Making all in vorbis
make[3]: Wejście do katalogu `/home/pawel/moc-2.4.4/decoder_plugins/vorbis'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/pawel/moc-2.4.4/decoder_plugins/vorbis'
Making all in flac
make[3]: Wejście do katalogu `/home/pawel/moc-2.4.4/decoder_plugins/flac'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/pawel/moc-2.4.4/decoder_plugins/flac'
Making all in sndfile
make[3]: Wejście do katalogu `/home/pawel/moc-2.4.4/decoder_plugins/sndfile'
make[3]: Nie ma nic do zrobienia w `all'.
make[3]: Opuszczenie katalogu `/home/pawel/moc-2.4.4/decoder_plugins/sndfile'
Making all in ffmpeg
make[3]: Wejście do katalogu `/home/pawel/moc-2.4.4/decoder_plugins/ffmpeg'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I/usr/include/ffmpeg   -I../.. -pthread -g -O2 -Wall -W -I/usr/include/alsa        -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF ".deps/libffmpeg_decoder_la-ffmpeg.Tpo" -c -o libffmpeg_decoder_la-ffmpeg.lo `test -f 'ffmpeg.c' || echo './'`ffmpeg.c; \
then mv -f ".deps/libffmpeg_decoder_la-ffmpeg.Tpo" ".deps/libffmpeg_decoder_la-ffmpeg.Plo"; else rm -f ".deps/libffmpeg_decoder_la-ffmpeg.Tpo"; exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/ffmpeg -I../.. -pthread -g -O2 -Wall -W -I/usr/include/alsa -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF .deps/libffmpeg_decoder_la-ffmpeg.Tpo -c ffmpeg.c  -fPIC -DPIC -o .libs/libffmpeg_decoder_la-ffmpeg.o
ffmpeg.c:28:29: error: ffmpeg/avformat.h: Nie ma takiego pliku ani katalogu
ffmpeg.c:45: error: expected specifier-qualifier-list before ‘AVFormatParameters’
ffmpeg.c: In function ‘ffmpeg_init’:
ffmpeg.c:60: warning: implicit declaration of function ‘av_register_all’
ffmpeg.c: In function ‘ffmpeg_info’:
ffmpeg.c:68: error: ‘AVFormatParameters’ undeclared (first use in this function)
ffmpeg.c:68: error: (Each undeclared identifier is reported only once
ffmpeg.c:68: error: for each function it appears in.)
ffmpeg.c:68: error: expected ‘;’ before ‘ap’
ffmpeg.c:69: error: ‘AVFormatContext’ undeclared (first use in this function)
ffmpeg.c:69: error: ‘ic’ undeclared (first use in this function)
ffmpeg.c:72: error: ‘ap’ undeclared (first use in this function)
ffmpeg.c:74: warning: implicit declaration of function ‘av_open_input_file’
ffmpeg.c:78: warning: implicit declaration of function ‘av_find_stream_info’
ffmpeg.c:95: error: ‘AV_TIME_BASE’ undeclared (first use in this function)
ffmpeg.c: In function ‘ffmpeg_open’:
ffmpeg.c:107: error: ‘struct ffmpeg_data’ has no member named ‘ok’
ffmpeg.c:109: error: ‘struct ffmpeg_data’ has no member named ‘error’
ffmpeg.c:110: error: ‘struct ffmpeg_data’ has no member named ‘ap’
ffmpeg.c:110: error: ‘struct ffmpeg_data’ has no member named ‘ap’
ffmpeg.c:112: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:112: error: ‘struct ffmpeg_data’ has no member named ‘ap’
ffmpeg.c:114: error: ‘struct ffmpeg_data’ has no member named ‘error’
ffmpeg.c:118: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:120: error: ‘struct ffmpeg_data’ has no member named ‘error’
ffmpeg.c:123: warning: implicit declaration of function ‘av_close_input_file’
ffmpeg.c:123: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:127: warning: implicit declaration of function ‘av_read_play’
ffmpeg.c:127: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:128: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:129: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:129: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:130: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:130: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
ffmpeg.c:136: error: ‘struct ffmpeg_data’ has no member named ‘error’
ffmpeg.c:138: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:143: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:144: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:146: error: ‘struct ffmpeg_data’ has no member named ‘codec’
ffmpeg.c:146: warning: implicit declaration of function ‘avcodec_find_decoder’
ffmpeg.c:146: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:147: error: ‘struct ffmpeg_data’ has no member named ‘codec’
ffmpeg.c:147: warning: implicit declaration of function ‘avcodec_open’
ffmpeg.c:147: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:147: error: ‘struct ffmpeg_data’ has no member named ‘codec’
ffmpeg.c:148: error: ‘struct ffmpeg_data’ has no member named ‘error’
ffmpeg.c:150: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:154: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:155: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:157: error: ‘struct ffmpeg_data’ has no member named ‘ok’
ffmpeg.c:158: error: ‘struct ffmpeg_data’ has no member named ‘bitrate’
ffmpeg.c:158: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c: In function ‘ffmpeg_close’:
ffmpeg.c:167: error: ‘struct ffmpeg_data’ has no member named ‘ok’
ffmpeg.c:168: warning: implicit declaration of function ‘avcodec_close’
ffmpeg.c:168: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:169: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:171: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:172: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:175: error: ‘struct ffmpeg_data’ has no member named ‘error’
ffmpeg.c: In function ‘ffmpeg_seek’:
ffmpeg.c:182: warning: unused variable ‘err’
ffmpeg.c:181: warning: unused variable ‘data’
ffmpeg.c:179: warning: unused parameter ‘sec’
ffmpeg.c: In function ‘put_in_remain_buf’:
ffmpeg.c:202: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:203: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:204: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c: In function ‘add_to_remain_buf’:
ffmpeg.c:212: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:212: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:213: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:214: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:214: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:215: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:217: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c: In function ‘ffmpeg_decode’:
ffmpeg.c:226: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared (first use in this function)
ffmpeg.c:227: error: ‘AVPacket’ undeclared (first use in this function)
ffmpeg.c:227: error: expected ‘;’ before ‘pkt’
ffmpeg.c:232: error: ‘struct ffmpeg_data’ has no member named ‘error’
ffmpeg.c:234: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:235: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:238: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:239: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:239: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:243: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:245: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:246: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:246: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:247: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:248: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:252: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:253: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf’
ffmpeg.c:254: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:261: warning: implicit declaration of function ‘av_read_frame’
ffmpeg.c:261: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:261: error: ‘pkt’ undeclared (first use in this function)
ffmpeg.c:273: warning: implicit declaration of function ‘avcodec_decode_audio’
ffmpeg.c:273: error: ‘struct ffmpeg_data’ has no member named ‘enc’
ffmpeg.c:279: error: ‘struct ffmpeg_data’ has no member named ‘error’
ffmpeg.c:311: error: ‘struct ffmpeg_data’ has no member named ‘bitrate’
ffmpeg.c:311: error: ‘struct ffmpeg_data’ has no member named ‘remain_buf_len’
ffmpeg.c:314: warning: implicit declaration of function ‘av_free_packet’
ffmpeg.c:226: warning: unused variable ‘avbuf’
ffmpeg.c: In function ‘ffmpeg_get_bitrate’:
ffmpeg.c:323: error: ‘struct ffmpeg_data’ has no member named ‘bitrate’
ffmpeg.c: In function ‘ffmpeg_get_duration’:
ffmpeg.c:330: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:330: error: ‘struct ffmpeg_data’ has no member named ‘ic’
ffmpeg.c:330: error: ‘AV_TIME_BASE’ undeclared (first use in this function)
ffmpeg.c: In function ‘ffmpeg_get_error’:
ffmpeg.c:363: error: ‘struct ffmpeg_data’ has no member named ‘error’
make[3]: *** [libffmpeg_decoder_la-ffmpeg.lo] Błąd 1
make[3]: Opuszczenie katalogu `/home/pawel/moc-2.4.4/decoder_plugins/ffmpeg'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/home/pawel/moc-2.4.4/decoder_plugins'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/pawel/moc-2.4.4'
make: *** [all] Błąd 2

Odnośnik do komentarza
Udostępnij na innych stronach

Teraz pytanie jakie repo dodać, żeby mieć ffmpeg-libs-devel?
Nie, z tymi pakietami devel to był taki strzał wcześniej nie sprawdzałem czy takie istnieją. Skoro nie ma to na pewno nie o to chodzi.

EDIT: Czytałeś ./configure --help? Tobie pewnie zależy tylko na mp3, więc możesz dodać te wszystkie opcje --without-* poza --without-mp3. Będziesz potrzebował biblioteki libmad i libmad-devel.

Odnośnik do komentarza
Udostępnij na innych stronach

Dzieki za rady. Pomogło skompilowanie ffmpeg.

Na stronie ffmpeg.org jest wersja 0.5, w repo jest 0.3. Skompilowałem ffmpeg 0.5 i wszystko działa pod F11 64 bit :)

 

Temat do zamknięcia.

 

Ha! Miałem rację :)

 

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...