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

**URL:** <https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514>\
**Category:** Building synfig\
**Tags:** linux, kali\
**Created:** [March 3, 2019, 10:12am UTC](https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514 "2019-03-03T10:12:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagar.00joshi](https://forums.synfig.org/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@sagar.00joshi](https://forums.synfig.org/u/sagar.00joshi)\
**Post date:** [March 3, 2019, 10:12am UTC](https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514/1 "2019-03-03T10:12:10Z")

</div>

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](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’

---

<div class="post-metadata">

**Author:** ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)\
**Post date:** [March 3, 2019, 11:49am UTC](https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514/2 "2019-03-03T11:49:46Z")

</div>

Hi and welcome here 🙂  
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`

---

<div class="post-metadata">

**Author:** ![sagar.00joshi](https://forums.synfig.org/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@sagar.00joshi](https://forums.synfig.org/u/sagar.00joshi)\
**Post date:** [March 3, 2019, 2:27pm UTC](https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514/3 "2019-03-03T14:27:21Z")

</div>

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/](http://forums.kali.org/)”  
BUG\_REPORT\_URL=“[http://bugs.kali.org/](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’

---

<div class="post-metadata">

**Author:** ![KonstantinDmitriev](https://forums.synfig.org/user_avatar/forums.synfig.org/konstantindmitriev/32/3_2.png) [@KonstantinDmitriev](https://forums.synfig.org/u/KonstantinDmitriev)\
**Post date:** [March 3, 2019, 4:27pm UTC](https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514/4 "2019-03-03T16:27:09Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![sagar.00joshi](https://forums.synfig.org/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@sagar.00joshi](https://forums.synfig.org/u/sagar.00joshi)\
**Post date:** [March 3, 2019, 4:50pm UTC](https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514/5 "2019-03-03T16:50:53Z")

</div>

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. :☹ curious to know :is it necessary to build befor we can contribute to fix issues? cant we just simply use some kind of ide?

---

<div class="post-metadata">

**Author:** ![KonstantinDmitriev](https://forums.synfig.org/user_avatar/forums.synfig.org/konstantindmitriev/32/3_2.png) [@KonstantinDmitriev](https://forums.synfig.org/u/KonstantinDmitriev)\
**Post date:** [March 3, 2019, 5:40pm UTC](https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514/6 "2019-03-03T17:40:38Z")

</div>

No problem. 🙂

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](https://wiki.synfig.org/Dev:IDE_Linux#Netbeans_from_gnu.2Flinux)

---

<div class="post-metadata">

**Author:** ![sagar.00joshi](https://forums.synfig.org/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@sagar.00joshi](https://forums.synfig.org/u/sagar.00joshi)\
**Post date:** [March 4, 2019, 8:14pm UTC](https://forums.synfig.org/t/solved-build-breaks-on-1-setup-linux-native-sh-please-help/9514/7 "2019-03-04T20:14:38Z")

</div>

Issue solved after installing ubuntu 18.04.1 LTS  
Thanks for helping
