emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Mixed installation on Windoze
@ 2012-05-31 17:44 Markus Heller
  2012-05-31 18:06 ` Sebastien Vauban
  2012-05-31 18:45 ` Achim Gratz
  0 siblings, 2 replies; 6+ messages in thread
From: Markus Heller @ 2012-05-31 17:44 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

since the last update this morning, M-x org-version reports a mixed
installation; see below:

,----
| Org-mode version 7.8.11 (release_7.8.11-24-g4144c5 @ mixed installation!
| c:/Program Files (x86)/emacs-23.3/lisp/org/ and
| c:/Users/mheller/AppData/Roaming/.emacs.d/org-mode/lisp/)
`----

Here's the relevant part of my .emacs (taken from Bernt's documentation):

,----
| ;; no need to compile the sources
| (add-to-list 'load-path "~/.emacs.d/org-mode/lisp/")
| (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp/")
| (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
| (require 'org-install)
`----

Any idea how this happened?  And how to get rid of the unwanted path in
c:/Program Files (x86)/...?

Thanks and Cheers
Markus

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

* Re: Mixed installation on Windoze
  2012-05-31 17:44 Mixed installation on Windoze Markus Heller
@ 2012-05-31 18:06 ` Sebastien Vauban
  2012-05-31 18:45 ` Achim Gratz
  1 sibling, 0 replies; 6+ messages in thread
From: Sebastien Vauban @ 2012-05-31 18:06 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Markus,

Markus Heller wrote:
> since the last update this morning, M-x org-version reports a mixed
> installation; see below:
>
> ,----
> | Org-mode version 7.8.11 (release_7.8.11-24-g4144c5 @ mixed installation!
> | c:/Program Files (x86)/emacs-23.3/lisp/org/ and
> | c:/Users/mheller/AppData/Roaming/.emacs.d/org-mode/lisp/)
> `----
>
> Here's the relevant part of my .emacs (taken from Bernt's documentation):
>
> ,----
> | ;; no need to compile the sources
> | (add-to-list 'load-path "~/.emacs.d/org-mode/lisp/")
> | (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp/")
> | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
> | (require 'org-install)
> `----
>
> Any idea how this happened?  And how to get rid of the unwanted path in
> c:/Program Files (x86)/...?

To be sure you don't load anything unwanted (ie, in a bad directory), make
sure all your load-path additions are *at the beginning of your Emacs config
file*.

I guess you've those lines in the middle of your config file, and some other
package loads Org before its path is correctly set. This is the only
explanation I can see.

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: Mixed installation on Windoze
  2012-05-31 17:44 Mixed installation on Windoze Markus Heller
  2012-05-31 18:06 ` Sebastien Vauban
@ 2012-05-31 18:45 ` Achim Gratz
  2012-05-31 18:56   ` Markus Heller
  1 sibling, 1 reply; 6+ messages in thread
From: Achim Gratz @ 2012-05-31 18:45 UTC (permalink / raw)
  To: emacs-orgmode

Markus Heller writes:
> ,----
> | ;; no need to compile the sources
> | (add-to-list 'load-path "~/.emacs.d/org-mode/lisp/")
> | (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp/")
> | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
> | (require 'org-install)
> `----
>
> Any idea how this happened?  And how to get rid of the unwanted path in
> c:/Program Files (x86)/...?

You don't, this is the org version that came with Emacs and even if you
remove the path and the files in it, the real problem — the autoload
definitions that were generated from it — would still be there.  You
need to do either of:

make uncompiled
make compile

to produce a complete uncompiled or compiled orgmode in the git work
tree.


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

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

* Re: Mixed installation on Windoze
  2012-05-31 18:45 ` Achim Gratz
@ 2012-05-31 18:56   ` Markus Heller
  2012-05-31 19:25     ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Heller @ 2012-05-31 18:56 UTC (permalink / raw)
  To: emacs-orgmode

Achim Gratz <Stromeko@nexgo.de> writes:

> Markus Heller writes:
>> ,----
>> | ;; no need to compile the sources
>> | (add-to-list 'load-path "~/.emacs.d/org-mode/lisp/")
>> | (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp/")
>> | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
>> | (require 'org-install)
>> `----
>>
>> Any idea how this happened?  And how to get rid of the unwanted path in
>> c:/Program Files (x86)/...?
>
> You don't, this is the org version that came with Emacs and even if you
> remove the path and the files in it, the real problem ― the autoload
> definitions that were generated from it ― would still be there.  You
> need to do either of:
>
> make uncompiled
> make compile
>
> to produce a complete uncompiled or compiled orgmode in the git work
> tree.

Ok, I didn't know that, thanks for mentioning.

Where do I run either of these commands?  In ~/.emacs/org-mode/lisp?  Or
just anywhere?  Or from within emacs?

Also, I guess M-x org-version has been extended recently to report a
mixed installation?

Cheers
Markus

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

* Re: Mixed installation on Windoze
  2012-05-31 18:56   ` Markus Heller
@ 2012-05-31 19:25     ` Achim Gratz
  2012-05-31 22:40       ` Markus Heller
  0 siblings, 1 reply; 6+ messages in thread
From: Achim Gratz @ 2012-05-31 19:25 UTC (permalink / raw)
  To: emacs-orgmode

Markus Heller writes:
> Where do I run either of these commands?  In ~/.emacs/org-mode/lisp?  Or
> just anywhere?  Or from within emacs?

In ~/.emacs/org-mode (you need GNU make).  If you don't have that you
can do it with Emacs itself, but I haven't had time yet to thoroughly
document it.

> Also, I guess M-x org-version has been extended recently to report a
> mixed installation?

Yes, so that the problem is readily apparent instead of producing
mysterious "bugs".


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

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

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

* Re: Mixed installation on Windoze
  2012-05-31 19:25     ` Achim Gratz
@ 2012-05-31 22:40       ` Markus Heller
  0 siblings, 0 replies; 6+ messages in thread
From: Markus Heller @ 2012-05-31 22:40 UTC (permalink / raw)
  To: emacs-orgmode

Achim Gratz <Stromeko@nexgo.de> writes:

> Markus Heller writes:
>> Where do I run either of these commands?  In ~/.emacs/org-mode/lisp?  Or
>> just anywhere?  Or from within emacs?
>
> In ~/.emacs/org-mode (you need GNU make).  If you don't have that you
> can do it with Emacs itself, but I haven't had time yet to thoroughly
> document it.
>

As a follow-up to this, I have switched my emacs/org-installation to a
Oracle VM running ubuntu linux.

Installation went smoothly, but now M-x org-version yields:

,----
| Org-mode version 7.8.11 (release_7.8.11-24-g4144c5 @ org-install.el can not be found!)
`----

As far as I can tell, org-mode itself works fine though.  Searching the
web, I found an older thread where Sebastian had an issue that
org-install-el could not be made, but he was building from source ...

Any ideas?

Thanks and Cheers
Markus

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

end of thread, other threads:[~2012-05-31 22:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 17:44 Mixed installation on Windoze Markus Heller
2012-05-31 18:06 ` Sebastien Vauban
2012-05-31 18:45 ` Achim Gratz
2012-05-31 18:56   ` Markus Heller
2012-05-31 19:25     ` Achim Gratz
2012-05-31 22:40       ` Markus Heller

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