Closed simonjwright closed 1 week ago
Hello Simon,
Libadalang now indeed requires a full Langkit build (it is written using the Lkt language instead of the obsolete Python DSL). See Langkit’s README for the missing bits:
Install the Libpythonlang and Liblktlang support libraries:
$ (cd contrib/python && ./manage.py install $PREFIX --library-types=static,static-pic,relocatable --disable-all-mains) $ (cd contrib/lkt && ./manage.py install $PREFIX --library-types=static,static-pic,relocatable --disable-all-mains) $ pip install contrib/python/build/python $ pip install contrib/lkt/build/python
I’ll close this for now, but please let us know if you need more help on this.
I have adasat, langkit and libadalang, all at v25.0.0, sources in parallel directories. The libadalang build shares the langkit venv.
I build langkit with
and libadalang with
which fails with
I note that, in spite of building them, the langkit build didn't install the python or lkt dynamic libraries; is that the problem? I do see the installed langkit_support.relocatable/liblangkit_support.dylib.