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

How to build emacs with modules on ubuntu? #216

Closed
hummuscience opened this issue Jan 18, 2020 · 7 comments
Closed

How to build emacs with modules on ubuntu? #216

hummuscience opened this issue Jan 18, 2020 · 7 comments

Comments

@hummuscience
Copy link

Maybe a little off-topic, but I am struggling to find out how to install emacs on ubuntu with the modules options.

Can this be done using apt-get or do I have to build emacs from source with the --with-modules option?

@ddoherty03
Copy link

ddoherty03 commented Jan 18, 2020

@Cumol, on ubuntu, I recommend adding Kevin Kelley's PPA and installing his emacs 26 package:

sudo add-apt-repository ppa:kelleyk/emacs
sudo apt update
sudo apt-get install emacs26

You may want to do a purge of the ubuntu emacs package before you start.

Also, after you get it installed, I found that ubuntu's use of /bin/dash as the link to /bin/sh causes the compile to choke. I re-linked /bin/sh to /bin/bash and finally got a compile to work.

@hummuscience
Copy link
Author

Do you think installing it using linuxbrew would also do the trick?

brew install --with-modules emacs

@hummuscience
Copy link
Author

Used your suggestion and installed emacs from the ppa. Didn't have to re-link /bin/sh just needed to install libtool and cmake > 3.11 (using brew install cmake).

@Sbozzolo
Copy link
Collaborator

Is any of you guys interested in writing up something in the README regarding using emacs-libvterm on Ubuntu? I suspect that this is a very common problem that would be useful to address for other present and future users

@hummuscience
Copy link
Author

@Sbozzolo I can do this, but how? Do I simply fork the file?

@Sbozzolo
Copy link
Collaborator

If you are familiar with the process of contributing, you can

  1. Fork the repo
  2. Create a new branch
  3. Edit the readme (maybe under the section installation, put a subsection regarding ubuntu users)
  4. Make a pull request

If you are not, or don't want to go through the trouble, you can just write something here and I will take the aforementioned steps. However, this will mark the contribution as mine, which is unfair towards you, if you care about these things.

@hummuscience
Copy link
Author

I will try this. Since it is my first time, please have patience (but I will manage!) :)

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

No branches or pull requests

3 participants