ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnu Emacs Ada mode 8.1.0 released.


From: Manuel Gómez
Subject: Re: Gnu Emacs Ada mode 8.1.0 released.
Date: Fri, 27 Oct 2023 21:29:00 +0200
User-agent: Mozilla Thunderbird

I got this error when installing gpr-query-1.0.4:

~/.emacs.d/elpa/gpr-query-1.0.4$ LANG=C ./install.sh
installing gpr-query executables to /home/mgr/.local/bin
alr is /home/mgr/bin/alr
cp: cannot stat 'emacs_gpr_query/bin/*': No such file or directory

One way to fix it is to change build.sh so it makes a link from emacs_gpr_query to the directory name used by Alire for the downloaded crate.

Maybe Alire should have a way to specify a destination directory, and it would be more direct.

The patch:

--- build.sh~   2023-10-27 19:49:29.397980661 +0200
+++ build.sh    2023-10-27 21:18:32.431090190 +0200
@@ -12,7 +12,8 @@
     echo "building gpr_query via Alire; compiler:"
     alr toolchain
     alr get emacs_gpr_query~1.0.1
-    cd emacs_gpr_query_*; alr build --release
+    ln -sf `alr get --dirname emacs_gpr_query~1.0.1` emacs_gpr_query
+    cd emacs_gpr_query; alr build --release

 elif type gprbuild; then
     echo "building gpr_query via gnat compiler"






reply via email to

[Prev in Thread] Current Thread [Next in Thread]