emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo)
To: emacs-orgmode@gnu.org
Subject: Re: Installing from git
Date: Wed, 02 Jul 2014 16:29:04 -0400	[thread overview]
Message-ID: <878uob1p4f.fsf@gmail.com> (raw)
In-Reply-To: CAMfbzvBZnMb-XFrhwG+R1V1_kvOSW57Qwx_VTgfZh9sGpt4WeA@mail.gmail.com

Vicente Vera <vicentemvp@gmail.com> 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.

  parent reply	other threads:[~2014-07-02 20:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 22:44 Installing from git Vicente Vera
2014-06-30 22:51 ` John Hendy
2014-07-01 17:21   ` Achim Gratz
2014-07-01 21:32     ` John Hendy
2014-07-01 20:16   ` Vicente Vera
2014-07-02 17:17     ` Achim Gratz
2014-07-02 18:25 ` Miguel Ruiz
2014-07-02 20:31   ` Achim Gratz
2014-07-02 20:29 ` Jorge A. Alfaro-Murillo [this message]
2014-07-02 20:39   ` Achim Gratz
2014-07-02 21:17     ` Jorge A. Alfaro-Murillo
2014-07-03 16:40       ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
2014-07-03  2:52 Vicente Vera
2014-07-03 16:46 ` Achim Gratz
2015-05-14 13:04 Installing from Git Marcin Borkowski
2015-05-14 13:33 ` Marcin Borkowski
2015-05-14 13:43   ` Jorge A. Alfaro-Murillo
2015-05-15  0:35 Vicente Vera

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878uob1p4f.fsf@gmail.com \
    --to=jorge.a.alfaro@gmail.com \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).