[openmamba-devel-it] idjc

gil puntogil a libero.it
Gio 20 Nov 2008 18:38:52 CET


Silvan Calarco ha scritto:
> Alle giovedì 20 novembre 2008, gil ha scritto:
>   
>> ciao
>> ho questo problema
>> bisognerebbe modificare i pacchetti di ffmpeg?? cambiando le dir delle
>> libs in questo senso libavformat/avformat.h alposto di ffmpeg/avformat.h ??
>> io adesso ho risolto con delle patch almeno spero...
>> %build
>>
>> export  AVFORMAT_CFLAGS=-I%{_includedir}/ffmpeg
>> AVFORMAT_LIBS=-L%{_libdir}/libavformat \
>>         AVCODEC_CFLAGS=-I%{_includedir}/ffmpeg
>> AVCODEC_LIBS=-L%{_libdir}/libavcodec
>> %configure\
>>             --prefix=%{_prefix} \
>>            PYTHON=%{__python} --enable-shared
>>
>> checking for JACK... yes
>> checking for VORBIS... yes
>> checking for VORBISENC... yes
>> checking for VORBISFILE... yes
>> checking for MAD... yes
>> checking for SAMPLERATE... yes
>> checking for SNDFILE... yes
>> checking for AVCODEC... yes
>> checking for AVFORMAT... yes
>>
>>
>> checking libavcodec/avcodec.h usability... no
>> checking libavcodec/avcodec.h presence... no
>> checking for libavcodec/avcodec.h... no
>> checking ffmpeg/avcodec.h usability... no
>> checking ffmpeg/avcodec.h presence... no
>> checking for ffmpeg/avcodec.h... no
>> checking libavformat/avformat.h usability... no
>> checking libavformat/avformat.h presence... no
>> checking for libavformat/avformat.h... no
>> checking ffmpeg/avformat.h usability... no
>> checking ffmpeg/avformat.h presence... no
>> checking for ffmpeg/avformat.h... no
>>
>>
>>
>>
>>
>> make[2]: Entering directory `/usr/src/RPM/BUILD/idjc-0.7.11a/c'
>> if i586-openmamba-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall
>> -std=gnu99 -O2    -I/usr/include/FLAC     -I/usr/include/ffmpeg
>> -I/usr/include/ffmpeg  -O2  -fomit-frame-pointer -pipe -march=i686
>> -mtune=athlon -MT idjcmixer-idjcmixer.o -MD -MP -MF
>> ".deps/idjcmixer-idjcmixer.Tpo" -c -o idjcmixer-idjcmixer.o `test -f
>> 'idjcmixer.c' || echo './'`idjcmixer.c; \
>>         then mv -f ".deps/idjcmixer-idjcmixer.Tpo"
>> ".deps/idjcmixer-idjcmixer.Po"; else rm -f
>> ".deps/idjcmixer-idjcmixer.Tpo"; exit 1; fi
>> if i586-openmamba-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall
>> -std=gnu99 -O2    -I/usr/include/FLAC     -I/usr/include/ffmpeg
>> -I/usr/include/ffmpeg  -O2  -fomit-frame-pointer -pipe -march=i686
>> -mtune=athlon -MT idjcmixer-kvpdict.o -MD -MP -MF
>> ".deps/idjcmixer-kvpdict.Tpo" -c -o idjcmixer-kvpdict.o `test -f
>> 'kvpdict.c' || echo './'`kvpdict.c; \
>>         then mv -f ".deps/idjcmixer-kvpdict.Tpo"
>> ".deps/idjcmixer-kvpdict.Po"; else rm -f ".deps/idjcmixer-kvpdict.Tpo";
>> exit 1; fi
>> if i586-openmamba-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall
>> -std=gnu99 -O2    -I/usr/include/FLAC     -I/usr/include/ffmpeg
>> -I/usr/include/ffmpeg  -O2  -fomit-frame-pointer -pipe -march=i686
>> -mtune=athlon -MT idjcmixer-kvpparse.o -MD -MP -MF
>> ".deps/idjcmixer-kvpparse.Tpo" -c -o idjcmixer-kvpparse.o `test -f
>> 'kvpparse.c' || echo './'`kvpparse.c; \
>>         then mv -f ".deps/idjcmixer-kvpparse.Tpo"
>> ".deps/idjcmixer-kvpparse.Po"; else rm -f
>> ".deps/idjcmixer-kvpparse.Tpo"; exit 1; fi
>> if i586-openmamba-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall
>> -std=gnu99 -O2    -I/usr/include/FLAC     -I/usr/include/ffmpeg
>> -I/usr/include/ffmpeg  -O2  -fomit-frame-pointer -pipe -march=i686
>> -mtune=athlon -MT idjcmixer-dsp.o -MD -MP -MF ".deps/idjcmixer-dsp.Tpo"
>> -c -o idjcmixer-dsp.o `test -f 'dsp.c' || echo './'`dsp.c; \
>>         then mv -f ".deps/idjcmixer-dsp.Tpo" ".deps/idjcmixer-dsp.Po";
>> else rm -f ".deps/idjcmixer-dsp.Tpo"; exit 1; fi
>> In file included from idjcmixer.c:46:
>> avcodecdecode.h:44: error: expected specifier-qualifier-list before
>> 'AVCodec'
>> if i586-openmamba-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall
>> -std=gnu99 -O2    -I/usr/include/FLAC     -I/usr/include/ffmpeg
>> -I/usr/include/ffmpeg  -O2  -fomit-frame-pointer -pipe -march=i686
>> -mtune=athlon -MT idjcmixer-compressor.o -MD -MP -MF
>> ".deps/idjcmixer-compressor.Tpo" -c -o idjcmixer-compressor.o `test -f
>> 'compressor.c' || echo './'`compressor.c; \
>>         then mv -f ".deps/idjcmixer-compressor.Tpo"
>> ".deps/idjcmixer-compressor.Po"; else rm -f
>> ".deps/idjcmixer-compressor.Tpo"; exit 1; fi
>> make[2]: *** [idjcmixer-idjcmixer.o] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> make[2]: Leaving directory `/usr/src/RPM/BUILD/idjc-0.7.11a/c'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/src/RPM/BUILD/idjc-0.7.11a'
>> make: *** [all] Error 2
>> error: Bad exit status from /var/tmp/rpm-tmp.16672 (%build)
>>     
>
> Il programma che stai compilando utilizza la vecchia disposizione degli 
> include /usr/include/ffmpeg, per cui devi patchare i sorgenti per utilizzare 
> la nuova collocazione. Come prima cosa puoi cercare patch in rete per 
> compilare idjc con versioni regenti di ffmpeg.
>
> Cercando "idjc ffmpeg patch" su google per esempio ho trovat:
>
> http://forum.archlinux.de/?page=Postings;id=20;thread=9318
>
> ciao
> Silvan
>
>   
ciao
le avevo trovate anche io... piu che una patch usavo sed...
solo che le cose non sono migliorate... anzi...
ho pacchettizzato una libreria da aggiungere a ffmpeg (libnut)
solo che ha ancora dei problemi anche se lo messa nel repo the_...
adesso sto rifaciendo il build di ffmpeg con la nuova libdc1394 2.0.2

-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        puntogil.vcf
Tipo:        text/x-vcard
Dimensione:  49 bytes
Descrizione: non disponibile
URL:         <http://tao/pipermail/openmamba-devel-it/attachments/20081120/a8767631/attachment.vcf>


Maggiori informazioni sulla lista openmamba-devel-it