alexkay / spek

Acoustic spectrum analyser
http://spek.cc
GNU General Public License v3.0
2.6k stars 259 forks source link

Install on Fedora 35 #224

Closed Quinten0508 closed 1 year ago

Quinten0508 commented 2 years ago

running ./configure on my Fedora install gives me:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... ranlib
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.34.1
checking for XML::Parser... ok
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking the OS... UNIX
checking for valgrind... yes
checking for log10 in -lm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFMPEG... no
configure: error: Package requirements (libavcodec >= 53.25 libavformat >= 53.17 libavutil >= 51.17) were not met:

Package 'libavcodec', required by 'virtual:world', not found
Package 'libavformat', required by 'virtual:world', not found
Package 'libavutil', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FFMPEG_CFLAGS
and FFMPEG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Looking further, LibAV does not seem to have a build for Fedora/RHEL and trying to install it conflicts with ffmpeg as a whole. How would I set the env variables FMPEG_CFLAGS and FFMPEG_LIBS as mentioned in the output?

arun54321 commented 2 years ago

Get regular ffmpeg from rpmfusion.

alexkay commented 1 year ago

master now requires ffmpeg 5.1.