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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:5b8d:: with SMTP id a13mr7953098qta.130.1630866742605; Sun, 05 Sep 2021 11:32:22 -0700 (PDT) X-Received: by 2002:a05:6902:1201:: with SMTP id s1mr10931051ybu.432.1630866742433; Sun, 05 Sep 2021 11:32:22 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 5 Sep 2021 11:32:22 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=2003:ee:6706:6500:897:ac99:4c75:87e; posting-account=mOyWBQoAAAD7S-NBmMUOr9hRClcL0vqR NNTP-Posting-Host: 2003:ee:6706:6500:897:ac99:4c75:87e References: <4ce850c3-9088-4916-b2b0-dc49bc100b6cn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <92e8b506-350f-46db-96cc-83251b595088n@googlegroups.com> Subject: Re: Emacs ada-mode installation on Debias bullseye From: R R Injection-Date: Sun, 05 Sep 2021 18:32:22 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:62649 List-Id: On Sunday, September 5, 2021 at 11:55:35 AM UTC+2, Simon Wright wrote: > R R writes:=20 >=20 > > I recently upgraded my Debian machine to bullseye. By then Emacs'=20 > > ada-mode stopped working as it couldn't find some dynamic library. So= =20 > > I reinstalled ada-mode 7.1.8 and now I have to compile the wisi=20 > > parser. First I had to install libgnatcoll19-dev. But I still get the= =20 > > error messages:=20 > >=20 > > ada_mode_wisi_parse.gpr:22:06: imported project file "gnatcoll_sqlite" = not found=20 > > ada_mode_wisi_parse.gpr:23:06: imported project file "gnatcoll_xref" no= t found=20 > >=20 > > So I tried to install libgnatcoll-sqlite20-dev, but that doesn't exist= =20 > > and libgnatcoll-sqlite20 doesn't provide a gpr file. > I don't know about the Debian system, but wouldn't the numbers have to=20 > match (i.e., 19 vs 20)?=20 No, I don't think they have to match. > If you can't find the prebuilt -dev package, try building from source as= =20 > suggested here:=20 > https://www.nongnu.org/ada-mode/ada-mode.html#Building-GNATCOLL-2019 -=20 > probably best to install in a private location, not over the=20 > system. Also, when you get to the Github repo, the v21.0.0 package may=20 > have compilation issues depending on your compiler: there are very few=20 > changes between that version and the latest commit. thanks for the hint to compile it myself. After reading Stephe's page I ins= talled libgnatcoll-xref20-dev which provides both necessary gpr files. The = problem with gnatcoll is solved. If you don't use gnatcoll on a regular bas= is it is not obvious which packages exist and what they provide. After successful installation of gnatcoll the compilation then fails at=20 gen_emacs_wisi_lr_parse.ads:37:53: missing ";" That line reads: with WisiToken.Parse.LR.Parser; with WisiToken.Syntax_Trees; with Wisi; generic type Parse_Data_Type is new Wisi.Parse_Data_Type with private; --li= ne 37, char pos 53 is right before the keyword 'with'. The system compiler FSF gnat 10.2.1 doesn't like a generic parameter of a t= agged type with a private part. Is that a new syntax? Rolf