Problem compiling XBMC from SVN
#31
terrier2006 Wrote:I would really like to build from SVN and have been trying without success for over a week now. I followed initially the guide in the SVN download and despite a multitude of warnings it created a XBMC.app . I managed to run it on my mac but it was no go on the Apple TV.

I have some questions I have looked for the answers but cant find them so If anyone could help i would appreciate it.

First here is what I have done so far while trying to build this morning.

1) Checked out SVN saved to $HOME
2) Opened terminal and from $HOME/XBMC ran the following as per davilla's post #23 above

make clean
./configure
make externals more_libs

3) I then opened Xcode version 3.1.2 and I have the 10.4 SDK Installed
4) Opened the XBMC.xcodeproj file located in the $HOME/XBMC Folder
5) Set the projects -> edit active executable "XBMC" -> Arguments, bottom panel. Variables to be set in the environment to XBMC_HOME $SRCROOT
6) Changed the project tab settings to 10.4 | Debug | XBMC.app
7) Selected Build and Go

After all that the build failed with 19 errors the last being no file or directory exists in $HOME/XBMC/Build/Debug/XBMC

Any thoughts on the above process, are there any logs or other pieces of info that would help.

Also do I need a existing build of XBMC in the Debug folder I ask this as im not sure if the process updates existing builds or completely compiles a new build.

Thanks in advance

terrier

do "10.4 | Debug | XBMC" first.

Xcode will make the dirs required in it's build dir.

"ls -R" the build dir and pastebin it so I can see what you see.

pastebin the build results so I can see what you see.
Reply
#32
Thank you for your suggestions davilla. I started with a clean checkout and did what you suggested, the build failed and the build results are here

http://pastebin.com/m16b77c34

The Output of the build directory is here

http://pastebin.com/m3aff1971

Thanks again for your help

Terrier
Reply
#33
terrier2006 Wrote:Thank you for your suggestions davilla. I started with a clean checkout and did what you suggested, the build failed and the build results are here

http://pastebin.com/m16b77c34

The Output of the build directory is here

http://pastebin.com/m3aff1971

Thanks again for your help

Terrier

What you are seeing is standard svn churn where the build gets broken and fixed over time.

pull Changeset 17787. That version will build.
Reply
#34
Thank you davilla.

Ill give that a try.

Could you confirm how I pull a specific changeset, is it part of the checkout procedure in terminal?

Thanks

terrier

Worked it out, used svn checkout -r 17787 and it appeared to download that version. Ill try and build now.

Thanks again

Terrier
Reply
#35
At last im getting somewhere!!

I managed to build SVN Revision 17787 without too much trouble and it works like a charm on my mac.

However no go on the Apple TV. The startup screen appears breifly on the AppleTv but then it reboots.

Do I need to do anything specific to this build for the Apple TV.

So Close yet so far !!!

Thanks for all the help

Terrier
Reply
#36
terrier2006 Wrote:At last im getting somewhere!!

I managed to build SVN Revision 17787 without too much trouble and it works like a charm on my mac.

However no go on the Apple TV. The startup screen appears breifly on the AppleTv but then it reboots.

Do I need to do anything specific to this build for the Apple TV.

So Close yet so far !!!

Thanks for all the help

Terrier

Probably a MacPort lib built for 10.5 only problem. The reboot would certainly be annoying. ssh in and see if there is a crash log present. That might let us see which lib is the problem.

I ran a similar svn build on an AppleTV not too long ago and all was fine.

Builds for the AppleTV must be built from MacPorts with the ports installed +universal. This targets 10.4 sdk.

I'll take a look at cur svn and see what the problem is and fix it.
Reply
#37
each of the pastebin's is taken after the indicated step, as requested. Thanks.

make clean: http://pastebin.com/m8a33c33
./configure: http://pastebin.com/m50fc73b9
make externals more_libs: http://pastebin.com/m368eba5b
xcode XBMC: http://pastebin.com/m4e2e47a4
note the above step died with "Cant open output file for writing: .../Build/Debug/XBMC"; I created the directory by hand from the shell, and rebuilt
xcode XBMC + mkdir: http://pastebin.com/m48e9699b
xcode XBMC.app: http://pastebin.com/m3aca63a7
Reply
#38
jonm42 Wrote:each of the pastebin's is taken after the indicated step, as requested. Thanks.

make clean: http://pastebin.com/m8a33c33
./configure: http://pastebin.com/m50fc73b9
make externals more_libs: http://pastebin.com/m368eba5b
xcode XBMC: http://pastebin.com/m4e2e47a4
note the above step died with "Cant open output file for writing: .../Build/Debug/XBMC"; I created the directory by hand from the shell, and rebuilt
xcode XBMC + mkdir: http://pastebin.com/m48e9699b
xcode XBMC.app: http://pastebin.com/m3aca63a7

Something wrong here, I'm seeing the same thing in all the pastebin posts
Reply
#39
Swell. I'll try a complete fresh checkout in a different directory tonight and try this exercise again. Thanks for your persistence.
Reply
#40
I rebuilt it with the macports settings you suggested and still crashing on the Apple Tv

Here is the Crash Reporter Log

http://pastebin.mozilla.org/627144

And the XBMC log

http://pastebin.mozilla.org/627145

I hope you can help

Thanks

terrier
Reply
#41
Hi,

Can somebody compile a Mac version of XBMC with TuxBox Client fix ?

The patch is available here (dreambox.patch).
Reply
#42
After a fresh checkout into a clean directory, it WORKED. Thanks for all the help!
Reply
#43
terrier2006 Wrote:I rebuilt it with the macports settings you suggested and still crashing on the Apple Tv

Here is the Crash Reporter Log

http://pastebin.mozilla.org/627144

And the XBMC log

http://pastebin.mozilla.org/627145

I hope you can help

Thanks

terrier

from the crashreporter log

Quote:Symbol not found: _open$UNIX2003
Referenced from: /Applications/XBMC.app/Contents/MacOS/../Frameworks/libfreetype.6.dylib
Expected in: /usr/lib/libSystem.B.dylib


libfreetype is built using 10.5 sdk. The UNIX2003 is a giveaway.
Reply
#44
Thanks davilla. I am absolutely stuck now, Why would it be building with the 10.5 sdk as I have changed all the settings to ensure its built with 10.4.

Any thoughts on what I should try, I dont want to give up.

Thank you for your help

Terrier
Reply
#45
terrier2006 Wrote:Thanks davilla. I am absolutely stuck now, Why would it be building with the 10.5 sdk as I have changed all the settings to ensure its built with 10.4.

Any thoughts on what I should try, I dont want to give up.

Thank you for your help

Terrier

It's a MacPort build issue, not an XBMC build issue.

see http://forum.xbmc.org/showthread.php?tid=35435

jeremyhu is a MacPort dev, if you still have problems with the MacPort, you might PM him.
Reply

Logout Mark Read Team Forum Stats Members Help
Problem compiling XBMC from SVN0