Unable to build bonita studio from source code


I am trying to build studio from code but it's giving error to missing dependencies. At first it gave repository error for http://repositories.rd.lan/p2/7.7 this link, which is dead. Then i found http://update-site.bonitasoft.com/p2/7.7 this link and changed it and it worked. But after i started to build it gives me dependency missing error which is odd because the dependency that is missing should be compiled with bonita studio. I tried a couple of things to compile dependency but i couldn't manage to do it.

This is the error i get:


Ubuntu 16.04, Windows 10

External Link





Mehmet Sakir KUTLU
June 25, 2019, 10:43 AM

i uploaded log files and dpkg output as a txt file.

My bonita server was running on 7.8.3 and after 7.9.0 update, i updated directly to 7.9.0. I didn't try to run 7.8.4. But zip package of version 7.8.3 was running without any error and 7.9.0 is running now.

Antoine Mottier
June 25, 2019, 1:27 PM

In the log file I can see the following error:
{{Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused}}

Are you running the build script with the same user that is logged in your desktop session?

The user that is running the build script need to have access to the X server in the current version of the build script.

This requirement related to the X server is only needed if model definition in the Studio is edited and need to be rebuild. If this is not needed you can remove ,generate on the last line of the build script.

Mehmet Sakir KUTLU
June 25, 2019, 5:18 PM

It's really interesting. I am connecting that ubuntu with ssh session and i was trying to build on ssh session. After you said it's X server related, i connected to server directly, opened a terminal and runned build script. Now, it's compiled. It's really interesting.

Antoine Mottier
June 26, 2019, 6:53 AM

Thanks for the update. I added a verification to the script in order to make sure that X server is available.

So I will now close this issue and start working on the update for 7.9.0.

Mehmet Sakir KUTLU
June 26, 2019, 7:03 AM

Thank you for your help.



Antoine Mottier


Mehmet Sakir KUTLU

Affects versions



Fix versions