[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compile a portable emacs for Linux?

From: Pascal J. Bourguignon
Subject: Re: How to compile a portable emacs for Linux?
Date: Tue, 11 Sep 2012 09:28:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Suvayu Ali <> 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__           
A bad day in () is better than a good day in {}.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]