GithubHelp home page GithubHelp logo

Comments (7)

vizs avatar vizs commented on May 22, 2024

I'm having the same issue. To add some more info, I'm running Alpine and my C compiler is clang. I don't think this will help but I do have libvterm and libvterm-dev installed.

from emacs-libvterm.

akirak avatar akirak commented on May 22, 2024

I experience the same issue. I tried to build the package using straight.el and made some changes but encounter the same error. Perhaps the makefile need some changes, but I have no idea how.

from emacs-libvterm.

akermu avatar akermu commented on May 22, 2024

Does ac68d6b fix your issue? In any case, can you post the exact command line you invoke for the build? And is there something in your build folder libvterm-prefix/src/libvterm/.libs?

from emacs-libvterm.

vizs avatar vizs commented on May 22, 2024

It builds now but the problem comes when I try to run vterm.
I get an error saying Cannot open load file: No such file or directory, vterm-module. I tried the melpa package and compiled it on my own. Nothing's different.

The commands I ran:

$ mkdir build
$ cd build
$ cmake ..
$ make

Then added the following to my emacs config.

(add-to-list 'load-path (concat user-emacs-directory "/emacs-libvterm"))
(require 'vterm)

where the emacs-libvterm dir is in ~/etc/emacs.d/emacs-libvterm (~/etc/emacs.d is my user-emacs-directory). FWIW I do have a vterm-module.so file in that path.

And yes I do have the libraries in the directory you mentioned.

$ pwd
/home/viz/etc/emacs.d/emacs-libvterm/build/libvterm-prefix/src/libvterm/.libs
$ ls
libvterm.a  libvterm.la@  libvterm.lai  libvterm.so@  libvterm.so.0@  libvterm.so.0.0.0*

EDIT: I compiled it with gcc along with glibc.

from emacs-libvterm.

akermu avatar akermu commented on May 22, 2024

@vizs Has your emacs enabled support for modules? You can verify that by checking if the variable system-configuration-features contains the string MODULES.

from emacs-libvterm.

vizs avatar vizs commented on May 22, 2024

Good catch. My emacs build didn't have support for modules. Now it works like a charm :)

from emacs-libvterm.

akermu avatar akermu commented on May 22, 2024

Perfect :)

from emacs-libvterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.