all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to compile a portable emacs for Linux?
Date: Tue, 11 Sep 2012 09:28:13 +0200	[thread overview]
Message-ID: <87d31thvci.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: mailman.8576.1347346364.855.help-gnu-emacs@gnu.org

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> On Mon, Sep 10, 2012 at 08:44:37PM -0700, Jason Rumney wrote:
>> On Tuesday, 11 September 2012 10:44:26 UTC+8, Z C  wrote:
>> 
>> > But I have specific need: I need to run emacs on multiple computers
>> > and the path is not a constant. So how can I build a portable
>> > version of emacs?
>> > 
>> > For instance, I want to put the program and all its data in a folder
>> > named emacs, and this folder may have different path on different
>> > computers: /media/disk/emacs or /home/xxx/emacs or ...., and I want
>> > to make it run on those computers.
>> 
>> Don't make install. Just copy the results of make (.o and .c files can
>> be omitted if you are short on space).  If Emacs finds it is not
>> installed in the configured path, it will assume that it is running
>> uninstalled, and will look for files relative to its location in the
>> src directory.
>> 
>
> I do not think that will work; what about linked libraries?  It will
> work only when the linked libraries are at the same location on the
> different systems, at least that is what I recall when I wanted
> something like this myself a few years back.

You can copy the linked libraries you need and use LD_LIBRARY_PATH to
tell emacs where they are.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.


  parent reply	other threads:[~2012-09-11  7:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.8568.1347333397.855.help-gnu-emacs@gnu.org>
2012-09-11  3:44 ` How to compile a portable emacs for Linux? Jason Rumney
2012-09-11  6:52   ` Suvayu Ali
     [not found]   ` <mailman.8576.1347346364.855.help-gnu-emacs@gnu.org>
2012-09-11  7:28     ` Pascal J. Bourguignon [this message]
2012-09-11 11:25       ` Suvayu Ali
2012-09-11  2:44 Z C

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=87d31thvci.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --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.