XBMC Community Forum
Help with setting up and running Elan's Precompiled XBMC - 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: Mac OS X support (/forumdisplay.php?fid=56)
+---- Thread: Help with setting up and running Elan's Precompiled XBMC (/showthread.php?tid=30624)

Pages: 1 2 3 4 5 6


- lavaweb - 2008-01-26 19:19

CosyCat Wrote:when I hit build I get 2errors
like this

error: GL/glew.h: No such file or directory

I too am getting this error, did you find what was causing it?

Also, I was able to set an environmental variable in the executables tab in xcode by double clicking on XBMC under executables and going to arguments. Is this where it's supposed to be done?

Thanks for the help.


- lavaweb - 2008-01-26 21:04

Is there any way to get a quick instruction rundown on how you guys installed the binary? I've tried to work with it, and nothing will open it. I know i'm doing the wrong thing and need a direction to go in.

Also, with the lib files that need to be installed, how do I go about putting them in, teminal?

Any help that you can give would be greatly appreciated.


- Dudeman - 2008-01-27 01:07

lavaweb Wrote:Is there any way to get a quick instruction rundown on how you guys installed the binary? I've tried to work with it, and nothing will open it. I know i'm doing the wrong thing and need a direction to go in.

Also, with the lib files that need to be installed, how do I go about putting them in, teminal?

Any help that you can give would be greatly appreciated.

I'm having a similar problem.

I've downloaded and installed the complete package. I've also installed the required libraries using MacPorts. After setting the XBMC_HOME environment I was able to run XBMC just fine.Nod

My problem has to do the XBMC binary updates. When I download them, the .GZ file is automatically extracted, and I end up with a XBMC-0.0.x file. This file appears to be a plain text document file, not an Unix executable. No

Is there something that needs to be done to this file before it can be usedConfused?

Thanks.


- lavaweb - 2008-01-27 01:11

Dudeman Wrote:I'm having a similar problem.

I've downloaded and installed the complete package. I've also installed the required libraries using MacPorts. After setting the XBMC_HOME environment I was able to run XBMC just fine.Nod

Thanks.

What do you mean installed the complete package? Which files are you talking about? Also, may I ask how you installed the libraries using MacPorts? I can't seem to get it to work. And lastly, as far the the XMBC_HOME, i read you need to do that in a profile file, but i can't find where that file it. I'm sorry for the newbie questions, I know what I'm doing on osx, just stepping into a new field here.

Thanks for your help.


- Dudeman - 2008-01-27 02:17

lavaweb Wrote:What do you mean installed the complete package? Which files are you talking about? Also, may I ask how you installed the libraries using MacPorts? I can't seem to get it to work. And lastly, as far the the XBMC_HOME, i read you need to do that in a profile file, but i can't find where that file it. I'm sorry for the newbie questions, I know what I'm doing on osx, just stepping into a new field here.

Thanks for your help.

OK,

Here is a step by step:

1. Go to the page below & bookmark it.. It has all the releases to date.

http://dn-0.com/xbmc-trac

2. First download the original complete package: OSXBMC-0.01.tar.gz, and install it.

3. Next you'll need to install the required libraries. You will be using MacPorts to do this, but you'll need to install XCode tools first. XCode tools contains the tools needed by MacPorts to install the libraries.

You can either download XCode Tools from Apple, or simply place your OS X Install DVD in the drive and install it from the "Optional Installs" folder.

4. After you installed XCode Tools, you'll have to install MacPorts.
Go to http://www.macports.org/install.php and download the appropriate .DMG for your OS X version (in my cases I needed the Leopard version). Install it.

5. Next we install the libraries. Open up a Terminal window and type the following:
  • export PATH=/opt/local/bin:/opt/local/sbin:$PATH -- This sets up the working path for MacPorts
  • sudo port install libcdio
  • sudo port install freetype
  • sudo port install fribidi
  • sudo port install GLEW
  • sudo port install libiconv
  • sudo port install lzo
  • sudo port install sqlite2
  • sudo port install sqlite3
  • sudo port install zlib

Install each package one at a time. Each one will install automatically along with their dependencies. When the last oneis done, you can now close the terminal window.

6. Next we set up the Environment variable XBMC_HOME. to do this go to your home directory /Users/Your_name/. You may or may not have a .profile file there. If you don't create a text file called .profile which contains the following text: export XBMC_HOME=/XBMC path. Replace XBMC path with you actual path to the XBMC folder. In my case it looks like this: export XBMC_HOME=/Applications/XBMC/Applications/XBMC.

NOTE: When you create the .profile file, TextEdit will append a .txt extension. click on the file, get info and rename it to remove the .txt extension. You'll get a warning telling you that .profile extensions are reserved for the OS. Just click through it.

7. Reboot the machine to get the new profile loaded.

8. Go to your XBMC forder and double click XBMC. It should start just fine.

If you get any errors, you either did not install a required library, or the ENV variable is not set.

9. This is the step where someone else tells us how to install the binary updates.


Hope this helps.Wink
Dudeman.


I found the answer. - Dudeman - 2008-01-27 03:55

Looks like I just found the answer to my last problem.

It turns out that when I download the XBMC update files, they loose their permissions (either during download or extraction). What I need to do is reset their executable permission. To do that, open up a Terminal windows and type:

chmod +x XBMC-0.0.6 (or whatever the revision number is)

this sets the file as a Unix executable, and then I can run it.

I'm now set.Big Grin

Dudeman


- lavaweb - 2008-01-27 04:56

I can't thank you enough for your instructions, i hope this thread stays so other people will be able to sue them like I'm about to.


Thank you so much!


- CosyCat - 2008-01-27 05:32

wow thx, but I cant find the libraries I think I installed in /opt/local/bin
How can I check I have all the libraries installed.

the .profile file I cant see after I crated it in textedit
I have my XBMC(with all the sub folders and the xbmc file)folder in Applications
so my .profile file i cant see have this "export XBMC_HOME=/Applications/XBMC"

and when I now click xbmc I get

Last login: Sun Jan 27 04:17:47 on console
/Applications/XBMC/XBMC ; exit;
MacBook:~ Slayer$ /Applications/XBMC/XBMC ; exit;
dyld: Library not loaded: /opt/local/lib/libcdio.6.dylib
Referenced from: /Applications/XBMC/XBMC
Reason: image not found
Trace/BPT trap
logout

[Process completed]


- CosyCat - 2008-01-27 05:42

ok now I can see the .profile file but still I cant start xbmc



in terminal
----------------
defaults write com.apple.Finder AppleShowAllFiles YES
KillAll Finder


- CosyCat - 2008-01-27 06:01

when I install libraries I get this

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:

Password? I just hit enter because I dont have a password for my mac.

now I´m back to MacBook:~ Slayer$
Nothing installed or??