RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
596 stars 110 forks source link

Building On Mac #114

Closed plasticrake closed 4 years ago

plasticrake commented 8 years ago

Trying to build on Mac OSX 10.11.5.

Are there any build instructions? The README-BUILD-PLEX.md hasn't been updated and still references https://github.com/plexinc/plex-home-theater. And the Wiki has instructions for Ubuntu.

I tried running cmake but I'm getting an issue when its downloading the dependences. I noticed that the URL it is using doesn't exist and only has files for 10.9.

Where do I go from here? Thanks!

cmake -DCMAKE_BUILD_TYPE=Debug -DCOMPRESS_TEXTURES=on -DUSE_INTERNAL_FFMPEG=off -DENABLE_AUTOUPDATE=off -DCMAKE_INSTALL_PREFIX=/opt/openpht "../OpenPHT"

...

-- Selected OSX SDK '10.11'
-- Getting depends for osx10.11-x86_64 (xbmc-2cd23a93 ffmpeg-0b36ed45)
-- Missing plex/Dependencies/built-depends/macosx10.11_x86_64-xbmc-2cd23a93.tar.xz
-- Fetching http://sources.openpht.tv/plex-dependencies/macosx10.11_x86_64-xbmc-2cd23a93.tar.xz
-- Fetching http://sources.openpht.tv/plex-dependencies/macosx10.11_x86_64-ffmpeg-0b36ed45.tar.xz
-- Unpacking macosx10.11_x86_64-xbmc-2cd23a93.tar.xz
gtar: This does not look like a tar archive
xz: (stdin): File format not recognized
gtar: Child returned status 1
gtar: Error is not recoverable: exiting now
mv: rename plex/Dependencies/macosx10.11_x86_64 to plex/Dependencies/macosx10.11_x86_64-xbmc-2cd23a93: No such file or directory
-- Unpacking macosx10.11_x86_64-ffmpeg-0b36ed45.tar.xz
gtar: This does not look like a tar archive
xz: (stdin): File format not recognized
gtar: Child returned status 1
gtar: Error is not recoverable: exiting now
mv: rename plex/Dependencies/ffmpeg-macosx10.11_x86_64 to plex/Dependencies/macosx10.11_x86_64-ffmpeg-0b36ed45: No such file or directory
-- Done with dependencies
CMake Error at plex/Dependencies/CMakeLists.txt:50 (message):
  Couldn't fetch dependencies
  /Users/Patrick/Code/github/OpenPHT/plex/Dependencies/macosx10.11_x86_64-xbmc-2cd23a93
  /Users/Patrick/Code/github/OpenPHT/plex/Dependencies/macosx10.11_x86_64-ffmpeg-0b36ed45

-- Configuring incomplete, errors occurred!
See also "/Users/Patrick/Code/github/OpenPHT-build/CMakeFiles/CMakeOutput.log".
See also "/Users/Patrick/Code/github/OpenPHT-build/CMakeFiles/CMakeError.log".
ndbroadbent commented 7 years ago

@plasticrake Did you ever figure out how to compile this?

I'm trying to contribute a small change, but it's really hard to figure out compiling on OSX.

I might just have to use a Ubuntu VM