Ero sivun ”Kodi” versioiden välillä
Siirry navigaatioon
Siirry hakuun
→Fedora: ohjeen suomennus kesken.
p (Fedora) |
(→Fedora: ohjeen suomennus kesken.) |
||
Rivi 24: | Rivi 24: | ||
==Fedora== | ==Fedora== | ||
Ensimmäiseksi sinun on asennettava [[RPM Fusion]]in epävirallinen pakettivarasto, sitten asennetaan muutama paketti että kääntäminen onnistuu. | |||
sudo yum -y 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 libsamplerate-devel libcdio-devel \ | |||
pulseaudio-libs-devel avahi-devel ffmpeg-devel libmad-devel \ | |||
a52dec-devel libdca faad2-devel libmpeg2-devel libass-devel \ | |||
libvorbis-devel libogg-devel libmpcdec-devel flac-devel \ | |||
wavpack-devel python-devel subversion | |||
Luodaan käyttäjän kotihakemistoon svn kansio ja siirrytään siihen. | |||
Sen jälkeen haetaan [[SVN]]:llä xbmc tiedostot. | |||
mkdir ~/svn ; cd ~/svn | |||
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/ xbmc | |||
sudo ln -s /usr/lib/mysql/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so | |||
./configure --prefix=/opt/xbmc \ | |||
--enable-external-libmad \ | |||
--enable-external-liba52 \ | |||
--enable-external-libmpeg2 \ | |||
--enable-external-libass \ | |||
--enable-external-libvorbis \ | |||
--enable-external-libogg \ | |||
--enable-external-libmpcdec \ | |||
--enable-external-libflac \ | |||
--enable-external-libwavpack \ | |||
--enable-external-python \ | |||
output -> | |||
------------------------ | |||
XBMC Configuration: | |||
------------------------ | |||
Debugging: Yes | |||
Profiling: No | |||
Optimization: Yes | |||
OpenGL: Yes | |||
VDPAU: No | |||
Joystick: Yes | |||
XRandR: Yes | |||
PCRE Support: Yes | |||
MID Support: No | |||
ccache: No | |||
PulseAudio: Yes | |||
FAAC: Yes | |||
DVDCSS: Yes | |||
Avahi: Yes | |||
External Libraries: No | |||
External FFmpeg: No | |||
External libmad: Yes | |||
External liba52: Yes | |||
External libdts: No | |||
External libfaad: No | |||
External libmpeg2: Yes | |||
External libass: Yes | |||
External libvorbis: Yes | |||
External libogg: Yes | |||
External libmpcdec: Yes | |||
External libflac: Yes | |||
External libwavpack: Yes | |||
External Python: Yes | |||
prefix: /opt/xbmc | |||
------------------------ | |||
make | |||
In file included from tif_ojpeg.c:35: | |||
/usr/include/jpeglib.h:1096:55: error: jpegint.h: No such file or directory | |||
tif_ojpeg.c: In function ‘OJPEGPreDecode’: | |||
tif_ojpeg.c:1414: error: dereferencing pointer to incomplete type | |||
tif_ojpeg.c:1424: error: dereferencing pointer to incomplete type | |||
tif_ojpeg.c:1425: error: dereferencing pointer to incomplete type | |||
tif_ojpeg.c:1426: error: dereferencing pointer to incomplete type | |||
tif_ojpeg.c:1428: error: ‘DSTATE_INHEADER’ undeclared (first use in this function) | |||
tif_ojpeg.c:1428: error: (Each undeclared identifier is reported only once | |||
tif_ojpeg.c:1428: error: for each function it appears in.) | |||
tif_ojpeg.c:1508: error: dereferencing pointer to incomplete type | |||
Even though it looks awful, just fix [http://files.1407.org/2009/06/11/fix_tif_ojpeg.patch tif_ojpeg with this patch] file and run make again. | |||
Tämän jälkeen suorita asennus [[pääkäyttäjänä]]. | |||
make install | |||
Jos haluat että X-istunto avaa <tt>xbmc</tt>:n automaattisesti niin voit lisää tämän komennon | |||
sudo ln -s /opt/xbmc/share/xsessions/XBMC.desktop /usr/share/xsessions/ | |||
Nyt voit luoda vieras tilin ja käynnistää tietokoneen automaattisesti tälle tilille joka käynnistää <tt>xbmc</tt> sovelluksen. | |||
(http://blog.1407.org/2009/06/11/xbmc-for-fedora-11/ ohjeen suomennus kesken.) | |||
==Katso myös== | ==Katso myös== |