In the page on how to build synfig the following was written:
Now you need to install all required dependencies. This is easy to do by running a special script shipped with Synfig’s sources:
$ ./1-setup-linux-native.sh
after typing this line i got some errors
I am pasting my terminals content while i was trying to build synfig
sagarjoshi@localhost:~$ git clone https://github.com/synfig/synfig.git ~/synfig.git
Cloning into ‘/home/sagarjoshi/synfig.git’…
remote: Enumerating objects: 81926, done.
remote: Total 81926 (delta 0), reused 0 (delta 0), pack-reused 81926
Receiving objects: 100% (81926/81926), 42.62 MiB | 1.39 MiB/s, done.
Resolving deltas: 100% (65449/65449), done.
Checking connectivity… done.
sagarjoshi@localhost:~$ cd ~/synfig.git
sagarjoshi@localhost:~/synfig.git$ ./1-setup-linux-native.sh
Checking dependencies…
Running apt-get (you need root privelegies to do that)…
Reading package lists…
Building dependency tree…
Reading state information…
Package libmng-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libmng1
Package autoconf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package automake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libtool is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libfftw3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘autoconf’ has no installation candidate
E: Package ‘automake’ has no installation candidate
E: Unable to locate package autopoint
E: Unable to locate package libltdl3-dev
E: Package ‘libtool’ has no installation candidate
E: Unable to locate package intltool
E: Unable to locate package gettext
E: Unable to locate package libpng-dev
E: Package ‘libfftw3-dev’ has no installation candidate
E: Unable to locate package libfreetype6-dev
E: Unable to locate package libfontconfig1-dev
E: Unable to locate package libxml2-dev
E: Unable to locate package libtiff5-dev
E: Unable to locate package libmlt-dev
E: Unable to locate package libmlt+±dev
E: Couldn’t find any package by regex ‘libmlt+±dev’
E: Unable to locate package x11proto-xext-dev
E: Unable to locate package libdirectfb-dev
E: Unable to locate package libxfixes-dev
E: Unable to locate package libxinerama-dev
E: Unable to locate package libxdamage-dev
E: Unable to locate package libxcomposite-dev
E: Unable to locate package libxcursor-dev
E: Unable to locate package libxft-dev
E: Unable to locate package libxrender-dev
E: Unable to locate package libxrandr-dev
E: Unable to locate package libxi-dev
E: Unable to locate package libxext-dev
E: Unable to locate package libatk1.0-dev
E: Couldn’t find any package by glob ‘libatk1.0-dev’
E: Couldn’t find any package by regex ‘libatk1.0-dev’
E: Unable to locate package libgl1-mesa-dev
E: Unable to locate package libsdl2-dev
E: Unable to locate package libsdl2-mixer-dev
E: Package ‘libmng-dev’ has no installation candidate
E: Unable to locate package libjack-jackd2-dev
E: Unable to locate package libgtkmm-3.0-dev
E: Couldn’t find any package by glob ‘libgtkmm-3.0-dev’
E: Couldn’t find any package by regex ‘libgtkmm-3.0-dev’
E: Unable to locate package libglibmm-2.4-dev
E: Couldn’t find any package by glob ‘libglibmm-2.4-dev’
E: Couldn’t find any package by regex ‘libglibmm-2.4-dev’
E: Unable to locate package libsigc+±2.0-dev
E: Couldn’t find any package by glob ‘libsigc+±2.0-dev’
E: Couldn’t find any package by regex ‘libsigc+±2.0-dev’
E: Unable to locate package libxml++2.6-dev
E: Couldn’t find any package by glob ‘libxml++2.6-dev’
E: Couldn’t find any package by regex ‘libxml++2.6-dev’
E: Unable to locate package libboost-system-dev
E: Unable to locate package libmagick+±dev
E: Couldn’t find any package by regex ‘libmagick+±dev’