[Top][All Lists]

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

Emacs freezes while running `vterm-module-compile'.

From: Hongyi Zhao
Subject: Emacs freezes while running `vterm-module-compile'.
Date: Fri, 3 Dec 2021 12:46:30 +0800

On Ubuntu 20.04.3 LTS, I use the following version of self-compiled GNU Emacs:

`GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.20, cairo version 1.16.0) of 2021-11-14`

At the same time, the following command was used to install
[`emacs-libvterm`]( with
[straight's use-package

(use-package vterm)

But Emacs will freeze at the `vterm-module-compile' step. I've
discussed this problem at here [1-2], but still didn't solve the
problem. The definition of the function `vterm-module-compile' is
located at here [3] with the following content:

(defun vterm-module-compile ()
"Compile vterm-module."
(when (vterm-module--cmake-is-available)
(let* ((vterm-directory
;; NOTE: This is a workaround to fix an issue with how the Emacs
;; feature/native-comp branch changes the result of
;; `(locate-library "vterm")'. See emacs-devel thread
;; for a discussion.
(file-name-directory (locate-library "vterm.el" t))))
"cd " vterm-directory "; \
mkdir -p build; \
cd build; \
cmake -G 'Unix Makefiles' "
" ..; \
make; \
cd -"))
(buffer (get-buffer-create vterm-install-buffer-name)))
(pop-to-buffer buffer)
(if (zerop (let ((inhibit-read-only t))
(call-process "sh" nil buffer t "-c" make-commands)))
(message "Compilation of `emacs-libvterm' module succeeded")
(error "Compilation of `emacs-libvterm' module failed!")))))

Any hints for further inspecting this problem will be highly appreciated.



reply via email to

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