Compiling from sourceFirst, download and install development packages for &kde;, Qt, and X11.
Those should be available in your distribution, for example in Debian the
package names are tdelibs-trinity-dev,
libtqt-mt-dev and xlibs-dev. You may need
other development packages as well.Getting sourcesOfficial releaseDownload the latest .tar.bz2 from the
Files
section of &kplayer; project at SourceForge. Then extract ittarkplayer-0.6.2.tar.bz2The code will be in the kplayer-0.6.2
subdirectorycdkplayer-0.6.2Current CVSLogin to SourceForge CVScvs
loginand hit &Enter; if it asks for a password. Then download the codecvs
co kplayerThe code will be in the kplayer subdirectorycdkplayerCompile, install, runCreate the configure scriptmakeMakefile.distand run it./configure
`tde-config --prefix`If at this point you are getting errors about missing libraries, you will
probably need to install more development packages from your distribution. The
configure script is very verbose, you will be able to tell
which package you need from its output. If you need even more information, look
in the config.log file. You will need to go to the bottom
and then scroll a page or two up to get to the point where it reported the
error. If everything fails, ask for help on the
&kplayer;
user forum. Do not forget to include the full output of
configure and the config.log
file.Once configure succeeds, compile the codemakeIf this step fails, you can again ask for help on the
&kplayer;
user forum providing the full output of make.Once make finishes, install the programsu
'make install'and run itkplayerThis last command will also produce quite verbose output on your console.
This is the output you need to send in if you ever
submit a bug report or ask for
help.NotesMandrake 10At least some Mandrake 10 versions put libGL.la in
the wrong place, so if the configure script cannot find it,
you will have to create a symbolic linkln/usr/lib/libGL.la/usr/X11R6/lib/libGL.laAles Tosovsky wrote a detailed HOWTO
in Czech
about compiling &kplayer; on Mandrake 10 and translated it into English.Fedora Core 2 on x86_64Fred successfully compiled &kplayer; on x86_64 using Fedora Core 2 and
2.6.6-1.435.2.3smp kernel. Here is how he ran
configure:./configureall on one line of course.