O.K. You need:
1: Library for decoding encrypted DVDs:
http://download.videolan.org/pub/libdvdcss/1.2.8/libdvdcss-1.2.8.tar.gz2: Library for generic DVD reading:
http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.4.tar.gz3: Xine-lib:
http://voxel.dl.sourceforge.net/sourceforge/xine/xine-lib-1.0.tar.gz4: GUI frontend:
http://voxel.dl.sourceforge.net/sourceforge/xine/xine-ui-0.99.3.tar.gzMake a subdirectory in your home directory:
mkdir ~/packages
Download the pachages listed above, save them in your packages/
check the /dev directory for /dev/dvd and /dev/cdrom (I know SuSE uses sometimes different naming conventions and mounting directories, you should know better your system). On mine (Slackaware), I've got:
nabis@dstar> which gcc make <--- checking for compiler first
/usr/bin/gcc
/usr/bin/make
nabis@dstar>su
root@dstar> ls -l /dev/cdrom /dev/dvd
lrwxrwxrwx 1 root root 8 Apr 3 2004 /dev/cdrom -> /dev/hdd
lrwxrwxrwx 1 root root 8 Apr 5 2004 /dev/dvd -> /dev/hdc
^^^ the group is root
root@dstar> ls -l /dev/hdd /dev/hdc
brw-rw---- 1 root disk 22, 0 Jun 9 2002 /dev/hdd
brw-rw---- 1 root disk 22, 0 Jun 9 2002 /dev/hdc
^^^means the group is disk
Add yourself to "disk" and "root" group (by editing /etc/group):
root@dstar> vim /etc/group
disk::6:root,adm,nabis
lp::7:lp ^^^ added my user
mem::8:
~
~
:wq
Make sure you have /usr/local/lib listed in /etc/ld.so.conf:
root@dstar> man ldconfig
root@dstar> cat /etc/ld.so.conf
(I you DON'T see the "/usr/local/lib" line, do the following, pay attention to ">>" redirector, DO NOT use just ">" ):
root@dstar> echo '/usr/local/lib' >> /etc/ld.so.conf
The Compilation:
root@dstar> exit
nabis@dstar> cd ~/packages
nabis@dstar> tar xvzf libdvdcss-1.2.8.tar.gz
nabis@dstar> tar xvzf libdvdread-0.9.4.tar.gz
nabis@dstar> tar xvzf xine-lib-1.0.tar.gz
nabis@dstar> tar xvzf xine-ui-0.99.3.tar.gz
nabis@dstar> cd libdvdcss-1.2.8
nabis@dstar> less INSTALL
nabis@dstar> ./configure --help | less <-- read the configuration options
(The compilation options you enter like this, for example: ./configure --with-gtk=yes --disable-alsa . But mostly the configure
script will find the stuff it needs.)
nabis@dstar> ./configure
nabis@dstar> make
nabis@dstar> su
root@dstar> make install
root@dstar> /sbin/ldconfig -v
Repeat the compilation steps for libdvdread-0.9.4 and xine-lib-1.0.
Same goes for xine-ui-0.99.3, except you don't have to run ldconfig (as far as I remember).
As a general rule try to read the INSTALL file before compiling anything.
If you get eny errors, post them here, just the last few lines about missing something (not the whole compilation output
)
If you compile averything succesfuly (rare cases
) star xine as a regular user
nabis@dstar> xine