all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Installing from git
@ 2014-06-30 22:44 Vicente Vera
  2014-06-30 22:51 ` John Hendy
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Vicente Vera @ 2014-06-30 22:44 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

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. Currently I followed these
steps:

- cd ~/org_from_git/
- git clone git://orgmode.org/org-mode.git

¿Do i need to tweak 'local.mk' so the prefix variable points to
/usr/local/share before running make?
¿Which make option should i use (besides 'make autoloads')?

Thanks in advance.

[-- Attachment #2: Type: text/html, Size: 761 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Installing from git
@ 2014-07-03  2:52 Vicente Vera
  2014-07-03 16:46 ` Achim Gratz
  0 siblings, 1 reply; 18+ messages in thread
From: Vicente Vera @ 2014-07-03  2:52 UTC (permalink / raw)
  To: Stromeko, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

Thank you for your replies, I think i'm beginning to understand the
process. These are the changes I made to local.mk:

prefix  = /usr/local/share
datadir = /usr/local/share/emacs/24.4.50/etc/org (actually, this directory
belongs to the built-in Org installation)

Then:
$ make
$ sudo make install

And it worked fine. The info manual is now updated, so is everything else.

So, overall, the purpose of running 'make install' (or 'make up2', to also
pull from the Git repository) is to avoid overriding the default Org
installation that comes with Emacs?

Going through the variables in local.mk it seems this is the idea, except
maybe for 'infodir' which in my case points to the place where Emacs threw
all its info files (including Org).

To sum up, the process made the following changes on my system:
- Org lisp files from Git now reside in /usr/local/share/emacs/site-lisp
(which is in load-path by default). The original built-in Org lisp files
are untouched.
- M-x org-version shows the correct updated version and location.
- M-x info shows the updated info manual which now resides in
/usr/local/share/info (I think it replaced the built-in manual?).
- Org data files now reside in /usr/local/share/emacs/24.4.50/etc/org
(replacing the built-in files?).

No extra elisp code was needed (adding the cloned repository to load-path,
etc.).

[-- Attachment #2: Type: text/html, Size: 1531 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Installing from Git
@ 2015-05-14 13:04 Marcin Borkowski
  2015-05-14 13:33 ` Marcin Borkowski
  0 siblings, 1 reply; 18+ messages in thread
From: Marcin Borkowski @ 2015-05-14 13:04 UTC (permalink / raw)
  To: Org-Mode mailing list

Hi all,

I wanted to upgrade Org, using the package manager, and it failed.
Being accustomed to the package manager failing (for whatever reason),
I deleted Org-mode and decided to go with the git version.  I did
a clone, then make, make doc and sudo make install, but M-x org-version
says its

Org-mode version 8.2.10 (release_8.2.10 @
/usr/local/share/emacs/25.0.50/lisp/org/)

Shouldn't it be a bit higher?  Or maybe it's the Org bundled with Emacs?
(I'm on: GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.10.8) of
2015-01-02.) What should I do to use the bleeding edge version?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Installing from Git
@ 2015-05-15  0:35 Vicente Vera
  0 siblings, 0 replies; 18+ messages in thread
From: Vicente Vera @ 2015-05-15  0:35 UTC (permalink / raw)
  To: mbork, emacs-orgmode

Hello. This is my Org-from-Git recipe:

After you've cloned the repository (master branch), run "make" and
then edit the "local.mk" file. There you'll find a variable named
"prefix"; change it according to your Emacs installation.

In my setup, Emacs files live in /usr/share/emacs/ so I leave "prefix"
unchanged. In a previous installation it was in
/usr/local/share/emacs/ so I wrote "prefix = /usr/local/share".

Only then run "make install". Now the Info manual will be correctly installed.

Also important, add this line to your init file:

(require 'org-loaddefs)

That should do it.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-05-15  0:35 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.