HOW-TO compile XBMC for Linux on Fedora Red Hat Enterprise Linux CentOS

发布于 2022-08-20 13:45:57 字数 2959 浏览 11 评论 0

HOW-TO compile XBMC for Linux on Fedora Red Hat Enterprise Linux CentOS

It has been suggested that this article or section be merged into HOW-TO compile XBMC for Linux from source code. (Discuss)

Goto: Installing XBMC for Linux
Contents

    * 1 Checkout from subversion
    * 2 Install Packages
    * 3 Configure
    * 4 Build
    * 5 Install

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/ ... hes/linuxport/XBMC/

Install Packages

Fedora 8, 9 or 10

rpm -Uvh http://download1.rpmfusion.org/f ... e-stable.noarch.rpm  
http://download1.rpmfusion.org/n ... e-stable.noarch.rpm
CentOS 5 (32)
rpm -Uvh http://apt.sw.be/redhat/el5/en/i ... 6-1.el5.rf.i386.rpm
CentOS 5 (64)
rpm -Uvh http://apt.sw.be/redhat/el5/en/x ... 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

    * 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!
Simply log into Gnome (or KDE) and open up a terminal and type 'xbmc' and it will load.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文