emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Compiling Org-mode from orgmode.org repository for an Emacs 24.3 at a nonstandard location
@ 2013-05-26 15:27 *
  2013-05-26 17:28 ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: * @ 2013-05-26 15:27 UTC (permalink / raw)
  To: emacs-orgmode

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

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 install

My questions are: For my Emacs set-up, are these local.mk settings
good? Does the command line sequence make sense?

Thanks!!!

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

* Re: Compiling Org-mode from orgmode.org repository for an Emacs 24.3 at a nonstandard location
  2013-05-26 15:27 Compiling Org-mode from orgmode.org repository for an Emacs 24.3 at a nonstandard location *
@ 2013-05-26 17:28 ` Achim Gratz
  2013-05-26 20:47   ` *
  0 siblings, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2013-05-26 17:28 UTC (permalink / raw)
  To: emacs-orgmode

* 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.

> 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

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

* Re: Compiling Org-mode from orgmode.org repository for an Emacs 24.3 at a nonstandard location
  2013-05-26 17:28 ` Achim Gratz
@ 2013-05-26 20:47   ` *
  2013-05-26 21:10     ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: * @ 2013-05-26 20:47 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

On 5/26/13, Achim Gratz <Stromeko@nexgo.de> 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
>
>
>

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

* Re: Compiling Org-mode from orgmode.org repository for an Emacs 24.3 at a nonstandard location
  2013-05-26 20:47   ` *
@ 2013-05-26 21:10     ` Achim Gratz
  0 siblings, 0 replies; 4+ messages in thread
From: Achim Gratz @ 2013-05-26 21:10 UTC (permalink / raw)
  To: emacs-orgmode

* writes:
> Should sitelispdir point to the location of "datadir" as well?

No.

> 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")

None of the above.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

end of thread, other threads:[~2013-05-26 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-26 15:27 Compiling Org-mode from orgmode.org repository for an Emacs 24.3 at a nonstandard location *
2013-05-26 17:28 ` Achim Gratz
2013-05-26 20:47   ` *
2013-05-26 21:10     ` Achim Gratz

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).