Skip to content

Instantly share code, notes, and snippets.

@Macarse
Created September 26, 2011 03:09
Show Gist options
  • Save Macarse/1241535 to your computer and use it in GitHub Desktop.
Save Macarse/1241535 to your computer and use it in GitHub Desktop.
brew install -v mplayer
==> Downloading ftp://ftp.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc4.tar.bz2
File already downloaded in /Users/macarse/Library/Caches/Homebrew
/usr/bin/tar xf /Users/macarse/Library/Caches/Homebrew/mplayer-1.0rc4.tar.bz2
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-249; Mac OS X 10.7.1) https://raw.github.com/gist/1105164/704c64c97ab7ffcc3e5f69b1c5d4fb0850f572c1/vd_mpng.c.diff -o 001-homebrew.diff
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file libmpcodecs/vd_mpng.c
==> ./configure --prefix=/usr/local/Cellar/mplayer/1.0rc4 --disable-cdparanoia
./configure --prefix=/usr/local/Cellar/mplayer/1.0rc4 --disable-cdparanoia
Checking for gcc version ... 4.2.1
Detected operating system: Darwin
Detected host architecture: x86_64
Checking for host cc ... gcc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:23:10)
Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
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 ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... core2
Checking for byte order ... little-endian
Checking for extern symbol prefix ... _
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for GCC support of -mstackrealign ... no
Checking for .align is a power of two ... no
Checking for 10 assembler operands ... no
Checking for ebx availability ... no
Checking for PIC ... yes
Checking for yasm ... yasm
Checking for bswap ... yes
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... no
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 posix4 ... no
Checking for exp2 ... no
Checking for exp2f ... no
Checking for llrint ... no
Checking for llrintf ... yes
Checking for log2 ... no
Checking for log2f ... no
Checking for lrint ... no
Checking for lrintf ... yes
Checking for round ... no
Checking for roundf ... no
Checking for truncf ... no
Checking for mkstemp ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for netdb.h, struct addrinfo ... yes
Checking for netdb.h, getaddrinfo() ... no
Checking for sockaddr_storage ... yes
Checking for struct ipv6_mreq ... yes
Checking for struct sockaddr_in6 ... yes
Checking for struct sockaddr sa_len ... yes
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... no
Checking for inet_aton() ... no
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for network ... no
Checking for inet6 ... no
Checking for gethostbyname2 ... no
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... no
Checking for malloc.h ... no
Checking for memalign() ... no
Checking for posix_memalign() ... no
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for hard-coded tables ... no
Checking for mman.h ... no
Checking for dynamic loader ... no
Checking for dynamic a/v plugins support ... no
Checking for pthread ... no (v4l, v4l2, ao_nas, win32 loader disabled)
Checking for w32threads ... no
Checking for rpath ... no
Checking for iconv ... no
Checking for soundcard.h ... no
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... no
Checking for dvd.h ... no
Checking for termcap ... no
Checking for termios ... yes (using termios.h)
Checking for shm ... no
Checking for strsep() ... no
Checking for vsscanf() ... no
Checking for swab() ... no
Checking for POSIX select() ... no
Checking for audio select() ... yes
Checking for gettimeofday() ... no
Checking for glob() ... no
Checking for setenv() ... no
Checking for setmode() ... no
Checking for sys/sysinfo.h ... no
Checking for Mac OS X Finder Support ... no
Checking for Mac OS X Bundle file locations ... no
Checking for Apple Remote ... no
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... 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 ... yes (using /usr/X11/include)
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 ... no
Checking for XvMC ... no
Checking for VDPAU ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for XF86keysym ... no
Checking for DGA ... no
Checking for 3dfx ... no
Checking for VIDIX ... 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 ... no
Checking for DVB ... no
Checking for QuickTime ... no
Checking for Quartz ... no
Checking for CoreVideo ... yes
Checking for PNG support ... no
Checking for MNG support ... no
Checking for JPEG support ... no
Checking for OpenJPEG (JPEG2000) support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... 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 ... no
Checking for OSS Audio ... no
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 CoreAudio ... yes
Checking for VCD support ... yes
Checking for Blu-ray support ... no
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... no (iconv support needed)
Checking for fontconfig ... no (FreeType support needed)
Checking for SSA/ASS support ... no (FreeType support needed)
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... no
Checking for bzlib ... no
Checking for RTC ... no
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for libgsm ... no
Checking for OggTheora support ... no
Checking for mp3lib support ... yes
Checking for mpg123 support ... no
Checking for liba52 support ... no
Checking for libmpeg2 support ... yes (internal)
Checking for libdca support ... no
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... no (in libavcodec: no)
Checking for FAAD2 support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... no
Checking for Win32 codecs ... no
Checking for XAnim codecs ... no (dynamic loader support needed)
Checking for RealPlayer codecs ... no (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 libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for FFmpeg libswscale ... yes (static)
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for libopencore_amr narrowband ... no
Checking for libopencore_amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for Xvid ... no
Checking for Xvid two pass plugin ... no
Checking for x264 ... no (in libavcodec: no)
Checking for libdirac ... no
Checking for libschroedinger ... no
Checking for libvpx ... no
Checking for libnut ... no
Checking for zr ... no
Checking for libmp3lame ... no (in libavcodec: no)
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... no
Checking for ftp ... no
Checking for vstream client ... no
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... no
Checking for linker support for --nxcompat --no-seh --dynamicbase ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... yes (internal)
Creating config.mak
Creating config.h
Config files successfully generated by ./configure --prefix=/usr/local/Cellar/mplayer/1.0rc4 --disable-cdparanoia !
Install prefix: /usr/local/Cellar/mplayer/1.0rc4
Data directory: /usr/local/Cellar/mplayer/1.0rc4/share/mplayer
Config direct.: /usr/local/Cellar/mplayer/1.0rc4/etc/mplayer
Byte order: little-endian
Optimizing for: core2
Languages:
Messages/GUI: en
Manual pages: en
Documentation: en
Enabled optional drivers:
Input: dvdnav(internal) tv libdvdcss(internal) dvdread(internal) vcd
Codecs: libavcodec(internal) faad2(internal) libmpeg2(internal) mp3lib(internal) tremor(internal)
Audio output: coreaudio mpegpes(file)
Video output: pnm corevideo mpegpes(file) yuv4mpeg md5sum tga
Disabled optional drivers:
Input: vstream ftp pvr radio tv-v4l2 tv-v4l1 tv-dshow librtmp live555 nemesi cddb cdda bluray dvb smb network
Codecs: libvpx libschroedinger libdirac x264 xvid libdv libopencore_amrwb libopencore_amrnb qtx real xanim win32 faac musepack libdca liba52 mpg123 libtheora libgsm speex toolame twolame libmad liblzo gif OpenJPEG
Audio output: sun alsa openal jack pulse nas esd arts oss v4l2 ivtv dxr2 sdl
Video output: zr zr2 xmga mga v4l2 ivtv dxr3 dxr2 matrixview opengl sdl vesa gif89a jpeg quartz fbdev svga caca aa ggi xvidix winvidix cvidix 3dfx dga vdpau xvmc xv x11 dfbmga directfb bl xvr100 tdfx_vid wii s3fb tdfxfb
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
compile *** DO NOT REPORT BUGS if you tweak these files ***
'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
Please check mtrr settings at /proc/mtrr (see DOCS/HTML//video.html#mtrr)
NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your
operating system (Darwin). You may encounter a few files that cannot
be played due to missing open source video/audio codec support.
Check config.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).
NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.
If you suspect a bug, please read DOCS/HTML//bugreports.html.
==> make
make
help/help_create.sh help/help_mp-en.h UTF-8
./version.sh `gcc -dumpversion`
gcc -O -DCODECS2HTML -I. -o codec-cfg codec-cfg.c
In file included from libmpdemux/aviheader.h:23,
from codec-cfg.c:57:
/usr/include/stdint.h:71: error: conflicting types for 'int_fast16_t'
config.h:45: error: previous declaration of 'int_fast16_t' was here
/usr/include/stdint.h:75: error: conflicting types for 'uint_fast16_t'
config.h:49: error: previous declaration of 'uint_fast16_t' was here
gcc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=core2 -mtune=core2 -pipe -ffast-math -fomit-frame-pointer -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=core2 -mtune=core2 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -DPIC -I/usr/X11/include -c -o command.o command.c
gcc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=core2 -mtune=core2 -pipe -ffast-math -fomit-frame-pointer -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=core2 -mtune=core2 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -DPIC -I/usr/X11/include -c -o m_property.o m_property.c
In file included from /usr/include/inttypes.h:247,
from m_property.c:27:
/usr/include/stdint.h:71: error: conflicting types for 'int_fast16_t'
config.h:45: error: previous declaration of 'int_fast16_t' was here
/usr/include/stdint.h:75: error: conflicting types for 'uint_fast16_t'
config.h:49: error: previous declaration of 'uint_fast16_t' was here
In file included from command.c:24:
config.h:45: error: conflicting types for 'int_fast16_t'
/usr/include/stdint.h:71: error: previous declaration of 'int_fast16_t' was here
config.h:49: error: conflicting types for 'uint_fast16_t'
/usr/include/stdint.h:75: error: previous declaration of 'uint_fast16_t' was here
make: *** [m_property.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from libmpdemux/aviheader.h:26,
from libmpdemux/stheader.h:23,
from command.c:29:
./mpbswap.h:27: warning: redundant redeclaration of 'swab'
/usr/include/string.h:172: warning: previous declaration of 'swab' was here
command.c: In function 'mp_property_metadata':
command.c:554: warning: assignment discards qualifiers from pointer target type
command.c: In function 'mp_property_tv_color':
command.c:1871: warning: cast from pointer to integer of different size
command.c:1873: warning: cast from pointer to integer of different size
command.c:1876: warning: cast from pointer to integer of different size
command.c:1882: warning: cast from pointer to integer of different size
command.c: In function 'mp_property_teletext_common':
command.c:1895: warning: cast from pointer to integer of different size
command.c: In function 'mp_property_teletext_mode':
command.c:1943: warning: cast from pointer to integer of different size
make: *** [command.o] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/mplayer.rb#L36
==> Environment
/usr/bin/gcc
HOMEBREW_VERSION: 0.8
HEAD: ffe9515ccbd71332e679954916328a88f9ae9b91
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.7.1
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.2
GCC-4.0: N/A
GCC-4.2: build 401 (5664 or newer recommended)
LLVM: build 2336
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS:
CXXFLAGS:
MAKEFLAGS: -j2
Error: Failed executing: make
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment