mpv-player / homebrew-mpv

☠️ Merged into the main Homebrew repo (was: mpv related formulas for the Homebrew package manager)
http://mpv.io
175 stars 33 forks source link

Failed to build mpv from Homebrew with extra arguments. #98

Closed terry182 closed 7 years ago

terry182 commented 7 years ago

Currently I tried to upgrade mpv with --with-libaacs and --with-bundle via homebrew and Unable to find either POSIX or MinGW-w64 environment, or compiler does not work. pop up.

But so far I found that installing mpv alone is all fine. The log is pasted down below, hope this helps.

Thanks.

2016-12-07 10:46:28 +0800

python3
waf
configure
--prefix=/usr/local/Cellar/mpv/0.22.0_1
--enable-zsh-comp
--enable-libmpv-shared
--confdir=/usr/local/etc/mpv
--datadir=/usr/local/Cellar/mpv/0.22.0_1/share/mpv
--mandir=/usr/local/Cellar/mpv/0.22.0_1/share/man
--docdir=/usr/local/Cellar/mpv/0.22.0_1/share/doc/mpv
--zshdir=/usr/local/Cellar/mpv/0.22.0_1/share/zsh/site-functions

Setting top to                           : /private/tmp/mpv-20161207-25528-d62enl/mpv-0.22.0 
Setting out to                           : /private/tmp/mpv-20161207-25528-d62enl/mpv-0.22.0/build 
Checking for waf version in 1.8.4-1.9.0  : ok 
Checking for program 'cc'                : clang 
Checking for program 'pkg-config'        : /usr/local/opt/pkg-config/bin/pkg-config 
Checking for program 'ar'                : /usr/bin/ar 
Checking for program 'perl'              : /usr/bin/perl 
Checking for program 'rst2html'          : /usr/local/opt/docutils/bin/rst2html.py 
Checking for program 'rst2man'           : /usr/local/opt/docutils/bin/rst2man.py 
Checking for program 'rst2pdf'           : not found 
Checking for program 'windres'           : not found 
Checking for 'clang' (C compiler)        : clang 
Detected target OS:                      : os-darwin 
Checking for compiler flags -Werror=implicit-function-declaration : no 
Checking for compiler flags -Wno-error=deprecated-declarations    : no 
Checking for compiler flags -Wno-error=unused-function            : no 
Checking for compiler flags -Wempty-body                          : no 
Checking for compiler flags -Wdisabled-optimization               : no 
Checking for compiler flags -Wstrict-prototypes                   : no 
Checking for compiler flags -Wno-format-zero-length               : no 
Checking for compiler flags -Werror=format-security               : no 
Checking for compiler flags -Wno-redundant-decls                  : no 
Checking for mpv CLI player                                       : yes 
Checking for shared library                                       : yes 
Checking for static library                                       : disabled 
Checking for static build                                         : disabled 
Checking for whether to include binary compile time               : yes 
Checking for whether to optimize                                  : yes 
Checking for whether to compile-in debugging information          : yes 
Checking for manpage generation                                   : yes 
Checking for html manual generation                               : disabled 
Checking for pdf manual generation                                : disabled 
Checking for dynamic loader                                       : no 
Checking for dlopen                                               : not found any of os-win32, os-cygwin, libdl 
Checking for compilation of default filters for vf_dlopen         : disabled 
Checking for zsh completion                                       : yes 
Checking for inline assembly (currently without effect)           : yes 
Checking for test suite (using cmocka)                            : disabled 
Checking for generate a clang compilation database                : disabled 
Checking for compiler support for noexecstack                     : no 
Checking for linker support for --nxcompat --no-seh --dynamicbase : no 
Checking for -lm                                                  : no 
Checking for MinGW                                                : os-win32 not found 
Checking for POSIX environment                                    : no 
Checking for fnmatch()                                            : no 
Checking for development environment                              : not found any of mingw, posix 
Unable to find either POSIX or MinGW-w64 environment, or compiler does not work.

HOMEBREW_VERSION: 1.1.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 0f529dae1043639058130092cf35e68d18907cb8
Last commit: 9 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c032ffc696ffa1c7f21b97f336b8023a21ebcb7c
Core tap last commit: 9 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 7.3 build 703
Git: 2.7.4 => /Library/Developer/CommandLineTools/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: N/A
macOS: 10.11.6-x86_64
Xcode: 8.1
CLT: 7.3.1.0.1.1461711523
X11: N/A

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/libffi:/usr/local/opt/icu4c:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python3/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/fribidi/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/gobject-introspection/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/harfbuzz/lib/pkgconfig:/usr/local/opt/libass/lib/pkgconfig:/usr/local/opt/x264/lib/pkgconfig:/usr/local/opt/ffmpeg/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/little-cms2/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/libaacs/lib/pkgconfig:/usr/local/opt/python3/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/pkg-config/bin:/usr/local/opt/docutils/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/gettext/bin:/usr/local/opt/pcre/bin:/usr/local/opt/glib/bin:/usr/local/opt/fribidi/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/cairo/bin:/usr/local/opt/gobject-introspection/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/harfbuzz/bin:/usr/local/opt/lame/bin:/usr/local/opt/x264/bin:/usr/local/opt/ffmpeg/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/little-cms2/bin:/usr/local/opt/lua/bin:/usr/local/opt/youtube-dl/bin:/usr/local/opt/libgpg-error/bin:/usr/local/opt/libgcrypt/bin:/usr/local/opt/libaacs/bin:/usr/local/opt/python3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/var/pyenv/versions/3.5.2/bin
terry182 commented 7 years ago

Problem no longer exists in version 0.23.0