all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: VanL <van@scratch.space>
To: help-gnu-emacs@gnu.org
Subject: Re: Out of source compilation
Date: Sun, 01 Sep 2019 22:55:37 +1000	[thread overview]
Message-ID: <m2ftlg2n1y.fsf@scratch.space> (raw)
In-Reply-To: 20190901082430.GA19628@tuxteam.de

<tomas@tuxteam.de> writes:

> On Sun, Sep 01, 2019 at 05:57:07AM +0200, Ergus wrote:
>> Hi:
>> 
>> Sorry if this is a too dumb question, but I don't find any related
>> reference.
>> 
>> What's the recommended method to do out of source compilation?
>
> You are talking about compiling Emacs from source?

I was able to build the ordinary Emacs-26.3 source but EmacsMac is stuck.

  xxx% cd emacs-mac
  xxx% . ./autogen.sh 
  Checking whether you have the necessary tools...
  (Read INSTALL.REPO for more details on building Emacs)
  Checking for autoconf (need at least version 2.65) ... ok
  Your system has the required tools.
  Running 'autoreconf -fi -I m4' ...
  autom4te: cannot lock autom4te.cache/requests with mode 2: \
            Operation not supported
  autom4te: cannot lock autom4te.cache/requests with mode 2: \
            Operation not supported
  autom4te: cannot lock autom4te.cache/requests with mode 2: \
            Operation not supported
  Installing git hooks...
  cp: build-aux/git-hooks/ commit-msg pre-commit \
      prepare-commit-msg: No such file or directory
  ./autogen.sh:360: you have running jobs.
  
\help

>> Right now I am doing a cd dir && make. But maybe there is
>> something else, more complete?
>> 
>> Maybe a variable in the locals file?? Or a set command?
>
> If my guess above was right, it's easy (this is true of most well
> managed "modern" Autotools projects):
>
>  - just make yourself a build directory somewhere (in my case
>    it's just a neighbour of the source dir, but that's not
>    necessary)
>
>  - cd to your build directory
>
>  - call configure script from your build directory
>
>  - the build machinery gets deployed in your build directory.
>
>  - do there make && make install as usual.
                  ^
                  +--- Is it possible to set the target install-dir
                       after `make' soas not to confuse existing installs?

-- 
© 2019 VanL
gpg using EEF2 37E9 3840 0D5D 9183  251E 9830 384E 9683 B835
          'If the bug bites don't fight it.' - Nancy S. Steinhardt




  reply	other threads:[~2019-09-01 12:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-01  3:57 Out of source compilation Ergus
2019-09-01  8:24 ` tomas
2019-09-01 12:55   ` VanL [this message]
2019-09-01 14:19     ` tomas
2019-09-01 16:22   ` Ergus
2019-09-01 16:52     ` Óscar Fuentes
2019-09-01 17:12     ` tomas

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ftlg2n1y.fsf@scratch.space \
    --to=van@scratch.space \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.