From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!RKN7TKnHC01q0gdg6EhkbQ.user.46.165.242.75.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Emacs ada-mode installation on Debias bullseye Date: Sun, 05 Sep 2021 10:55:31 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <4ce850c3-9088-4916-b2b0-dc49bc100b6cn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: gioia.aioe.org; logging-data="17445"; posting-host="RKN7TKnHC01q0gdg6EhkbQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:AdwfOb695jLakagBAEtFeaUrUZ4= Xref: reader02.eternal-september.org comp.lang.ada:62638 List-Id: R R writes: > I recently upgraded my Debian machine to bullseye. By then Emacs' > ada-mode stopped working as it couldn't find some dynamic library. So > I reinstalled ada-mode 7.1.8 and now I have to compile the wisi > parser. First I had to install libgnatcoll19-dev. But I still get the > error messages: > > ada_mode_wisi_parse.gpr:22:06: imported project file "gnatcoll_sqlite" not found > ada_mode_wisi_parse.gpr:23:06: imported project file "gnatcoll_xref" not found > > So I tried to install libgnatcoll-sqlite20-dev, but that doesn't exist > and libgnatcoll-sqlite20 doesn't provide a gpr file. I don't know about the Debian system, but wouldn't the numbers have to match (i.e., 19 vs 20)? If you can't find the prebuilt -dev package, try building from source as suggested here: https://www.nongnu.org/ada-mode/ada-mode.html#Building-GNATCOLL-2019 - probably best to install in a private location, not over the system. Also, when you get to the Github repo, the v21.0.0 package may have compilation issues depending on your compiler: there are very few changes between that version and the latest commit. > I tried to > comment out gnatcoll_sqlite and gnatcoll_xref in > ada_mode_wisi_parse.gpr.gp to no avail. Since the wisi parser relies on the facilities provided by these two packages, that is *guaranteed* not to work!