[Linux] Compile XBMC on Debian VMWare
#1
Ok, this is the step for compiling xbmc on Debian 5

1 - Insert the additional repository for multimedia library
Code:
echo "deb ftp://ftp.debian-multimedia.org lenny main non-free" >> /etc/apt/sources.list
echo "deb http://www.backports.org/debian lenny-backports main contrib non-free" >> /etc/apt/sources.list

2 - Update apt
Code:
apt-get update

3 - Download dev-library and tools
Code:
apt-get install subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf 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-openssl-dev x11proto-xinerama-dev libxinerama-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 libfaac-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev libiso9660-dev libass-dev libssl-dev gdc libwavpack-dev libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext cvs zip


4 - Download source code:
On your home directory
for pvr-testing2
Code:
svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/pvr-testing2/
cd pvr-testing2

for standard
Code:
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk
cd trunk


5 - Prepare and Configure
Code:
./bootstrap
Code:
./configure


6 - Build
Code:
make -j2

7 - Install
Code:
make install

8 - Install Xorg
Code:
apt-get install xinit x11-xserver-utils xserver-xorg

9 - Break time!
Code:
reboot

10 - START
Code:
xinit /usr/local/bin/xbmc --no-test

I have use "--no-test" because i run this on vmware. I have a problem with vmware, despite having compiled the drivers and glxgears works, XBMC does not work with 3D acceleration (see the old post below)

Old_post:
Quote:i all,

i compiled xbmc from svn in my debian 5 virtual machine. I have started from ultra-minimal netinstall. The building it's ok. Now, i have installed vmtools, xinit and xorg server.

If i run

Code:
xinit glxgears

i see the gears!

If i run

Code:
xinit xbmc

xorg start and stop without never error.

I tried to start xbmc from a running xsession through xterm and this is the output:

Code:
xbmc needs hardware accelerated opengl rendering.
Install an appropriate graphics driver.

Please consult xbmc wiki for supported hardware
http://wiki.xbmc.org/?title=supported_hardware

but, glxgears (opengl) work fine!!!!

Ok, ok, this is not really the "supported hardware", exist a method to bypass this check ?

Any idea ?
Reply

Logout Mark Read Team Forum Stats Members Help
[Linux] Compile XBMC on Debian VMWare0