[Solved] Build breaks on ./1-setup-linux-native.sh - Please help

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’

Hi and welcome here :slight_smile:
Could you please tell us which version of Linux you are using (Distro/version/bitness)
Also you could check if your user is a member of the “sudo” group.
Last you could try to run sudo ./1-setup-linux-native.sh

1 Like

Thanks for replying BobSynfig

my user is a member of sudo group
sudo -l -U sagarjoshi
[sudo] password for sagarjoshi:
Matching Defaults entries for sagarjoshi on localhost:
env_reset, mail_badpass,
secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

User sagarjoshi may run the following commands on localhost:
(ALL : ALL) ALL

i used the following commands to get some info about versions(commands are in bold):
uname --kernel-name --kernel-release --machine
Linux 4.3.0-kali1-686-pae i686
uname -v
#1 SMP Debian 4.3.3-5kali4 (2016-01-13)

cat /etc/os-release
PRETTY_NAME=“Kali GNU/Linux Rolling”
NAME=“Kali GNU/Linux”
ID=kali
VERSION=“2016.1”
VERSION_ID=“2016.1”
ID_LIKE=debian
ANSI_COLOR=“1;31”
SUPPORT_URL=“http://forums.kali.org/
BUG_REPORT_URL=“http://bugs.kali.org/

i tried with sudo but still getting same results
again pasting the content of terminal

sagarjoshi@localhost:~$ cd ./synfig.git
sagarjoshi@localhost:~/synfig.git$ sudo ./1-setup-linux-native.sh
[sudo] password for sagarjoshi:
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’

Hi @sagar.00joshi! It looks like you are using a special LiveCD-based linux. Am I right?

I am afraid our automated script doesn’t supports Kali Linux.
In such cases I would recommend to install all required packages manually (see https://synfig-docs-dev.readthedocs.io/en/latest/common/dependencies.html). But I am afraid that such special-purpose Linux distro does not has all required packages.
So, I recommend to install some general-purpose Linux Distro - Ubuntu, Mint, Debian, Fedora, etc.

hi thanks for replying
I am not using live cd based or flash drive based linux
i have installed both windows and linux on my system
if i cant get all the packages i will probably think of installing ubuntu or debian or any other please suggest me which one would be better
as i am a beginner in the world of opensource the question i am going to ask may look silly. ::frowning: curious to know :is it necessary to build befor we can contribute to fix issues? cant we just simply use some kind of ide?

No problem. :slight_smile:

Yes, it is mandatory to build the project AND it is recommended to use IDE. My personal recommendation is to use NetBeans IDE - https://wiki.synfig.org/Dev:IDE_Linux#Netbeans_from_gnu.2Flinux

Issue solved after installing ubuntu 18.04.1 LTS
Thanks for helping

1 Like