Compiling on Debian Linux

From FUPPES

Jump to: navigation, search

Contents

Lenny

As Lenny is still testing, it is possible that one or more packages below are not available for a few days.

Step 0 (optional): Use debian-multimedia

The packages of debian-multimedia are more up-to-date and so /may/ avoid some problems. To use them, add this line to your /etc/apt/source.list:

 deb http://www.debian-multimedia.org testing main

After this run

su -c 'aptitude update'
su -c 'aptitude install debian-multimedia-keyring'

Step 1: Install required packages

This will install all required packages from the repositories. Note that liblame-dev is currently not in the official repository but only in Debian Multimedia.

su -c 'aptitude install subversion build-essential automake libtool checkinstall \
libpcre3-dev pkg-config libxml2-dev libsqlite3-dev libavformat-dev libavcodec-dev \
ffmpeg libtwolame-dev libmpcdec-dev libfaad-dev libflac-dev libtag1-dev libsimage-dev \
uuid-dev liblame-dev libmagick++9-dev libmad0-dev libmpeg4ip-dev libmp4v2-dev'

Step 2: Get the FUPPES source

This line will get the current svn-version out of the repository and save it's contents to a local folder 'fuppes' within the current directory:

svn co https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk fuppes

Step 3: Run ./configure

Next you have to change the directory and let configure check if all required libs are installed. Video-encoding needs to be enabled via '--enable-video-transcoding'.

cd fuppes
autoreconf -vfi
./configure --enable-video-transcoding --prefix=/usr

Step 4: Run make

This will start the actual compile-process:

make

Step 5: Install fuppes

Now you can use checkinstall to create our own package and install it. If you want to uninstall fuppes later, you can do this via the common package-tools (apt-get, aptitude...). Please replace <VERSION> with the real version of your svn-build (see fuppes/src/version.h). This is the only step you should run as root

su
checkinstall --pkgversion <VERSION>

Step 6: Done

Now feel free to edit the config-file and start fuppes (see Main Page for details).

Building ffmpeg

Instructions for building ffmpeg: Building ffmpeg on Debian Linux

Problems

If you have any problems, you can get help in the forums.

TODO

  • Make this document obsolete by creating a package for the official repository

(current status: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426048)

Personal tools