[MAC] Can't compile SVN r13834 due to python on OSX - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: [MAC] Can't compile SVN r13834 due to python on OSX (/showthread.php?tid=34411) Pages:
1
2
|
[MAC] Can't compile SVN r13834 due to python on OSX - EvilDude - 2008-06-29 The osx xcodeproj seems to be out of date, and I am not sure if it compiles anymore even after fixing the problems. First of all, the readme.osx file needs to mention that you now need to sudo port install boost The xcodeproj file has some links to cpp files which are missing which I am manually deleting at the moment too. Anyway the big problem is that I cannot get it to compile after all this, http://pastebin.ca/1057817 It seems to be a problem with finding pyconfig.h which is in /opt/local/include/python2.4/pyconfig.h (I created the link as the readme said). Is there anything else that needs to be done to get it compiling on osx? - d4rk - 2008-07-01 This was fixed yesterday. Try the latest SVN and see if the problem persists. - EvilDude - 2008-07-06 Tried again, http://pastebin.ca/1063748 The python build stage seemed to run successfully though (build python output, http://pastebin.ca/1063735) I have a similar problem... - vertigomx - 2009-01-08 Hi, it looks this is related to your problem, this is what I get when I tried to compile the python project: sed: pyconfig.h: No such file or directory sed: pyconfig.h: No such file or directory sed: pyconfig.h: No such file or directory sed: pyconfig.h: No such file or directory sed: pyconfig.h: No such file or directory sed: pyconfig.h: No such file or directory sed: pyconfig.h: No such file or directory cp: pyconfig.h: No such file or directory /Users/vertigo/XBMC/build/XBMC.build/Debug/build python.build/Script-882630930E1B6FAD00DC9524.sh: line 20: /usr/bin/make: No such file or directory /Users/vertigo/XBMC/build/XBMC.build/Debug/build python.build/Script-882630930E1B6FAD00DC9524.sh: line 21: /usr/bin/make: No such file or directory ar: ../libpython2.4.a: No such file or directory i686-apple-darwin9-gcc-4.0.1: tmp/*.o: No such file or directory cp: build/lib.macosx-10.4-i386-2.4/*.so: No such file or directory cp: output.so: No such file or directory Build succeeded (14 errors) I checked my installed python framework and I only have versions 2.3 and 2.5... I think its looking for 2.4, so i did this:
$ sudo ln -s /opt/local/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 /opt/local/include/python2.4 but same result, any ideas?? thanx in advance. - davilla - 2009-01-08 vertigomx Wrote:Hi, it looks this is related to your problem, this is what I get when I tried to compile the python project: you building from the XCode project or trying to build from command-line? - vertigomx - 2009-01-08 davilla Wrote:you building from the XCode project or trying to build from command-line? xCode sir. I've tried numerous ways to fix but still no luck. I think the root of the problem is - ar: ../libpython2.4.a: No such file or directory - error, but who knows. ideas? please. - davilla - 2009-01-08 vertigomx Wrote:xCode sir. I've tried numerous ways to fix but still no luck. I think the root of the problem is - ar: ../libpython2.4.a: No such file or directory - error, but who knows. no, you have errors before that too. your installed python framework does not matter, xbmc builds its own from source code. post your entire build results to http://www.pastebin.com and post the URL here. - vertigomx - 2009-01-09 Hi Davilla, thanx for your time. In total, i have 14 errors. I've noticed that two of the errors were that autom4te and make executables where missing from the /usr/bin/ folder. So I created a couple of aliases from the SDK folder and it fixed them. But I couldn't figure out the other 12 errors .. yet. Hope you can help. http://pastebin.com/m636e1854 Regards - davilla - 2009-01-09 vertigomx Wrote:Hi Davilla, thanx for your time. something does not smell correct. You should not have to make aliases for autom4te and make. They should already be present. Quote:/Developer/usr/bin/autoconf: line 582: /usr/bin/autom4te: No such file or directory you say you did make a symlink for /usr/bin/autom4te but it's still failing. That means configure will fail, pyconfig.h will not be created and everything goes to hell after that. I'd look into why autom4te and make were not present to being with. Solve that and python will build correctly. Build Problems with external player patch / xcode - tvont - 2009-01-10 @davilla maybe you can help me with a problem buiding the current sources within Xcode. So far, compiling works, but linking afterwards doesn't: collect2: ld returned 1 exit status "CExternalPlayer::CExternalPlayer(IPlayerCallback& )", referenced from: CPlayerCoreFactory::CreatePlayer(EPLAYERCORES, IPlayerCallback&) in PlayerCoreFactory.o ld: symbol(s) not found collect2: ld returned 1 exit status Maybe something is missing in the xcodeproject... Could you help, please? Thanks, TvT - davilla - 2009-01-10 tvont Wrote:@davilla start a new thread and don't hijack this one and I will - jmarshall - 2009-01-10 I've already fixed the above anyway (external player stuff) and will commit it shortly. - tvont - 2009-01-10 jmarshall Wrote:I've already fixed the above anyway (external player stuff) and will commit it shortly. Thanks! Builds fine now... BUT: I have a fast running XBMC w/o skin now (means open, empty window...) I built skins, TEX, after all built successfully, I built XBMC.app (which is ~102MB) Could anyone help with this, please? - davilla - 2009-01-10 tvont Wrote:Thanks! how are you launching XBMC - tvont - 2009-01-10 davilla Wrote:how are you launching XBMC From within Xcode by "run" or directly by doubleclicking the XBMC.app icon. If I run it directly by calling the executable, I get the following: /Applications/XBMC.app/Contents/MacOS/XBMC ; exit; sh: XBMC.app/Contents/Resources/XBMC/tools/preflight: No such file or directory Asking helper to start. QZ_SetVideoWindowed(720, 480) Using display 1535231424 XBOX360: Registering for notifications. Apple Infrared Remote not found. |