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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |