|
|
| (90 intermediate revisions by 25 users not shown) |
| Line 1: |
Line 1: |
| <div class="messagebox merge">[[Image:Merge-arrow.gif|left]] It has been suggested that this article or section be merged into ''[[:{{NAMESPACE}}HOW-TO compile XBMC for Linux from source code]]''. ([[{{{2|:{{NAMESPACE}} talk:HOW-TO compile XBMC for Linux on Fedora RedHat Enterprise Linux CentOS}}}|Discuss]])</div>
| | {{mininav|[[Development]]}} |
| | {{redv|Warning:|This page is '''deprecated'''.<br />Starting with Kodi v18 "Leia", Kodi's build guides are kept '''[https://github.com/xbmc/xbmc/blob/master/docs/README.md alongside the code]''', where it is much easier to keep them up-to-date with current code.}} |
|
| |
|
| {{GoToParent|Parent=Installing XBMC for Linux}}
| |
| __NOEDITSECTION__
| |
| __TOC__
| |
|
| |
|
| This is a tutorial on how to install XBMC on Fedora 8/9/10 & CentOS 5.2<br>
| | [[Category:Linux]] |
| | | [[Category:Compiling]] |
| === Checkout from subversion ===
| |
| svn co {{svn}}
| |
| | |
| === Install Packages ===
| |
| Fedora 8, 9 or 10
| |
| rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \<br>http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
| |
| CentOS 5 (32)
| |
| rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
| |
| CentOS 5 (64)
| |
| rpm -Uvh http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
| |
| | |
| '''Cut & Paste Fun'''
| |
| | |
| yum install SDL* glew glew-devel libmad-devel tre tre-devel libogg libogg-devel libvorbis libvorbis-devel boost \
| |
| boost-devel bzip2-devel bzip2-libs fribidi* lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel faac faac-devel enca enca-devel hal hal-devel hal-libs cmake gperf nasm \
| |
| libXmu-devel fontconfig-devel freetype-devel libXinerama-devel pcre-devel gcc-c++ sqlite-devel curl-devel mysql-devel libcdio-devel libmms-devel faad2-devel flac-devel libsmbclient-devel libXtst-devel
| |
| | |
| <nowiki>*</nowiki>sudo ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so (i386)<br>
| |
| <nowiki>*</nowiki>sudo ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so (x86_64)
| |
| | |
| === Configure ===
| |
| At least for Fedora 10:
| |
| export LDFLAGS="-L/usr/lib/mysql"
| |
| | |
| cd XBMC/
| |
| ./bootstrap
| |
| ./configure
| |
| | |
| With the above installed packages this should go smoothly :)
| |
| | |
| === Build ===
| |
| | |
| make
| |
| | |
| * jpegint.h error fix
| |
| cp XBMC/xbmc/lib/cximage-6.0/jpeg/jpegint.h /usr/include/
| |
| Then remake
| |
| | |
| === Install ===
| |
| make install
| |
| | |
| When this completes you are done!<br>
| |
| | |
| For Fedora 10, SE-Linux will prevent loading of some .so files due to potential security problems. To allow the loading of these files (thats what you probably want), simply open a terminal and as sudo (or as root) execute the following commands:
| |
| chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avutil-50-i486-linux.so'
| |
| chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so'
| |
| chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avformat-52-i486-linux.so'
| |
| chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so'
| |
|
| |
| Simply log into Gnome (or KDE) and open up a terminal and type 'xbmc' and it will load.
| |
| | |
| | |
| [[category:How To|Linux]]
| |
| [[category:Linux]] | |
| [[category:Development]] | |
| [[category:Inner Workings]]
| |
| [[category:To-Do]]
| |