Build XBMC under 10.7.4 / Xcode 4.3 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137) +---- Thread: 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 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: Code: curl -O http://mirrors.kernel.org/gnu/m4/m4-1.4.13.tar.gz 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: Code: /usr/bin/ranlib: file: dllloader.a(ldt_keeper.o) has no symbols 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 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 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 (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 (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 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: Code: Making all in man 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 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 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 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 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. RE: Build XBMC under 10.7.4 / Xcode 4.3 - Cranial - 2012-05-13 (2012-05-12, 15:54)davilla Wrote: make distclean is the big nuke in depends. I've run make distclean in depends. Then git pull in xbmc. I get to ./bootstrap and error out with this: Code: Making all in man I'm a bit lost now? If I install autoconf, automake etc. myself I get a lot further but error out during make xcode_depends (sorry, haven't got the error saved, it take a while to re run all of this). *edit* With autoconf already installed, I get this far: Code: checking for a thread-safe mkdir -p... ../build-aux/install-sh -c -d I'm sure the issues are somehow my fault with all the uneducated messing around I've been doing on my system. *edit 2* Noticed some related commits have just gone through, I'll make distclean and start again. RE: Build XBMC under 10.7.4 / Xcode 4.3 - Cranial - 2012-05-14 Okay, dumped my install of autoconf, automate, m4 and libtool. Ran distclean on depends. Git pull. First run of of ./bootstrap errors out on autoconf/help2man. Ran ./bootstrap again and all good. configure runs fine. make errors out with this: Code: tar xf /Users/Shared/xbmc-depends/tarballs/libcdio-0.82.tar.gz RE: Build XBMC under 10.7.4 / Xcode 4.3 - g-off - 2012-05-14 I may be pointing out the obvious here but maybe tarball is broken and needs to be downloaded again? Try doing a tar tvf /Users/Shared/xbmc-depends/tarballs/libcdio-0.82.tar.gz and see if it freaks out RE: Build XBMC under 10.7.4 / Xcode 4.3 - Cranial - 2012-05-14 I'm such a dumbass, I'm sure I'd tried that, but obviously missed it. Thanks g-off. Sometimes the obvious isn't that obvious. RE: Build XBMC under 10.7.4 / Xcode 4.3 - davilla - 2012-05-14 remember, things are still in flux as we hunt down local differences. |