XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2007-08-12, 03:57   #1
althekiller
Team-XBMC Developer
 
althekiller's Avatar
 
Join Date: May 2004
Posts: 4,056
althekiller is on a distinguished road
Thumbs up Linux build.sh script

ANNOUNCEMENT build.sh is no longer supported and will soon be removed from SVN. Please see README.linux for build instructions.



As of SVN revision 9884 of linuxbranch the new build script I've authored is in the repository. Pike has modified the README.linux to briefly explain its usage, SO READ IT.

Here is a full list of available options...
Code:
$ ./build.sh --help
 build.sh by default checks that your source is up-to-date, updates it
  if not, compile, and create a working build of XBMC in ./BUILD.
  UserData and scripts dirs will be backed up if existing.
 Usage: build.sh [OPTIONS]
  OPTIONS:
   --help [-h]                      : Display this text.
   DEST=<build-dest>                : Path to install XBMC to
   NOUPDATE                         : Don't update source.
   NOCOMPILE                        : Don't compile.
   NOCLEAN                          : Don't run "make clean" first.
   NOCOPY                           : Don't create XBMC file structure.
   CONFIRM                          : Don't ask about anything
   CONFIGOPT=<config-option>        : Option to pass to configure.
                                      One option per CONFIGOPT=,
                                      can pass more than one
   WEB=<path/to/web_int.rar>        : Web interface to use.
                                      Default = PM3
 These options can be defaulted in ~/.xbmc-build-settings.
 Just make a white space separated list on the first line.
The script's intent is to go from a checked out SVN to a full build with out the need of an xbox T3CH release or knowing all the little case sensitivity issues that are still lurking in the linux port. It will even do nice things like back up your UserData, scripts and thirdparty skin folders for you so you don't have to toy with them on each new build. The intent of this script is NOT to enable the linux illiterate to compile the linux port (though unfortunately it does). Keep in mind that as of now there is no end-user support for linux and we really don't care to here about problems you may find unless you are willing and able to help us track them down.

Please post bug reports and feature requests here or in #xbmc-linux on FreeNode.

Enjoy

EDIT:
Forgot to give a shout out to Pike, dragon788, staz and the rest of #xbmc-linux for testing. Thanks guys.

Last edited by althekiller; 2008-11-12 at 09:52.
althekiller is offline   Reply With Quote
Old 2007-08-12, 04:04   #2
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

tis a nice script ™
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.



Last edited by pike; 2007-08-12 at 05:03.
pike is offline   Reply With Quote
Old 2007-08-15, 19:16   #3
dragon_788
Junior Member
 
Join Date: Aug 2007
Posts: 1
dragon_788 is on a distinguished road
Default

Agreed pike, its great for assisting with a quick compile rather than making crazy symlinks all over the place (which is still somewhat necessary in Gentoo anyways).
dragon_788 is offline   Reply With Quote
Old 2007-08-15, 20:26   #4
erlis
Junior Member
 
Join Date: Aug 2007
Posts: 3
erlis is on a distinguished road
Default

I totally agree, it's a nice script. However it together with README.linux does not mention that the XBMC_HOME variable must be set to the correct path (mostly ~/XBMC/BUILD)
erlis is offline   Reply With Quote
Old 2007-08-15, 20:29   #5
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,714
spiff is on a distinguished road
Default

simply because it aint so. if the var isnt set it uses the dir the executable is in
__________________
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.
spiff is offline   Reply With Quote
Old 2007-08-15, 21:46   #6
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

readme says to CD into your "BUILD" folder and run it from there, and if you follow directions everything works as advertised lulz
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.


pike is offline   Reply With Quote
Old 2007-11-11, 20:22   #7
gateway69
Senior Member
 
Join Date: Mar 2007
Posts: 137
gateway69 is on a distinguished road
Default

I'm wondering if someone could fix the script for nvidia/7.10 systems.

When you use envy to install your nvidia drivers it installs the llzo2-dev, which then when compiling crashes out unless you make a change to your Make file and swap -llzo to -llzo2 in the make file, run make, and then build.sh NOCOMPILE to install the latest build into your BUILD folder.
__________________
-------------
I Bare It All -Personal Blog
gateway69 is offline   Reply With Quote
Old 2007-11-11, 21:24   #8
Redhound
Junior Member
 
Join Date: Oct 2007
Posts: 9
Redhound is on a distinguished road
Default

This is not a problem in de build.sh script. It needs to be fixed in the configure.in script.
Redhound is offline   Reply With Quote
Old 2007-11-12, 10:41   #9
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Default

http://xboxmediacenter.com/wiki/inde...submit_a_patch

Patch welcomed
__________________
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.
Gamester17 is offline   Reply With Quote
Old 2007-11-13, 02:58   #10
gateway69
Senior Member
 
Join Date: Mar 2007
Posts: 137
gateway69 is on a distinguished road
Default

Wish I was skilled enough to do a patch, you guys deff dont want me going in and coding stuff im more of the person that hammers on the software and fines bugs and stuff.
__________________
-------------
I Bare It All -Personal Blog
gateway69 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 06:34.


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