# \[Solved\] I can't build synfig studio in archlinux

**URL:** <https://forums.synfig.org/t/solved-i-cant-build-synfig-studio-in-archlinux/10560>\
**Category:** Building synfig\
**Created:** [January 22, 2020, 2:55am UTC](https://forums.synfig.org/t/solved-i-cant-build-synfig-studio-in-archlinux/10560 "2020-01-22T02:55:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Archer](https://forums.synfig.org/user_avatar/forums.synfig.org/archer/32/189_2.png) [@Archer](https://forums.synfig.org/u/Archer)\
**Post date:** [January 22, 2020, 2:55am UTC](https://forums.synfig.org/t/solved-i-cant-build-synfig-studio-in-archlinux/10560/1 "2020-01-22T02:55:20Z")

</div>

Cordial greeting friends from synfig studio. I have tried to build synfig from the master branch, debug and testing on github and it has not been possible for me. The following error appears in the terminal:

> synfig (synfig (148704) 148703) [21:05:21] [21:05:21] caution caution:: Cannot open ./synfig\_modules.cfgCannot open ./synfig\_modules.cfg
> 
> synfig (synfig (148704148703) [21:05:21]) Caution: Cannot open /home/archy/.local/share/synfig/synfig\_modules.cfg  
> [21:05:21] Caution: Cannot open /home/archy/.local/share/synfig/synfig\_modules.cfg  
> / home / archy / synfig-code / testing / synfig-testing / \_production / build / bin / synfig / home / archy / synfig-code / testing / synfig-testing / \_production / build / bin / synfig:: Caution Caution:: Impossible find module “mod\_libavcodec” (file not found) Cannot find module “mod\_libavcodec” (file not found)
> 
> mkdir 22x22  
> synfig --quiet /home/archy/synfig-code/testing/synfig-testing/synfig-studio/images/synfig\_icon.sif -o 22x22 / synfig\_icon.png --time 0f -w 22 -h 22  
> synfig (148722) [21:05:22] caution: Cannot open ./synfig\_modules.cfg  
> synfig (148722) [21:05:22] Caution: Cannot open /home/archy/.local/share/synfig/synfig\_modules.cfg  
> / home / archy / synfig-code / testing / synfig-testing / \_production / build / bin / synfig: caution: Cannot find module “mod\_libavcodec” (file not found)

I tried to make the build work by uninstalling the ffmpeg from my system and installing a version equal to or greater than 3.0. As an issue says with a similar old error in github, but this didn’t work either.

I use the Archlinux operating system. Thank you in advance for the help you can give me.

---

<div class="post-metadata">

**Author:** ![rodolforg](https://forums.synfig.org/letter_avatar_proxy/v4/letter/r/c68b51/32.png) [@rodolforg](https://forums.synfig.org/u/rodolforg)\
**Post date:** [January 22, 2020, 2:57pm UTC](https://forums.synfig.org/t/solved-i-cant-build-synfig-studio-in-archlinux/10560/2 "2020-01-22T14:57:13Z")

</div>

I can’t get any problem by the log ☹ . Did you follow the steps of [https://synfig-docs-dev.readthedocs.io/en/latest/common/building.html](https://synfig-docs-dev.readthedocs.io/en/latest/common/building.html) ?

---

<div class="post-metadata">

**Author:** ![Archer](https://forums.synfig.org/user_avatar/forums.synfig.org/archer/32/189_2.png) [@Archer](https://forums.synfig.org/u/Archer)\
**Post date:** [January 22, 2020, 5:54pm UTC](https://forums.synfig.org/t/solved-i-cant-build-synfig-studio-in-archlinux/10560/3 "2020-01-22T17:54:36Z")

</div>

Hi Rodolforg, thank you very much for answering. I have followed step by step what the building instructions say. I even tried both 2-build-debug.sh and 2-build-producction.sh. Previously I did the process of reviewing dependencies with 1setup-linux-native.sh. I obtained the source code by cloning it with git and also downloading it in zip. But I always get the same error. I also found in a previous issue of github a similar error and they recommended to correct that a version of ffmpeg = \<3.5 be installed and I did it by building and installing it from Aur de archlinux but the problem persisted.  
I hope the information is useful. Thank you very much friend. I also tried different branches (master, debug and testing).

---

<div class="post-metadata">

**Author:** ![ice0](https://forums.synfig.org/user_avatar/forums.synfig.org/ice0/32/4612_2.png) [@ice0](https://forums.synfig.org/u/ice0)\
**Post date:** [January 24, 2020, 6:54pm UTC](https://forums.synfig.org/t/solved-i-cant-build-synfig-studio-in-archlinux/10560/4 "2020-01-24T18:54:51Z")

</div>

I tested build on latest Manjaro a week ago, and all was builds fine.

“Cannot open …synfig\_modules.cfg” - this is just a warning, and i plan to make it less annoying.  
I can’t see the real error, so it would be nice if you could attach more data from the build log.

---

<div class="post-metadata">

**Author:** ![Archer](https://forums.synfig.org/user_avatar/forums.synfig.org/archer/32/189_2.png) [@Archer](https://forums.synfig.org/u/Archer)\
**Post date:** [January 25, 2020, 1:29am UTC](https://forums.synfig.org/t/solved-i-cant-build-synfig-studio-in-archlinux/10560/5 "2020-01-25T01:29:04Z")

</div>

Hi Ice0. I compiled it again. I did it with 2-build-production.sh and the compilation was successful. I don’t know if it could have influenced the fact that today there was an update available in Archlinux of ffmpeg, exactly version 1: 4.2.2-2, or the last commit to the master branch that is made by you. Anyway thank you very much friend. I hope that at least the information is helpful in some way.
