[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where do I find the emacs-module.h after make install?
From: |
Mike Rosset |
Subject: |
Re: Where do I find the emacs-module.h after make install? |
Date: |
Thu, 21 Jun 2018 07:52:28 -0700 |
Hello Kaushal,
emacs-module.h is not installed with make install. You can get it from the
dist tarball, or git version control. The easiest way it with wget like so.
wget
"http://git.savannah.gnu.org/cgit/emacs.git/plain/src/emacs-module.h?h=emacs-25.2"
-O emacs-module.h
I use this method in my go lang emacs module guide see
https://mrosset.github.io/emacs-module/. If you need a more
comprehensive example
Mike
On Thu, Jun 21, 2018 at 7:45 AM Kaushal Modi <kaushal.modi@gmail.com> wrote:
> Hello,
>
> I am building using the latest emacs master with the --with-modules option.
> The emacs-module.h is getting built in the src/ dir in the build folder.
>
> But make install is not copying that file to a hierarchy in the
> installation destination.. should it? I thought it should get copied to an
> include/ directory, but it's not.
>
> For now, it seems like one needs to manually build emacs themselves and
> refer to the src/emacs-module.h if they want to use the Modules feature. Is
> that right?
>
> --
>
> Kaushal Modi
>