make fails on raspbian possible due to ffmpeg
Added by almdudler almdudler over 6 years ago
hi
when i try to make tvheadend on raspbian (raspberry pi).
i think it has something to do with ffmpeg. libavcodec is already installed.
pls ignore the stuff about missing locale settings. this is not what i am concerned about.
thank you very much in advance for any help.
make[1]: Leaving directory '/home/pi/tvheadend' make -f Makefile.ffmpeg make[1]: Entering directory '/home/pi/tvheadend' cd /home/pi/tvheadend/build.linux/ffmpeg/libvpx-1.6.1 && \ ASFLAGS="-DENABLE_PIC=1 -DPIC=1" FFMPEG_PREFIX=/home/pi/tvheadend/build.linux/ffmpeg/build/ffmpeg PKG_CONFIG=/home/pi/tvheadend/support/pkg-config.ffmpeg ./configure --prefix=/ffmpeg --enable-static --disable-shared \ --extra-cflags="-fPIE" \ --disable-examples \ --disable-docs \ --disable-unit-tests \ perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_MONETARY = "de_AT.UTF-8", LC_ADDRESS = "de_AT.UTF-8", LC_TELEPHONE = "de_AT.UTF-8", LC_NAME = "de_AT.UTF-8", LC_MEASUREMENT = "de_AT.UTF-8", LC_IDENTIFICATION = "de_AT.UTF-8", LC_NUMERIC = "de_AT.UTF-8", LC_PAPER = "de_AT.UTF-8", LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_GB.UTF-8"). disabling shared disabling examples disabling docs disabling unit_tests enabling vp8_encoder enabling vp8_decoder enabling vp9_encoder enabling vp9_decoder Configuring for target 'armv7-linux-gcc' enabling armv7 enabling neon enabling neon_asm enabling webm_io enabling libyuv Creating makefiles for armv7-linux-gcc libs Creating makefiles for armv7-linux-gcc tools DIST_DIR=/home/pi/tvheadend/build.linux/ffmpeg/build/ffmpeg \ make -C /home/pi/tvheadend/build.linux/ffmpeg/libvpx-1.6.1 install make[2]: Entering directory '/home/pi/tvheadend/build.linux/ffmpeg/libvpx-1.6.1' [DEP] vpx_config.c.d [CC] vpx_config.c.o [AS] vpx_dsp/arm/intrapred_neon_asm.asm.S.o as: unrecognized option '-ENABLE_PIC=1' Makefile:190: recipe for target 'vpx_dsp/arm/intrapred_neon_asm.asm.S.o' failed make[3]: *** [vpx_dsp/arm/intrapred_neon_asm.asm.S.o] Error 1 Makefile:17: recipe for target '.DEFAULT' failed make[2]: *** [.DEFAULT] Error 2 make[2]: Leaving directory '/home/pi/tvheadend/build.linux/ffmpeg/libvpx-1.6.1' Makefile.ffmpeg:310: recipe for target '/home/pi/tvheadend/build.linux/ffmpeg/libvpx-1.6.1/.tvh_build' failed make[1]: *** [/home/pi/tvheadend/build.linux/ffmpeg/libvpx-1.6.1/.tvh_build] Error 2 make[1]: Leaving directory '/home/pi/tvheadend' Makefile:838: recipe for target '/home/pi/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a' failed make: *** [/home/pi/tvheadend/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2
Replies (2)
RE: make fails on raspbian possible due to ffmpeg - Added by Robert Cameron over 6 years ago
If you already have ffmpeg installed, and wish to link against your existing version, then add --disable-ffmpeg_static
to your configure options.
RE: make fails on raspbian possible due to ffmpeg - Added by almdudler almdudler over 6 years ago
thanks. it is working now.