-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation of altgr-ergo on Ubuntu 22.04 fails #508
Comments
If you need to use altgr-ergo version 2.4.1, a docker image is available here : Altgr-ergo-2.4.1 |
Thanks, the workaround worked! |
I retract the above: The prover now works, but the "edit" window doesn't open. |
Can you share what kind of error you get when running |
from inside docker:
One issue is that I can't run the why3 ide in the docker instance, which is where I want to use altgr-ergo. It may be relevant that I'm on Wayland, the default for Ubuntu 22.04. |
Yes, I forgot about the switch to wayland for Ubuntu 22.04 👀 .
|
My workflow relies on the why3 ide and its killer feature, the proof tree on the left. I still need When I click Tools -> Edit while having an Alt-Ergo proof node selected, I get in the ide console:
And since the docker image doesn't contain the why3 ide, I don't have an environment where both the ide and altgr-ergo are available. |
The migration was done in the PR #513. |
It looks like
libgtksourceview2.0-dev
, needed to buildconf-gtksourceview
, is not available anymore on Ubuntu 22.04:But
libgtksourceview3.0-dev
is, please consider migrating to this:I tried to help by doing the migration myself: I replaced all occurrences of
lablgtk{,2}
,conf-gtksourceview
,lablgtk2.sourceview2
andGSourceView2
withlablgtk3
,conf-gtksourceview3
,lablgtk3.sourceview3
andGSourceView3
respectively, but I got stuck because:The hint didn't work as-is because of duplicate options, so I tried the intended:
$ dune external-lib-deps --missing -p altgr-ergo @install Error: The following libraries are missing in the default context: - lablgtk3.sourceview3 Hint: try: opam install lablgtk3
Which was however already installed:
As my familiarity with
dune
is low, some searching told me that it's more complicated than one would expect: https://stackoverflow.com/questions/54876087/ocaml-dune-missing-library-opam-says-its-thereIndeed:
$ ocamlfind list | grep lablgtk3-sourceview3 lablgtk3-sourceview3 (version: n/a) ^^^
Which I couldn't find how to fix.
On a related note, the current github actions tester uses
ubuntu-latest
, which for now points to Ubuntu 20.04, therefore the installation problem is not caught. Ubuntu 22.04 is still in beta: https://github.com/actions/virtual-environmentsThanks for going through this wall of text, hope this helps.
The text was updated successfully, but these errors were encountered: