From: Mike Rosset <mike.rosset@gmail.com>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Where do I find the emacs-module.h after make install?
Date: Thu, 21 Jun 2018 07:52:28 -0700 [thread overview]
Message-ID: <CADaV+2XTNAEw7bFSg05fLtzOX4v=fjtgS4+1_nRY1np_29K6pA@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY1jGNYPv+BBG5POYkv=k7ZLLvfMCYq7XCTv5N2X43EuuQ@mail.gmail.com>
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
>
next prev parent reply other threads:[~2018-06-21 14:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-21 14:44 Where do I find the emacs-module.h after make install? Kaushal Modi
2018-06-21 14:52 ` Mike Rosset [this message]
2018-06-21 14:58 ` Kaushal Modi
2018-06-21 15:01 ` Kaushal Modi
2018-06-21 15:07 ` Kaushal Modi
2018-06-21 15:11 ` Mike Rosset
2018-06-21 15:50 ` Eli Zaretskii
2018-06-21 16:12 ` Kaushal Modi
2018-06-21 16:17 ` Mike Rosset
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADaV+2XTNAEw7bFSg05fLtzOX4v=fjtgS4+1_nRY1np_29K6pA@mail.gmail.com' \
--to=mike.rosset@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kaushal.modi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).