Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open load file: No such file or directory, vterm-module #113

Closed
joefromct opened this issue Aug 6, 2019 · 6 comments · Fixed by #123
Closed

Cannot open load file: No such file or directory, vterm-module #113

joefromct opened this issue Aug 6, 2019 · 6 comments · Fixed by #123

Comments

@joefromct
Copy link

joefromct commented Aug 6, 2019

OS: MacOS
Emacs Version 27.0.50 (9.0) compiled from source with the following configure options:

./configure  --with-ns --without-makeinfo\
 --with-imagemagick --with-jansson\
 --with-mailutils  --with-multicolor-fonts 

As in the subject line, i'm getting Cannot open load file: No such file or directory, vterm-module.

Followed the master branches README instructions exactly, and even with a make run still getting said error.

Is there some shared library setting I need to be compiling with? I'm not exactly sure how shared/linked libraries work on osx/with emacs/etc.

I have read and tried some suggestions from #92, and #85 to no avail (yet). I'll play with it a bit more this evening.

Any tips appreciated, -Joe

Update

I just downloaded 26.2 from emacsformacos.com and vterm started without any issues.... It's either something regarding 27.x or my compile options. Still investigating.

@joefromct
Copy link
Author

joefromct commented Aug 6, 2019

FYI, I changed my configure line to include --with-modules and now all seems to work...

Here's my final configure line:

./configure  --with-ns --without-makeinfo\
 --with-imagemagick --with-json\
 --with-mailutils  --with-modules

Leaving this open in case a check or readme addition should be added? thanks

@eddelbuettel
Copy link

eddelbuettel commented Aug 8, 2019

Ditto -- just cloned and installed (on Ubuntu 19.04, emacs 26.1) and all I got to show now is 'No such file or directory, vterm-module'. Any hints?

@akermu
Copy link
Owner

akermu commented Aug 8, 2019

@eddelbuettel Could you verify that module-file-suffix is not nil? If it is please configure you Emacs with --with-modules. If this doesn't solve your problem, please open another issue.

@eddelbuettel
Copy link

eddelbuettel commented Aug 8, 2019

@akermu Asking C-h v about it says 'nil'. I am running the standard Debian / Ubuntu package. I have no intention of building Emacs from source. If I had missed that that this may have been a requirement here. I'll just move on without vterm then. So can you clarify, please: should this work, or did it require a rebuild?

@akermu
Copy link
Owner

akermu commented Aug 8, 2019

@eddelbuettel It does require a custom build as neither the ubuntu nor the debian package have modules support enabled.

You might want to try to compile emacs with modules support, it's very easy:

git clone git://git.sv.gnu.org/emacs.git
cd emacs
git checkout emacs-26.2
./autogen.sh
./configure --with-modules
make

@eddelbuettel
Copy link

Thanks for the clarification. I'll wait til the maintainer of the Emacs package decides to adopt modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants