comp.lang.ada
 help / color / mirror / Atom feed
From: Azathoth Hastur <azathothhaster@gmail.com>
Subject: Re: Installing ada-mode 6.2.1 on Debian Buster
Date: Sun, 15 Dec 2019 09:38:23 -0800 (PST)
Date: 2019-12-15T09:38:23-08:00	[thread overview]
Message-ID: <fe675f64-3101-4af9-9889-1b10d2d6cf29@googlegroups.com> (raw)
In-Reply-To: <qqluna$1nk1$1@gioia.aioe.org>

On Friday, November 15, 2019 at 5:30:05 AM UTC-5, Markus Schöpflin wrote:
> This turned out to be more difficult than expected, so I decided to share my 
> notes on this here. It might be of use to someone.
> 
> How to install Emacs Ada mode 6.2.1 on Debian Buster:
> -----------------------------------------------------
> 
> Prerequisits:
> 
>      apt-get install gnat
>      apt-get install libgnatcoll-xref18-dev
> 
> Download & install Ada mode 6.2.1 from GNU ELPA via the Emacs package manager.
> 
> (Side note: Emacs has a bug preventing it to download anything from GNU ELPA, 
> you need (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") in your 
> .emacs. See 
> https://www.reddit.com/r/emacs/comments/cdei4p/failed_to_download_gnu_archive_bad_request/ 
> for more.)
> 
> Now, open a shell and go into the directory where Ada mode has been installed 
> (e.g. ~/.emacs.d/elpa/ada-mode-6.2.1).
> 
> * Fix the line-ending of the two files wisi-fringe.el and gpr-query.el:
> 
>      dos2unix gpr-query.el ; dos2unix ../wisi-2.2.1/wisi-fringe.el.
> 
> * Comment out the line with "gnat_util"; in the file gpr_query.gpr.
> 
> * Make sure gprbuild will use the correct compilers, run gprconfig to select 
> GNAT for Ada and GNATGCC for C. This is especially important if Clang is 
> installed as well.
> 
> * Run build.sh. It should compile everything without errors, but it will fail 
> on installation.
> 
> * Manually install the files gpr_query, all *.exe, and ada_lr1_parse_table.txt 
> into /usr/local/bin/ or another directory on PATH.
> 
> 
> -- 
> Markus

debian LOL

who uses that junkpile in 2019?
archlinux or art of linux s3


  parent reply	other threads:[~2019-12-15 17:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15 10:30 Installing ada-mode 6.2.1 on Debian Buster Markus Schöpflin
2019-11-17 18:45 ` Stephen Leake
2019-11-17 20:59   ` Simon Wright
2019-11-18  9:01   ` Markus Schöpflin
2019-12-15 17:38 ` Azathoth Hastur [this message]
2019-12-15 18:31   ` Simon Wright
2019-12-15 19:05   ` Dennis Lee Bieber
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox