comp.lang.ada
 help / color / mirror / Atom feed
* Installing ada-mode 6.2.1 on Debian Buster
@ 2019-11-15 10:30 Markus Schöpflin
  2019-11-17 18:45 ` Stephen Leake
  2019-12-15 17:38 ` Azathoth Hastur
  0 siblings, 2 replies; 7+ messages in thread
From: Markus Schöpflin @ 2019-11-15 10:30 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-12-15 19:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2019-12-15 18:31   ` Simon Wright
2019-12-15 19:05   ` Dennis Lee Bieber

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