XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Mac and AppleTV Specific Support

XBMC for Mac and AppleTV Specific Support Need help with XBMC for Mac or Apple TV, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-01-14, 12:39   #1
gmackenz
Senior Member
 
gmackenz's Avatar
 
Join Date: Oct 2003
Posts: 103
gmackenz is an unknown quantity at this point
Default Help with setting up and running Elan's Precompiled XBMC

So I downloaded the precompiled binary and I thought I followed the suggestions correctly but I am getting the silly:

"The XBMC_HOME environment variable is not set.
Bus error"

I have the XBMC directory at ~/Desktop/XBMC

so in the system/profiles.xml I edited it:

<profiles>
<lastloaded>0</lastloaded>
<useloginscreen>false</useloginscreen>
<profile>
<name>Master user</name>
<directory>~/Desktop/XBMC//UserData</directory>
<thumbnail></thumbnail>
<lastdate></lastdate>
<useavpacksettings>false</useavpacksettings>
</profile>
</profiles>

And then in my ~/.profile I added a line for XBMC_HOME

XBMC_HOME=~/Desktop/XBMC

And I still XBMC crashes at what appears it trying to get the home directory:

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0

Thread 0 Crashed:
0 XBMC 0x00497a81 CUtil::GetHomePath(CStdStr<char>&) + 155

I am stumped (and I should try running experimental code late at night
gmackenz is offline   Reply With Quote
Old 2008-01-14, 15:26   #2
leigh_munro
Junior Member
 
Join Date: Aug 2006
Posts: 20
leigh_munro is on a distinguished road
Default

Mate i'm new to mac's only having owned mine for the past few weeks so my advice may not be 100% correct but this is all i did to get this build working.

First task was installing macports and all the required libs.

I then edited the .profile file in my home directory...the following line is all that i added.

export XBMC_HOME=/Users/Leigh/Desktop/XBMC

maybe the missing export is your issue, does it show when you type env in a terminal window?

After this i was able to run OSXBMC....
leigh_munro is offline   Reply With Quote
Old 2008-01-24, 17:57   #3
CosyCat
Senior Member
 
Join Date: Mar 2005
Location: Sweden
Posts: 230
CosyCat is on a distinguished road
Default

Mac newbie Warning

I downloaded xbmc from http://dn-0.com/xbmc-trac "XBMC-0.0.4.gz" and unpacked it(with a apps called The Unarchiver).
Now I have this file "XBMC-0.0.4" in my download folder
I downloaded and installd Macports in this location mac -> opt

My question is now how can I install libs into Macport
Where in terminal should I be when writing "$ sudo port install libcdio"

maby someone can write a guide howto install this or link me to one that a Mac newbie can understand.

thx
__________________
CosyCat is offline   Reply With Quote
Old 2008-01-24, 22:19   #4
gurkburk
Member
 
Join Date: Jan 2008
Location: Sweden
Posts: 39
gurkburk is on a distinguished road
Default

Maybe this can help a bit?

XbmcBuildInstructions
gurkburk is offline   Reply With Quote
Old 2008-01-25, 00:05   #5
CosyCat
Senior Member
 
Join Date: Mar 2005
Location: Sweden
Posts: 230
CosyCat is on a distinguished road
Default

thx I will try that
__________________
CosyCat is offline   Reply With Quote
Old 2008-01-25, 03:51   #6
CosyCat
Senior Member
 
Join Date: Mar 2005
Location: Sweden
Posts: 230
CosyCat is on a distinguished road
Default

iīve done 1-4 http://dn-0.com/xbmc-trac/wiki/XbmcBuildInstructions

But this I canīt find.

"Finally, set an environment variable XBMC_HOME to point at your source directory."

Is this setting in Xcode
__________________
CosyCat is offline   Reply With Quote
Old 2008-01-25, 03:55   #7
CosyCat
Senior Member
 
Join Date: Mar 2005
Location: Sweden
Posts: 230
CosyCat is on a distinguished road
Default

when I hit build I get 2errors
like this

error: GL/glew.h: No such file or directory
__________________
CosyCat is offline   Reply With Quote
Old 2008-01-25, 05:59   #8
leigh_munro
Junior Member
 
Join Date: Aug 2006
Posts: 20
leigh_munro is on a distinguished road
Default see my post above.

Mate i was new to all this also...just stick with it you should figure it out soon enough...

with the setting of the home directory see my post above.

you need to edit (create if its not there) the .profile file in your home directory...the following line is all that i added. (you need to point it to you XBMC directory)

export XBMC_HOME=/Users/Leigh/Desktop/XBMC

once you get the XBMC_home set you should be good to go if you have all the required macports installed. If you are missing any you will be able to figure out what ones from the errors you get when you try and run XBMC.

you won't need to touch xcode if you have downloaded the pre compiled 0.0.4 version.
leigh_munro is offline   Reply With Quote
Old 2008-01-26, 02:26   #9
petejo
Member
 
Join Date: Mar 2005
Posts: 45
petejo is an unknown quantity at this point
Default

Quote:
Originally Posted by gurkburk View Post
Maybe this can help a bit?

XbmcBuildInstructions
I'm following this but I keep getting an unable to fetch libsdl error.

Seems it's not in that repository anymore ??
petejo is offline   Reply With Quote
Old 2008-01-26, 07:35   #10
leigh_munro
Junior Member
 
Join Date: Aug 2006
Posts: 20
leigh_munro is on a distinguished road
Default installed ports

If it helps the below are the macports ports that i have installed.
With these installed and the XBMC_Home set correctly i am able to run OSXBMC....


The following ports are currently installed:
expat @2.0.1_0 (active)
freetype @2.3.5_1 (active)
fribidi @0.10.7_0 (active)
gawk @3.1.6_0 (active)
gettext @0.17_3 (active)
glew @1.4.0_0 (active)
libcddb @1.1.0_0 (active)
libcdio @0.75_0 (active)
libiconv @1.12_0 (active)
lzo @1.08_0 (active)
lzo2 @2.02_2+darwin_9 (active)
ncurses @5.6_0 (active)
ncursesw @5.6_1 (active)
pkgconfig @0.22_0 (active)
readline @5.2.007_0+darwin_9 (active)
sqlite3 @3.5.4_0 (active)
zlib @1.2.3_1 (active)
leigh_munro is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:48.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project