[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed to install auctex from within Emacs with straight.
From: |
Hongyi Zhao |
Subject: |
Re: Failed to install auctex from within Emacs with straight. |
Date: |
Tue, 17 Aug 2021 21:37:53 +0800 |
On Tue, Aug 17, 2021 at 2:48 PM Tassilo Horn <tsdh@gnu.org> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> Hi,
>
> > I'm on Ubuntu 20.04.2 LTS, and use straight [1] as the Emacs package
> > manager. Now, I try to install auctex from within Emacs with straight,
> > but it always freezes at the configure stage. I describe the detailed
> > test steps as follows.
>
> I've never used straight.el but the first thing I'd try was running
> ./configure in the checkout made by straight.el. Does that finish?
>
> Then I'd try something like
>
> (let ((default-directory "~/auctex-checkout"))
> (call-process "~/auctex-checkout/configure" nil "*configure-output*" t))
I do another similar but more simple test, i.e., `C-x C-e' the
following code in *scratch* buffer:
(let ((default-directory "~/auctex"))
(call-process "ls ~/auctex/configure" nil "*configure-output*" t))
Then I meet the following error:
Debugger entered--Lisp error: (file-missing "Searching for program"
"No such file or directory" "ls ~/auctex/configure")
call-process("ls ~/auctex/configure" nil "*configure-output*" t)
(let ((default-directory "~/auctex")) (call-process "ls
~/auctex/configure" nil "*configure-output*" t))
(progn (let ((default-directory "~/auctex")) (call-process "ls
~/auctex/configure" nil "*configure-output*" t)))
eval((progn (let ((default-directory "~/auctex")) (call-process "ls
~/auctex/configure" nil "*configure-output*" t))) t)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
But the file clearly exists:
$ ls ~/auctex/configure
/home/werner/auctex/configure
Where did I go wrong?
Best, Hongyi