Comments (16)
What's the output of ldd ~/.emacs.d/dist/emacs-libvterm/vterm-module.so
?
from emacs-libvterm.
I also switched the build system to CMake. Could you update emacs-libvterm to master
and rebuild the module?
from emacs-libvterm.
I updated emacs-livterm, rebuilt the module, but when I (require 'vterm)
I get an error:
Loading file /usr/local/apps/emacs-26.0.90/share/emacs/26.0.90/lisp/term/xterm.elc failed to provide feature ‘vterm-module’
ldd vterm-module.so
returns:
linux-vdso.so.1 (0x00007ffc3ff6d000)
libvterm.so.0 => /usr/lib64/libvterm.so.0 (0x00007f073913a000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f0738f37000)
libc.so.6 => /lib64/libc.so.6 (0x00007f0738b7e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0739552000)
Also, during the build I noticed that it reported: Performing download step (git clone) for 'emacs'
. I'm not sure which emacs version it cloned, but I'm using 26.0.90, whose source I already have in /home/me/compilation/editors/emacs/emacs/emacs-26.0.90
. Would it be possible to just reuse that by doing a make EMACS-SRC=/home/me/compilation/editors/emacs/emacs/emacs-26.0.90
like I did with the previous make system?
from emacs-libvterm.
Would it be possible to just reuse that
I will add an option to the build system.
from emacs-libvterm.
What happens if you call make run
?
from emacs-libvterm.
make run
builds and runs a new emacs (compile log here). From there, a (require 'vterm)
gives me this error:
Debugger entered--Lisp error: (error "Loading file /usr/local/apps/emacs-26.0.90/share/emacs/26.0.90/lisp/elec-pair.elc failed to provide feature ‘vterm-module’")
require(vterm-module)
eval-buffer(#<buffer *load*> nil "/home/me/.emacs.d/dist/emacs-libvterm/vterm.el" nil t) ; Reading at buffer position 218
load-with-code-conversion("/home/me/.emacs.d/dist/emacs-libvterm/vterm.el" "/home/me/.emacs.d/dist/emacs-libvterm/vterm.el" nil t)
require(vterm)
eval((require 'vterm) nil)
eval-expression((require 'vterm) nil nil 127)
funcall-interactively(eval-expression (require 'vterm) nil nil 127)
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
This time elec-pair.elc
is reported to be the culprit, but previous to this make run
session, other .el or .elc files were reported to be the culprit. I'm not sure why that is.
from emacs-libvterm.
If you pull the latest master
, you can now provide your own emacs source during the build like this:
cmake -DEMACS_SOURCE=/home/me/compilation/editors/emacs/emacs/emacs-26.0.90 ..
from emacs-libvterm.
I don't know, why your emacs can't load the module and I can't reproduce the issue on my side. The error messages seem also really weird, why does your emacs try to load the feature from a random built-in elisp file?
Maybe try it with emacs 25.3?
from emacs-libvterm.
I just tried cmake -DEMACS_SOURCE=/home/me/compilation/editors/emacs/emacs/emacs-26.0.90 ..
(log here).
Then I started a fresh emacs session using emacs -Q
, and did:
(add-to-list 'load-path "~/.emacs.d/dist/emacs-libvterm")
(require 'vterm)
and got a "Required feature ‘vterm-module’ was not provided"
error (debug output here).
Then doing a second (require 'vterm)
got me a "Loading file /usr/local/apps/emacs-26.0.90/share/emacs/26.0.90/lisp/help-mode.elc failed to provide feature ‘vterm-module’"
error (full log here).
I am not sure why this is happening either. It's strange. I will try with emacs 25.3.
from emacs-libvterm.
Hi. Same error on emacs master, can't even get to "Required feature ‘vterm-module’ was not provided". Just always "Not such file or directory".
from emacs-libvterm.
please ignore my prev comment, after recompiling with modules it works.
from emacs-libvterm.
This works for me now with the latest emacs-libvterm and emacs 26.0.90.
from emacs-libvterm.
Getting this same error on Ubuntu 16.04 (WSL). Works flawlessly with basically identical emacs dotfile on CentOS 7. Had to install cmake manually if that matters..
from emacs-libvterm.
@sheikki How do you install emacs? And has it module support?
from emacs-libvterm.
On all boxes Emacs 26.2.90 release compiled from sauce with module support. On WSL 16.04 Ubuntu the first time vterm-package.el fails to provide vterm. On subsequent restarts it's either xterm or undo-tree that complains about vterm
from emacs-libvterm.
Could you please open a fresh issue?
from emacs-libvterm.
Related Issues (20)
- dupplicated issue
- When I run vterm from ssh tramp, from "/" directory work fine but from $HOME not working HOT 1
- Width calculation off in display-line-numbers-mode HOT 1
- VTerm cursor is at wrong position if we have decomposed UTF-8 characters
- can I create a vterm buffer and immediately run a command? HOT 2
- Tramp-login-shells custom doesn't match type
- clear scroll back not working when the input is blocked HOT 1
- vterm+tmux : not able to scroll up with mouse
- vterm-module-compile could not detect build failure
- unable to locally remap default face HOT 1
- Is there a function that behaves like `vterm-clear`, but deletes the previous lines in the shell as well? HOT 3
- Terminal programs do not receive shortcuts led by the Shift modifier
- Text is not visible HOT 2
- When starting vterm abfter a new compile I get the error "Wrong number of arguments: #<subr string-match>, 4"
- Error compile vterm-module and change reques for cmake 3.10 and target_include_directories(vterm-module ...)
- auto-dim-other-buffers broken by recent face changes
- Hostname issue in bash HOT 3
- Need compatibility check and auto rebuild for native module
- can emacs and libvterm run standalone as a terminal? HOT 1
- Option to run a custom command instead of the sell HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-libvterm.