Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Morgan Mac

macrumors regular
Original poster
Jul 24, 2011
111
3
I'm having difficulties installing mpv on 10.9.
I'm using a step-by-step guide on this webpage.

1. Install latest version of Xcode [done].
2. Install 'command line tools' [not done].
Code:
xcode-select --install
g4Txi7W.png


So it appears the 'command line tools' are not available anymore. This is the first obstacle.
 
If you have homebrew installed you already installed it. If you don't, install homebrew, the guide says you need it anyways!
 
If you have homebrew installed you already installed it. If you don't, install homebrew, the guide says you need it anyways!

Yeah I just figured this out. Now I'm stuck on linking jpeg.

Code:
==> Installing dependencies for mpv: jpeg, libtiff, little-cms2
==> Installing mpv dependency: jpeg
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.mav
Already downloaded: /Library/Caches/Homebrew/jpeg-8d.mavericks.bottle.2.tar.gz
==> Pouring jpeg-8d.mavericks.bottle.2.tar.gz
Warning: Could not link jpeg. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link jpeg'

Possible conflicting files are:
/usr/local/lib/libjpeg.dylib -> /usr/local/lib/libjpeg.62.dylib
/usr/local/lib/libjpeg.a
==> Summary
# /usr/local/Cellar/jpeg/8d: 18 files, 780K
Error: You must `brew link jpeg' before libtiff can be installed

'brew link jpeg' give me this message

Code:
Linking /usr/local/Cellar/jpeg/8d... Warning: Could not link jpeg. Unlinking...

Error: Could not symlink file: /usr/local/Cellar/jpeg/8d/lib/libjpeg.dylib
Target /usr/local/lib/libjpeg.dylib already exists. You may need to delete it.
To force the link and overwrite all other conflicting files, do:
  brew link --overwrite formula_name

To list all files that would be deleted:
  brew link --overwrite --dry-run formula_name
 
It's possible you installed that dylib as a part of another install. I would back it up to another location, delete it and run the command again.
 
copy the dylib somewhere...your desktop for example.

cp /usr/local/lib/libjpeg.dylib ~/Desktop/libjpeg.dylib
rm /usr/local/lib/libjpeg.dylib

then run the command again.

If you need to put it back, just reverse the arguments of the first command.
 
copy the dylib somewhere...your desktop for example.

cp /usr/local/lib/libjpeg.dylib ~/Desktop/libjpeg.dylib
rm /usr/local/lib/libjpeg.dylib

then run the command again.

If you need to put it back, just reverse the arguments of the first command.

Moved. Running 'brew link jpeg' again shows this error

Code:
Linking /usr/local/Cellar/jpeg/8d... Warning: Could not link jpeg. Unlinking...

Error: Could not symlink file: /usr/local/Cellar/jpeg/8d/lib/libjpeg.a
Target /usr/local/lib/libjpeg.a already exists. You may need to delete it.
To force the link and overwrite all other conflicting files, do:
  brew link --overwrite formula_name

To list all files that would be deleted:
  brew link --overwrite --dry-run formula_name
 
Ignore that last post. I removed all potential problems, and linked the jpeg. Using 'brew doctor', I get the 'your system is ready to brew' message. So every step has been achieved [xcode, homebrew, dependencies] but for the actual installation of mpv.

Using 'brew install mpv', I get the message:
Code:
Error: No available formula for mpv 
Searching taps...

And that's it. I don't know how to advance with this problem. Everything seems in check.
 
I sorted the previous problem with
Code:
brew tap --repair

Now surely the last thing to do is compile the source code --with-bundle.
Anyone know how to do this?

Code:
mpv: stable 0.3.0, HEAD
https://github.com/mpv-player/mpv
/usr/local/Cellar/mpv/0.3.0 (11 files, 2.2M) *
  Built from source
From: https://github.com/mpv-player/homebrew/commits/master/Library/Formula/mpv.rb
==> Dependencies
Build: mpv-player/mpv/waf ✔, pkg-config ✔
Required: mpv-player/mpv/libass-ct ✔, ffmpeg ✔
Recommended: mpg123 ✔, jpeg ✔
Optional: libcaca ✘, libbs2b ✘, libquvi ✔, libdvdread ✔, little-cms2 ✘, lua ✔, libbluray ✘, libaacs ✘
==> Options
--with-bundle
	Create a Mac OSX Application Bundle alongside the CLI version of mpv.
--with-jackosx
	Build with jackosx support.
--with-libaacs
	Build with libaacs support
--with-libav
	Build against libav instead of ffmpeg.
--with-libbluray
	Build with libbluray support
--with-libbs2b
	Build with libbs2b support
--with-libcaca
	Build with libcaca support
--with-libdvdread
	Build with libdvdread support
--with-libquvi
	Build with libquvi support
--with-little-cms2
	Build with little-cms2 support
--with-lua
	Build with lua support
--with-official-libass
	Use official version of libass (instead of experimental CoreText based branch)
--with-x11
	Build with x11 support
--without-jpeg
	Build without jpeg support
--without-mpg123
	Build without mpg123 support
--HEAD
	install HEAD version
==> Caveats
mpv requires an up to date version of ffmpeg to have complete features.
Unfortunately the homebrew team wants to keep support for ****** software
that depends on ffmpeg oldstable (1.2). This prevents mpv from activating
some features like VDA and many others.

If this is important to you I suggest you complain to the homebrew team
or install ffmpeg with `brew install --HEAD ffmpeg`.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.