From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a0c:8c0f:: with SMTP id n15mr23654061qvb.218.1576431504103; Sun, 15 Dec 2019 09:38:24 -0800 (PST) X-Received: by 2002:a9d:7a46:: with SMTP id z6mr28073564otm.194.1576431503790; Sun, 15 Dec 2019 09:38:23 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!peer01.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g89no6070456qtd.0!news-out.google.com!w29ni1529qtc.0!nntp.google.com!g89no6070449qtd.0!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 15 Dec 2019 09:38:23 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=209.6.150.53; posting-account=CMtXAgoAAADrX4RLPW-ahkvKEhc1sSgg NNTP-Posting-Host: 209.6.150.53 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Installing ada-mode 6.2.1 on Debian Buster From: Azathoth Hastur Injection-Date: Sun, 15 Dec 2019 17:38:24 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3025 X-Received-Body-CRC: 3036617105 Xref: reader01.eternal-september.org comp.lang.ada:57733 Date: 2019-12-15T09:38:23-08:00 List-Id: On Friday, November 15, 2019 at 5:30:05 AM UTC-5, Markus Sch=C3=B6pflin wro= te: > This turned out to be more difficult than expected, so I decided to share= my=20 > notes on this here. It might be of use to someone. >=20 > How to install Emacs Ada mode 6.2.1 on Debian Buster: > ----------------------------------------------------- >=20 > Prerequisits: >=20 > apt-get install gnat > apt-get install libgnatcoll-xref18-dev >=20 > Download & install Ada mode 6.2.1 from GNU ELPA via the Emacs package man= ager. >=20 > (Side note: Emacs has a bug preventing it to download anything from GNU E= LPA,=20 > you need (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") in your= =20 > .emacs. See=20 > https://www.reddit.com/r/emacs/comments/cdei4p/failed_to_download_gnu_arc= hive_bad_request/=20 > for more.) >=20 > Now, open a shell and go into the directory where Ada mode has been insta= lled=20 > (e.g. ~/.emacs.d/elpa/ada-mode-6.2.1). >=20 > * Fix the line-ending of the two files wisi-fringe.el and gpr-query.el: >=20 > dos2unix gpr-query.el ; dos2unix ../wisi-2.2.1/wisi-fringe.el. >=20 > * Comment out the line with "gnat_util"; in the file gpr_query.gpr. >=20 > * Make sure gprbuild will use the correct compilers, run gprconfig to sel= ect=20 > GNAT for Ada and GNATGCC for C. This is especially important if Clang is= =20 > installed as well. >=20 > * Run build.sh. It should compile everything without errors, but it will = fail=20 > on installation. >=20 > * Manually install the files gpr_query, all *.exe, and ada_lr1_parse_tabl= e.txt=20 > into /usr/local/bin/ or another directory on PATH. >=20 >=20 > --=20 > Markus debian LOL who uses that junkpile in 2019? archlinux or art of linux s3