You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I installed all AdaCore products from github (rel v22.0.0) where applicable, then trying to solve incompatibility between version I selected the commitID=1c43c1db6b60b51d65fcd4f38bf8e8c92d3969b for gnatstudio, that is the last compilable.
I needed to install lsp_client_glib.gpr from ada_language_server.
Also needed to add -lpython3.9 to the gprbuild of gnatstudio as otherwise it raised "error adding symbols: DSO missing from command line"
So I finally built it but gnatstudio failed with a SIGSEGV, during the call to gnatcoll.scripts.python.new_instance
What am I doing wrong ?
The text was updated successfully, but these errors were encountered:
Hello @atupone. We admit that gnatstudio is not easy to build - it has a great number of dependencies... In the future we hope to be able to leverage on alire to simplify the picture, but we are not ready for this quite yet.
Regarding your error, I'm suspecting that this is linked to the Python version that you use: if you are using the 22.0v version of tools (in particular gnatcoll-bindings and gnatstudio), this has only been tested with Python 3.7. Support for Python 3.9 has been added later on, so you might have better luck with the latest version of all dependencies.
I managed to build it on archlinux using AUR link. As I remember, I only had to replace python2 with just python in the build() function for gnatcoll-bindings (it provides gnatcoll-gmp). Maybe it could be used as a starting point for gentoo.
I faced a lot of issue on building gnatstudio.
I have not found a clear installation instruction
First I installed all AdaCore products from github (rel v22.0.0) where applicable, then trying to solve incompatibility between version I selected the commitID=1c43c1db6b60b51d65fcd4f38bf8e8c92d3969b for gnatstudio, that is the last compilable.
I needed to install lsp_client_glib.gpr from ada_language_server.
Also needed to add -lpython3.9 to the gprbuild of gnatstudio as otherwise it raised "error adding symbols: DSO missing from command line"
So I finally built it but gnatstudio failed with a SIGSEGV, during the call to gnatcoll.scripts.python.new_instance
What am I doing wrong ?
The text was updated successfully, but these errors were encountered: