![]() Sudo zypper install autoconf automake autopoint libtool git Sudo apt-get install libcamera-tools libcamera-dev libcamera-v4l2 Sudo apt-get install default-libmysqlclient-dev Or (depends upon your distribution and version) Sudo apt-get install libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev FFMpeg Functionality(Required for creating movies, using network cameras, etc.).Libjpeg-dev git gettext libmicrohttpd-dev Open a terminal and run the following commands to install the packages. Install the pre-compiled binary packages and their development brothers. You build a library from sources you already have these header files. Packages contain the header files (xxx.h) that Motion needs to build. These are normally called the same name as the package suffixed by -devel or -dev. In order to compile programsįrom source that use these libraries you also need to install the development packages. You normally only get what is needed to run the programs themselves. When you install software using pre-compiled binaries (Redhat type RPMs, Debian debs etc) The particular libraries needed will vary depending upon the features desired. In order to build Motion from source many shared libraries must be installed. Sudo pkg install autoconf pkgconf automake git ffmpeg gettext libmicrohttpdīrew install ffmpeg pkg-config libjpeg libmicrohttpd automakeĮxport PATH="/usr/local/opt/gettext/bin:/usr/local/bin:$PATH" Libwebp-dev gettext libmicrohttpd-dev libcamera-tools libcamera-dev libcamera-v4l2 Libjpeg-dev git libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev ![]() Sudo apt-get install autoconf automake autopoint build-essential pkgconf libtool libzip-dev Review the extended building instructions further below.ĭebian / Ubuntu / Raspberry Pi OS Packages If errors occur during the process or you wish to customize the build, please If you are familiar with the building of applications, then the following is a basic build / install Once the deb file is created, install it via the gdebi tool as described above. The script will validate the dependencies and report any additional dependencies which must be installed or ifĪll the dependencies are installed, it will create a deb package. builddeb.sh to make the script executable. Once you have reviewed the script and determined that it is OK to run, close out of the editor and then Switch to the branch specified in the parameter (or master if not specified).Clone the Motion source code and packaging code to the temporary directories.Validate the required packages are installed and notify which ones are missing.Validate input parameters and set defaults as needed.The general flow of the script is as follows: If the parameters are not provided, the script will create defaults. Username, EmailAddress, branch, install, arch Within the script, you will see that it takes a few parameters which are optional. Never ever run a script without reviewing what it does!. Since this is a script file, once it is downloaded open the file with a text viewer and review The script that builds the deb packages released can be used to do this. It is often preferable to build and install aĭeb package rather than using the build from source options below since it is much easier to upgrade fromĪnd un-install Motion. Users can also build their own deb package from source. The author prefers this tool since it will automatically retrieveĪny dependency packages and yet still can be run without graphical interface. Motion can also be installed from the release deb files which may provide a more recent version than whatĭetermine the deb file name that is appropriate for the distribution and platform from To install via apt, open up a terminal window and type: sudo apt-get install motion Was initially deployed and therefore may not represent the latest release. Version included with apt will be the version that was available when the distribution version Motion is part of the Debian, Ubuntu and Raspberry Pi OS repositories and can be installed with the apt tool. Upgrading From Older Version Native Language Support(Translations) menu⇓ Installing with apt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |