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: Help with installing Emacs 23(CVS) to a custom path Date: Thu, 21 Jan 2010 00:43:12 -0800 Message-ID: <4B5813A0.4050905@gmail.com> References: <87bpgoasus.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264063886 15600 80.91.229.12 (21 Jan 2010 08:51:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jan 2010 08:51:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Tim X Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 21 09:51:18 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NXsl4-0001WG-9r for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jan 2010 09:51:18 +0100 Original-Received: from localhost ([127.0.0.1]:60238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXsl4-0005rJ-24 for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jan 2010 03:51:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXsdQ-00042K-9O for help-gnu-emacs@gnu.org; Thu, 21 Jan 2010 03:43:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXsdJ-00040t-0K for help-gnu-emacs@gnu.org; Thu, 21 Jan 2010 03:43:21 -0500 Original-Received: from [199.232.76.173] (port=37341 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXsdI-00040d-K4 for help-gnu-emacs@gnu.org; Thu, 21 Jan 2010 03:43:16 -0500 Original-Received: from mail-pw0-f47.google.com ([209.85.160.47]:64459) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXsdI-0001Um-4Z for help-gnu-emacs@gnu.org; Thu, 21 Jan 2010 03:43:16 -0500 Original-Received: by pwj10 with SMTP id 10so4203259pwj.26 for ; Thu, 21 Jan 2010 00:43:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=BM7D6jS8CXfg1N80fIVHHA0W0qCqLcpU/Md/HfiJFWI=; b=UW3PuqqT/o9Z+PhA2wwqJn9rAua1vF2Kr/GjD6XrsicnRZiqvHBZe59r8T31damKzK XYYgrzMGPzBrHZZfZuZxWCU1wmIZ2Tv79PNNNSq8azSZ4OQedFomgdkDDlfsvTiItQY3 wFOhtLHE5Kgjrtt1klvS+jBhqtYX00sEkGokw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=BpQjjGiJ472GwTL/xrn9PPPcoerjgxmjnNQD5l+XqBxuMfcqAFdbaHbNkPkFTbM7gU owkCqfx8Qj/6nBYVKoZI4r44mzMTLXqkbPgviz8gyQtniBIVY8PWZ8EV6Gs3exCcMai6 qgL82FsSmB5eIigs2APcxOBNIsFKOnKdWbekA= Original-Received: by 10.141.88.5 with SMTP id q5mr819720rvl.249.1264063395143; Thu, 21 Jan 2010 00:43:15 -0800 (PST) Original-Received: from bhishma.kuru (d216-232-0-68.bchsia.telus.net [216.232.0.68]) by mx.google.com with ESMTPS id 21sm850693pzk.3.2010.01.21.00.43.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 21 Jan 2010 00:43:13 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-3.fc11 Lightning/1.0pre Thunderbird/3.0 In-Reply-To: <87bpgoasus.fsf@lion.rapttech.com.au> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71340 Archived-At: On Wednesday 20 January 2010 10:12 PM, Tim X wrote: > Suvayu Ali writes: > >> Hi everyone, >> >> I was trying to install Emacs 23 from CVS on a Scientific Linux 4 machine and >> ran into some problems. I am limited with write permissions to only my home >> area and the /scratchdisk. So I checked out the CVS tree in a directory in >> /scratchdisk and built emacs using >> >> $ ./configure >> $ make bootstrap >> >> Then I edited the Makefile to use ${prefix}=/scratchdisk/myfolder and ran >> >> $ make install >> >> But this fails as make tries to install _some_ files in /usr/local/share/ >> >> How do I ask make to install everything in /scratchdisk/myfolder ? Also can I >> remove my build directory after `make install' succeeds? (short on disk space) >> >> Thanks for any pointers. > > There are a couple of things > > 1. Don't install. run form the directory you built emacs in. I do this a > lot and it works fine. > > 2. the configure program has the option --with-prefix, which you can use > to control the leading prefix for all the other bits. For exmaple, > --with-prefix=/usr/local. This will still want to put things in > /usr/local/libexec, l/usr/local/bin, /usr/local/share/emacs, > /usr/local/share/emacs/site-lisp etc. So, create these dirs off the root > of where you want it to be isntalled. i.e. /home/fred/emacs/libexec, > /home/fred/emacs/share, etc. > > 3. If you run ./configure --help, it will list all the options to > configure. Included in these optons are all the path setings i.e. > bindir, libdir etc. Use all these to set the paths where you want them > with configure i.e. > > ./configure --with-libdir=/home/fred/emacs/lib > --with-bindir=/home/fred/bin --with-infodir=/home/fred/info etc. > > Personally, I would just run from the build dir. Thanks Tim and Jason for your replies. My problem with running emacs from the build directory is disk space, I only have a 300 MB quota. :-\ I followed Eli's suggestion and have everything worked out. :) > Tim > -- Suvayu Open source is the future. It sets us free.