Opened 6 years ago

Closed 6 years ago

#2339 closed defect (fixed)

--enable-ffmpeg_so and --disable-ffmpeg_so are equivalent in ./configure

Reported by: eigscourtney Owned by: beastd
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: configure Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:
The configure script only tests for ffmpeg_so=auto, not "yes". Using the enable flag disables the feature.

How to reproduce:

[vagrant@rpmbuild mplayer]$ ./configure --enable-ffmpeg_so --disable-ffmpeg_a
Checking for ffmpeg/libavcodec/allcodecs.c ... not found
Checking for ffmpeg/libavcodec/hwaccels.h ... not found
Checking for ffmpeg/libavformat/allformats.c ... not found
Checking for ffmpeg/libavcodec/bitsteram_filters.c ... not found
Checking for ffmpeg/libavformat/protocols.c ... not found
Checking for ffmpeg/libavfilter/allfilters.c ... not found
Checking for cc version ... 4.4.7
Checking for working compiler ... yes
Detected operating system: Linux
Detected host architecture: x86_64
Checking for cross compilation ... no
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (6:70:1)
Checking for CPU type ...  Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of sse3 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of sse4_1 ... yes
Checking for kernel support of sse4_2 ... yes
Checking for kernel support of avx ... yes
Checking for kernel support of avx2 ... failed
It seems that your kernel does not correctly support avx2.
To use avx2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for relocatable binary ... yes (fast PIC)
Checking for PIC ... yes
Checking for .align is a power of two ... no
Checking for ebx availability ... yes
Checking for yasm ... yasm
Checking for bswap ... yes
Checking for xmm clobbers ... yes
Checking for langinfo ... yes
Checking for language ... messages: en - man pages: en - documentation: en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for atanf ... yes
Checking for cbrt ... yes
Checking for cbrtf ... yes
Checking for cosf ... yes
Checking for expf ... yes
Checking for exp2 ... yes
Checking for exp2f ... yes
Checking for isnan ... yes
Checking for isfinite ... yes
Checking for isinf ... yes
Checking for llrint ... yes
Checking for llrintf ... yes
Checking for log2 ... yes
Checking for log2f ... yes
Checking for log10f ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for rint ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for sinf ... yes
Checking for trunc ... yes
Checking for truncf ... yes
Checking for erf ... yes
Checking for atan2f ... yes
Checking for fminf ... yes
Checking for ldexpf ... yes
Checking for powf ... yes
Checking for hypot ... yes
Checking for mkstemp ... yes
Checking for gmtime_r ... yes
Checking for localtime_r ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for netdb.h, struct addrinfo ... yes
Checking for netdb.h, getaddrinfo() ... yes
Checking for sockaddr_storage ... yes
Checking for struct ipv6_mreq ... yes
Checking for struct sockaddr_in6 ... yes
Checking for struct sockaddr sa_len ... no
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes
Checking for inet_aton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for networking ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for SCTP ... no
Checking for sys/un.h ... yes
Checking for sys/poll.h ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for aligned malloc ... no
Checking for memalign() ... yes
Checking for posix_memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for hard-coded tables ... no
Checking for mman.h ... yes
Checking for mprotect ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for pthread_cancel ... yes
Checking for direct.h ... no
Checking for windows.h ... no
Checking for io.h ... no
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for termcap ... no
Checking for termios ... yes (using termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for clock_gettime() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for setmode() ... no
Checking for sys/sysinfo.h ... yes
Checking for Apple IR ... yes
Checking for pkg-config ... yes
Checking for GnuTLS ... no
Checking for OpenSSL ... no
Checking for Samba support (libsmbclient) ... no
Checking for /dev/mga_vid ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... no (check if the dev(el) packages are installed)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for Xss screensaver extensions ... no
Checking for DPMS ... no
Checking for Xv ... auto
Checking for XvMC ... no
Checking for Video Decode Acceleration (VDA) ... no
Checking for VDPAU ... auto
Checking for Xinerama ... auto
Checking for Xxf86vm ... auto
Checking for XF86keysym ... auto
Checking for DGA ... no
Checking for xmga ... no
Checking for 3dfx ... no
Checking for VIDIX ... yes
Checking for VIDIX PCI device name database ... yes
Checking for VIDIX dhahelper support ... no
Checking for VIDIX svgalib_helper support ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... yes
Checking for PNG support ... no
Checking for MNG support ... no
Checking for JPEG support ... no
Checking for OpenJPEG (JPEG 2000) support ... no (dynamic linking to libopenjpeg is irrelevant when using dynamic FFmpeg)
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for SDL image ... no
Checking for OpenGL ... no
Checking for MatrixView ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... yes
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for NAS ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for sndio audio ... no
Checking for VCD support ... yes
Checking for Blu-ray support ... no
Checking for dvdread ... no
Checking for libcdio ... no
Checking for cdparanoia ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... no
Checking for fontconfig ... no (FreeType support needed)
Checking for fribidi with charsets ... no
Checking for SSA/ASS support ... no (FreeType and FriBiDi support needed)
Checking for ENCA ... no
Checking for zlib ... no
Checking for bzlib ... no
Checking for RTC ... yes
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... no
Checking for libspeex (version >= 1.1 required) ... no
Checking for libgsm ... no
Checking for OggTheora support ... no
Checking for mpg123 support ... no
Checking for liba52 support ... no
Checking for libmpeg2 support ... no
Checking for libdca support ... no
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... no (in FFmpeg: no)
Checking for FAAD2 support ... no
Checking for libilbc support ... no
Checking for libopus decoding support ... no
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... no
Checking for Win32 codecs ... no
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... yes (dynamic loader support needed)
Checking for QuickTime codecs ... auto
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for RTMPDump Streaming Media library ... no
Checking for FFmpeg ... Compiling without FFmpeg is currently not supported/working.
Please contact us if that is an issue for you.

Error: both internal and external FFmpeg missing

Check "config.log" if you do not understand why it failed.

Attachments (1)

config.log (216.5 KB ) - added by eigscourtney 6 years ago.

Download all attachments as: .zip

Change History (2)

by eigscourtney, 6 years ago

Attachment: config.log added

comment:1 by reimar, 6 years ago

Resolution: fixed
Status: newclosed

Fixed, but note that --enable options disable all auto-detection which if things like include paths etc, so that might not be what you want anyway...

Note: See TracTickets for help on using tickets.