File: INSTALL

package info (click to toggle)
motion 4.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 4,020 kB
  • sloc: ansic: 26,372; makefile: 83; sh: 59
file content (24 lines) | stat: -rw-r--r-- 1,123 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
The following is a brief overview of the building and installing instructions for debian / ubuntu.

For full instructions on how to build and install Motion, see the motion_guide.html that is
distributed with this source code. The guide also includes instructions for building Motion
on distributions other than debian/ubuntu such as BSD, Mac and Centos.

The packages and library names change frequently and vary across base operating systems.
Adjust the following lines as required by the base operating system.

Install basic build packages:
    sudo apt-get install autoconf automake autopoint pkgconf libtool libjpeg8-dev build-essential libzip-dev gettext libmicrohttpd-dev

Install FFMPEG packages
    sudo apt-get install libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev

Once required packages are installed, execute:
    autoreconf -fiv
    ./configure
    make
    make install

Sample custom configuration options:
    --prefix               :  Specify the install location for the motion package
    --with-ffmpeg=[dir]    :  Specify the location in which ffmpeg/libav is installed.