[HOW-TO] Compile XBMC git master branch on Linux - Bluray optional
#3
sudo friendly version

Installing XBMC build dependencies

Quote:sudo apt-get install git-core autopoint checkinstall libvdpau-dev libvdpau1 make g++ gcc gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmpeg3-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libwavpack-dev libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext

Add (almost) all dependencies with a few lines. Last time I tried, it didn't work as expected. Want to give it a try? Run

Quote:sudo add-apt-repository ppa:team-xbmc-svn/ppa
sudo apt-get update
sudo apt-get build-dep xbmc

Either way, install all the dependencies needed.

Compile XBMC with Bluray support. If you don't want it, ignore and remove --enable-libbluray from the configure command. Warning: does not provide the ability to play protected Blurays, only unprotected. Add libbluray to the system

Quote:sudo add-apt-repository ppa:hackurx/libbluray
sudo apt-get update
sudo apt-get install libbluray

Making sure you're on your home directory and clone XBMC git. If you want to compile XBMC on /usr/local/src directory like I do or any other directory other that home, every command as to be preceded with sudo.

Quote:cd ~
git clone git://github.com/xbmc/xbmc.git

Change to XBMC directory

Quote:cd xbmc

You are in XBMC git master branch but check it anyway

Quote:git checkout master

Building XBMC

Quote:./bootstrap
./configure --prefix=/usr --disable-pulse --enable-libbluray --enable-vdpau
make -j3

The -j3 make switch controls how many cores to use when compiling. Set accordingly.

Quote:sudo checkinstall -y --fstrans=no --install=yes --pkgname=hudo-xbmc --pkgversion="git`date +%Y%m%d`.`git rev-list --abbrev-commit --max-count=1 HEAD`"

Done! Go to Applications >> Sound & Video >> XBMC Media Center.
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply


Messages In This Thread
[No subject] - by jmarshall - 2011-03-03, 22:29
sudo friendly version - by h.udo - 2011-03-03, 22:58
libbluray - by cipher_ - 2011-03-04, 01:03
[No subject] - by h.udo - 2011-03-04, 17:55
sqlite - by Grenti - 2011-03-04, 19:59
[No subject] - by h.udo - 2011-03-04, 21:52
[No subject] - by Grenti - 2011-03-04, 22:22
[No subject] - by h.udo - 2011-03-04, 23:03
[No subject] - by jmarshall - 2011-03-05, 03:37
[No subject] - by h.udo - 2011-03-05, 04:05
[No subject] - by jmarshall - 2011-03-05, 04:22
[No subject] - by davilla - 2011-03-05, 04:55
[No subject] - by Grenti - 2011-03-05, 07:16
[No subject] - by h.udo - 2011-03-05, 14:24
[No subject] - by h.udo - 2011-03-05, 14:41
[No subject] - by Reptilian - 2011-03-05, 19:28
[No subject] - by h.udo - 2011-03-06, 22:18
[No subject] - by h.udo - 2011-03-06, 22:26
[No subject] - by ctrlbrk - 2011-03-07, 02:36
[No subject] - by ctrlbrk - 2011-03-07, 02:55
[No subject] - by h.udo - 2011-03-07, 12:54
[No subject] - by ctrlbrk - 2011-03-08, 04:23
[No subject] - by simplechords - 2011-03-08, 04:41
[No subject] - by h.udo - 2011-03-08, 14:28
[No subject] - by simplechords - 2011-03-08, 17:32
[No subject] - by spiff - 2011-03-08, 17:41
[No subject] - by simplechords - 2011-03-08, 17:47
[No subject] - by h.udo - 2011-03-08, 19:08
[No subject] - by koko1967k - 2011-03-23, 10:57
[No subject] - by Henkske - 2011-05-29, 13:09
[No subject] - by Henkske - 2011-06-22, 21:38


Logout Mark Read Team Forum Stats Members Help
[HOW-TO] Compile XBMC git master branch on Linux - Bluray optional0
This forum uses Lukasz Tkacz MyBB addons.