From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo) Subject: Re: Installing from git Date: Wed, 02 Jul 2014 16:29:04 -0400 Message-ID: <878uob1p4f.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2R9a-0001uu-W3 for emacs-orgmode@gnu.org; Wed, 02 Jul 2014 16:29:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2R9V-00046r-MQ for emacs-orgmode@gnu.org; Wed, 02 Jul 2014 16:29:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:49411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2R9V-00046I-G4 for emacs-orgmode@gnu.org; Wed, 02 Jul 2014 16:29:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X2R9Q-0003KB-VT for emacs-orgmode@gnu.org; Wed, 02 Jul 2014 22:29:08 +0200 Received: from nat-130-132-173-153.central.yale.edu ([130.132.173.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jul 2014 22:29:08 +0200 Received: from jorge.a.alfaro by nat-130-132-173-153.central.yale.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jul 2014 22:29:08 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Vicente Vera writes: > Hello. I'm quite confused with the installation options. > > Recently started out a Debian base system and compiled Emacs from the > bzr repository. That came out fine, so I ran 'make install' and now > Emacs 24.4.50 sits in /usr/local/bin, /usr/local/share, etc. > > I want to install the master branch of org-mode. I have both emacs and org-mode from git. For emacs: #+BEGIN_SRC shell git clone git://git.savannah.gnu.org/emacs.git make distclean ./configure make #+END_SRC You do not need the "make install", I leave the emacs files where I want them on my home folder (also useful if I do not have root access in a server), and create two symbolic links to emacs/lib-src/emacsclient and emacs/src/emacs in ~/bin/ For org, I once read a discussion in this list about not doing this but that a lot of people do it, it keeps working for me, so I keep doing it. I clone the repository: #+BEGIN_SRC shell git clone git://orgmode.org/org-mode.git make #+END_SRC Then I remove the directory emacs/lisp/org and create a direct link to org-mode/lisp instead. Also I remove emacs/etc/org (or maybe this doesn't cause conflicts?) Also, since the git repository of org has the etc files in a different location, emacs cannot find them; the following takes care of that: #+BEGIN_SRC emacs-lisp (setq org-odt-data-dir "path_to_org-mode_git_directory/etc/") #+END_SRC Finally, this takes care of the documentation: #+BEGIN_SRC emacs-lisp (eval-after-load 'info '(progn (info-initialize) (add-to-list 'Info-directory-list "path_to_org-mode_git_directory/doc"))) #+END_SRC Best, Jorge.