[Apple TV 2] Build XBMC under 10.7.4 / Xcode 4.3 - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: iOS support (/forumdisplay.php?fid=137)
+---- Thread: [Apple TV 2] Build XBMC under 10.7.4 / Xcode 4.3 (/showthread.php?tid=131342)
Build XBMC under 10.7.4 / Xcode 4.3 - Cranial - 2012-05-12 01:58
Just for my own amusement, I've been trying to build XBMC for iOS/ATV2 under Lion 10.7.4 and Xcode 4.3.
Xcode 4.3 has moved to everything being wrapped up in a .app and is now located in /Applications. There is no /Developer anymore.
This is how it's gone so far:
First up I was getting errors of autoconf not found. Realised that autoconf, automake, lib tool and stuff are no longer packaged with Xcode. I'm sure there's reasons for this, and I'm also none of those reasons help us end users in any way.....
Did some googling, and found a guide for installing the latest versions of these tools from source on 10.6.8, and luckily this script works for 10.7.4.
Got it from here: Install tools - How-to
Basically this is the script:
So after getting these tools installed I managed to progress a little further.
Next issue I realised that the build scripts and what not all look for /Developer, and as this no longer exists we had a problem. To solve this I symlinked /Developer to /Applications/Xcode.app/Contents/Developer .
This got me further.
So with all of this I've managed to get to make xcode_depends but during that process it errors out with:
Well, that's as far as I've gotten so far. Run out of time to investigate any further for now, but thought maybe this info would be useful to anyone else messing around with it.
And of course, any of the steps I've done come with a zero responsibility guarantee... if your computer breaks, your cat dies, or your ear gets itchy, it isn't my fault!
RE: Build XBMC under 10.7.4 / Xcode 4.3 - davilla - 2012-05-12 02:08
Pull mainline and rebuild depends. It will take care of all that for you now. Xcode3/Xcode4 support under 10.6 sdk has just been added.
RE: Build XBMC under 10.7.4 / Xcode 4.3 - Cranial - 2012-05-12 02:12
Wow, I just can't keep up with you guys. Awesome, I'll give it a go.
Wait, so you're saying all the steps are unnecessary now? As in autoconf and symlinking /Developer and stuff ?
RE: Build XBMC under 10.7.4 / Xcode 4.3 - davilla - 2012-05-12 04:21
(2012-05-12 02:12)Cranial Wrote: Wow, I just can't keep up with you guys. Awesome, I'll give it a go.
Yep, the depends bootstrap will build autoconfig if needed and find Xcode and it's SDKs.
RE: Build XBMC under 10.7.4 / Xcode 4.3 - Cranial - 2012-05-12 06:00
(2012-05-12 04:21)davilla Wrote: Yep, the depends bootstrap will build autoconfig if needed and find Xcode and it's SDKs.
Awesome. Didn't think this would happen so quickly with all the other merges to mainline and everything happening right now.
Thanks for your work Davilla.
RE: Build XBMC under 10.7.4 / Xcode 4.3 - Cranial - 2012-05-12 06:26
Just cleaned up all of my previous stuff, removing autconf and the symlink so I could test it out clean.
Now errors out with this:
I'm guessing help2man is going to be needed to be added to the requirements?
RE: Build XBMC under 10.7.4 / Xcode 4.3 - davilla - 2012-05-12 07:26
help2man is already there, make clean in tools/darwin/depends 1st.
RE: Build XBMC under 10.7.4 / Xcode 4.3 - davilla - 2012-05-12 07:37
make sure you install xcode's command-line tools.
you might also need to do
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
RE: Build XBMC under 10.7.4 / Xcode 4.3 - Cranial - 2012-05-12 08:48
Thanks for your time Davilla,
For some reason clean isn't working on depends, I'll have to try to nut out what I've messed up. Might just end up dumping the source and starting completely fresh. But for now, yes, it's all my errors
RE: Build XBMC under 10.7.4 / Xcode 4.3 - davilla - 2012-05-12 15:54
make distclean is the big nuke in depends.
both make clean and make distclean always works, if not, I'd like to see your errors.