[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Compiling Org-mode from orgmode.org repository for an Emacs 24.3
From: |
* |
Subject: |
Re: [O] Compiling Org-mode from orgmode.org repository for an Emacs 24.3 at a nonstandard location |
Date: |
Sun, 26 May 2013 15:47:12 -0500 |
On 5/26/13, Achim Gratz <address@hidden> wrote:
> * writes:
>> Dear list...
>>
>> I've compiled Emacs 24.3 into this computer. During this process, I've
>> set the following variables:
>>
>> --with-x=no
>> --prefix=/home/me/prefix/emacs-24.3
>> bindir=/home/me/bin
>>
>> Beyond these customizations, I think everything else is default.
>> /home/me/bin/ is already in $PATH...
>>
>> I want to compile and install the Org-mode of orgmode.org's git
>> repository...
>>
>> After cloning and switching to maint branch, I'm setting the following
>> variables in local.mk generated by make config:
>>
>> EMACS = emacs
>> prefix = /home/me/prefix
>> lispdir= $(prefix)/emacs-24.3/share/emacs/24.3/lisp/org
>> datadir = $(prefix)/emacs-24.3/share/emacs/24.3/etc/org
>> infodir = $(prefix)/emacs-24.3/share/info
>
> Don't. This would be trying to overwrite the files that come with
> Emacs. It seems you are trying to set up a private "/usr/local" in
> "/home/me/prefix", so the canonical place to install Org into would be:
>
> prefix := /home/me/prefix/share
> lispdir := $(prefix)/emacs/site-lisp/org
> datadir := $(prefix)/emacs/etc/org
>
> You need to check that sitelispdir for your Emacs points to that place
> as well.
Super! Thanks...
Should sitelispdir point to the location of "datadir" as well?
I mean: Do I need both of the following lines (or only the first one)
in my .emacs file?
(add-to-list 'load-path "/home/me/prefix/share/emacs/site-lisp/org")
(add-to-list 'load-path "/home/me/prefix/emacs/etc/org")
>> Once these changes to local.mk have been made, I'm planning to install
>> Org-mode by simply running "make install". In all, the command line
>> sequence for installing and compiling Org-mode would be like:
>>
>> git clone git://orgmode.org/org-mode.git
>> cd org-mode
>> git checkout maint
>> make config
>> emacs local.mk (make above changes...)
>
> make config-all
> make -n install
>
>> make install
>>
>> My questions are: For my Emacs set-up, are these local.mk settings
>> good? Does the command line sequence make sense?
>
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> SD adaptation for Waldorf Blofeld V1.15B11:
> http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
>
>
>