From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: How to compile a portable emacs for Linux? Date: Tue, 11 Sep 2012 13:25:48 +0200 Message-ID: <20120911112548.GA9463@kuru.dyndns-at-home.com> References: <20120911065225.GB2417@kuru.dyndns-at-home.com> <87d31thvci.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1347362770 27826 80.91.229.3 (11 Sep 2012 11:26:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2012 11:26:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 13:26:13 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TBObc-0002xC-75 for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2012 13:26:12 +0200 Original-Received: from localhost ([::1]:37780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBObY-0005sK-CX for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2012 07:26:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBObO-0005ry-25 for help-gnu-emacs@gnu.org; Tue, 11 Sep 2012 07:26:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBObK-00004v-2l for help-gnu-emacs@gnu.org; Tue, 11 Sep 2012 07:25:57 -0400 Original-Received: from mail-ee0-f41.google.com ([74.125.83.41]:56918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBObJ-0008WT-RD for help-gnu-emacs@gnu.org; Tue, 11 Sep 2012 07:25:53 -0400 Original-Received: by eeke49 with SMTP id e49so345294eek.0 for ; Tue, 11 Sep 2012 04:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=NN57OLO86s70XFDz3swM8MSHLhO0/lOJMv3jKLZstx0=; b=p6XWM4kz5MygF1FkHPaUAhqI1DUbMFOB/iwFaR9y0LxG4kOh/w9hkudzFcKTCa7w61 fh1kQPuvd24+vNlFOj697J5LGFwpL6wyNMF/mbeEf+ikDCkpqwyLQn4KCR4dDzIRXpGB 22Rx1dLJHTYSXklsspj8A2e9HWVqVsNc8OAmHGua7cpKles78fRvMag1Pj20oRPeRb8+ 7B1Ev6WA/qAAt34PQfae8fYUdvCcoxXI7tTwa2nhteXDL6fxJrd+1rTFafC3CYWDaQ1H 7fcUPb/2Qc+CZ6SF0dS7dYFJ3tXpc5AMiA3uJOaKa8qhPkt/yGORHA2QixmBfU54+Lo1 B8EQ== Original-Received: by 10.204.148.66 with SMTP id o2mr4551630bkv.43.1347362752852; Tue, 11 Sep 2012 04:25:52 -0700 (PDT) Original-Received: from kuru.dyndns-at-home.com (pb-d-128-141-52-158.cern.ch. [128.141.52.158]) by mx.google.com with ESMTPS id j9sm9218993bkv.0.2012.09.11.04.25.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Sep 2012 04:25:51 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87d31thvci.fsf@kuiper.lan.informatimago.com> User-Agent: Mutt/1.5.21 (2011-07-01) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.83.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86726 Archived-At: On Tue, Sep 11, 2012 at 09:28:13AM +0200, Pascal J. Bourguignon wrote: > Suvayu Ali writes: > > > On Mon, Sep 10, 2012 at 08:44:37PM -0700, Jason Rumney wrote: > >> > >> 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. > I did not think of this! Thanks a lot, if I need it again I'll try this. -- Suvayu Open source is the future. It sets us free.