Archive:Compile Kodi on Fedora/Red Hat/CentOS: Difference between revisions
Jump to navigation
Jump to search
>MGOB m (→4. Build) |
>MGOB mNo edit summary |
||
Line 1: | Line 1: | ||
This is a tutorial on how to install XBMC on Fedora 8/9 & CentOS 5.2<br> | This is a tutorial on how to install XBMC on Fedora 8/9 & CentOS 5.2<br> | ||
=== | === Checkout from subversion === | ||
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/ | svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/ | ||
=== | === Install Packages === | ||
Fedora 8 | Fedora 8 | ||
rpm -UVh http://rpm.livna.org/livna-release-8.rpm | rpm -UVh http://rpm.livna.org/livna-release-8.rpm | ||
Line 23: | Line 23: | ||
<nowiki>*</nowiki>sudo ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so (x86_64) | <nowiki>*</nowiki>sudo ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so (x86_64) | ||
=== | === Configure === | ||
cd XBMC/ | cd XBMC/ | ||
./configure | ./configure | ||
Line 29: | Line 29: | ||
With the above installed packages this should go smoothly :) | With the above installed packages this should go smoothly :) | ||
=== | === Build === | ||
make | make | ||
Line 65: | Line 65: | ||
Then remake again | Then remake again | ||
=== | === Install === | ||
make install | make install | ||
When this completes you are done!<br> | When this completes you are done!<br> | ||
Simply log into Gnome (or KDE) and open up a terminal and type 'xbmc' and it will load. | Simply log into Gnome (or KDE) and open up a terminal and type 'xbmc' and it will load. |
Revision as of 00:55, 3 October 2008
This is a tutorial on how to install XBMC on Fedora 8/9 & CentOS 5.2
Checkout from subversion
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/
Install Packages
Fedora 8 rpm -UVh http://rpm.livna.org/livna-release-8.rpm Fedora 9 rpm -Uvh http://rpm.livna.org/livna-release-9.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
*sudo ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so (i386)
*sudo ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so (x86_64)
Configure
cd XBMC/ ./configure
With the above installed packages this should go smoothly :)
Build
make
- The make can error out with;
Edit line 49 of XBMC/xbmc/cores/dvdplayer/Codecs/libDVDCSS/doc/latex/dvdcss_8h.tex
and remove the broken 'e' in the others name (change it to a regular 'e') and rerun make, all will work now :)
- jpegint.h error fix
cp XBMC/xbmc/lib/cximage-6.0/jpeg/jpegint.h /usr/include/
Then remake
- fribidi fix (Fedora 9/10)
You need to edit these two files:
xbmc/utils/CharsetConverter.h xbmc/utils/ArabicShaping.h
from
#else #include <iconv.h> #include <fribidi/fribidi.h> #include <fribidi/fribidi_char_sets.h> #endif
to
#else #include <iconv.h> #include <lib/libfribidi/fribidi.h> #include <lib/libfribidi/fribidi_char_sets.h> #endif
Then remake again
Install
make install
When this completes you are done!
Simply log into Gnome (or KDE) and open up a terminal and type 'xbmc' and it will load.