Compile on one computer, install on another?!

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
neil.j1983 Offline
Member+
Posts: 589
Joined: Jun 2009
Reputation: 28
Post: #1
I know this is possible, otherwise ppas wouldn't work!

I have compiled xbmc on my main i7 computer. I did this because my xbmc tv box is an ion 330 which is SLOW to compile.

I have installed the compiled version on my i7, and it works fine and dandy. How do i save myself time downloading git and compiling again, and install the new version on my asrock?

Which files do I move across, xbmc.bin?, and what commands do I run. I tried a google or two and ran out of luck.

Thanks,

Neil
(This post was last modified: 2012-05-24 21:31 by neil.j1983.)
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,234
Joined: Nov 2003
Reputation: 82
Post: #2
in most cases, just copying xbmc.bin will do. but it's not safe, there may be skin changes, add-on changes, changes to some of the .so's etc.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
FernetMenta Offline
Team-XBMC Member
Posts: 1,714
Joined: Jul 2010
Reputation: 37
Location: Munich
Post: #3
I do with sshfs. This mounts a directory of a other pc. When doing this as root I can simply execute 'make install' and the pre-compiled XBMC gets installed with all of its files.
find quote
neil.j1983 Offline
Member+
Posts: 589
Joined: Jun 2009
Reputation: 28
Post: #4
so if i just copied the gitxbmc folder which has been compiled to the other machine i can just install that.

awesome. I'll report back once I get a chance to try it!
find quote
FernetMenta Offline
Team-XBMC Member
Posts: 1,714
Joined: Jul 2010
Reputation: 37
Location: Munich
Post: #5
I probably won't try copying the source folder. make might want to recompile when you touch the files. (not sure, never tried)
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,234
Joined: Nov 2003
Reputation: 82
Post: #6
cp -p.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
neil.j1983 Offline
Member+
Posts: 589
Joined: Jun 2009
Reputation: 28
Post: #7
thanks, didn't know what it meant at first, however, google was my friend. i feel enlightened!
find quote
pumkinut Offline
Posting Freak
Posts: 881
Joined: May 2006
Reputation: 9
Post: #8
Kind of on topic, but not entirely. Once you've compiled from source, where do you put xbmc.bin so that you can call it via CLI? I tried moving xbmc.bin to /usr/bin, but that didn't work when I typed xbmc into a prompt. If I give the full path, i.e. /home/<user>/xbmc/xbmc.bin, it fires up without a hitch. Not sure where to put the binary.

Also, on my main HTPC I have XBMCBuntu installed. Can I compile a new build and just replace the binary, or is there more to it?
find quote
neil.j1983 Offline
Member+
Posts: 589
Joined: Jun 2009
Reputation: 28
Post: #9
thanks for all the tips.

yesterday i used your tips and this guide:

http://www.lylebackenroth.com/blog/sshfs/

to mount the compile folder on my i7 onto my asrock, and just did "sudo make install" ran without a hitch. i think just moving xbmc.bin isn't enough to go from eden to frodo, the skin has had updates, so i think you have to compile.

thanks again!
find quote
pumkinut Offline
Posting Freak
Posts: 881
Joined: May 2006
Reputation: 9
Post: #10
Thanks, I'll explore that avenue later today.
find quote
Post Reply