Issues Installing Required MacPorts Libraries...

I have been trying to compile Plex on my own and have not been able to successfully build yet. I did build the older XBMC fork, but I have been getting errors when trying to build the v0.5 branch.



I have followed the instructions on the “How to Compile” page, but have had some issues installing certain MacPorts. This is the first project that I have tried to compile that relies on these libraries. I have tried to solve these issues on my own, but have not been able for a few days. I am posting this as a last resort, and maybe help other users that may be having the same issues when trying to install as per the instructions.



First off, MacPorts would installed v3.2 of Samba which right now will not work with the current build. I had to install an older version of Samba manually using the instructions posted on another thread here.



Also, some of the libraries seem to be dependant on XFree86. I recieve an error everytime I try to install a port that needs XFree86…


--->  Fetching XFree86<br />
Error: Target org.macports.fetch returned: <br />
<br />
					You have an Apple X11 installation already.<br />
						MacPorts will not overwrite it.<br />
<br />
					If you wish to use Apple X11,<br />
						install the X11SDK included with Xcode tools.<br />
<br />
					If you really want to use XFree86 instead,<br />
						please move it aside first :<br />
<br />
							sudo mv /usr/X11R6 /usr/X11R6.apple<br />
				<br />
Error: The following dependencies failed to build: libsdl XFree86 libvorbis smpeg<br />
Error: Status 1 encountered during processing.


I have renamed the "/usr/X11" folder to "/usr/X11.apple", restarted, and the error still occurs. Any suggestions?

Lastly, if I want to pull the latest branch, what commands do I tell git?

Thanks for the help!

If you haven’t already, try the instructions here: http://elan.plexapp.com/2008/06/02/use-the-source-luke/



Let me know if you have any issues with it! We need to pull these instructions into the wiki.

OK, I have solved some issues and yet there are still some more when compiling…



I guess I can change some of the casts, but I was just wondering if I had something else wrong…



/Users/justin/plex/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp:483: error: integer constant is too large for 'long' type<br />
/Users/justin/plex/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp:485: error: integer constant is too large for 'long' type<br />
/Users/justin/plex/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp:532: error: integer constant is too large for 'long' type<br />
...<br />
...<br />
/Users/justin/plex/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp:483: error: 'INT64_C' was not declared in this scope<br />
/Users/justin/plex/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp:532: error: 'INT64_C' was not declared in this scope<br />
/Users/justin/plex/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp:540: error: 'INT64_C' was not declared in this scope<br />
...<br />
...

Are you using the latest iPhone SDK version of XCode?


XCode 3.1 (Beta)

Component versions
Xcode IDE: 1037.0
Xcode Core: 1036.0
ToolSupport: 1024.0

Try this:



$ xcodebuild -parallelizeTargets -target Plex -project Plex.xcodeproj -configuration Debug



And feel free to hit me up on IM if you have any other problems: leafmunchersrule on AIM

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.