emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Raynor <braynor3500@gmail.com>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Installing on windows
Date: Wed, 4 Feb 2009 12:16:03 -0600	[thread overview]
Message-ID: <bfcafcdc0902041016y732fa586x7591423c75bfc90f@mail.gmail.com> (raw)
In-Reply-To: <e7cdbe30902040948p22554388td03065fa944d0326@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3968 bytes --]

As I mentioned, I was adding extra packages to Cygwin to get the makefile
version to work. I added the compiler packages (gcc), cmake, and make. (just
to make sure).  That seemed to be what I need, as the "make, make-install, &
make install-info" chant now works and I have a working version of 6.21b.

So, to summarize:
1. download and install the current emacs binaries (I used the W32 version
at http://ourcomments.org/Emacs/EmacsW32Util.html). In my case I installed
to C:\Apps\Emacs.
2. download and install the current version of cygwin. During the install,
you will be asked which packages to install. Choose the develop branch and
install make. (I also installed gcc and g77)
3. unzip the org zip file under C:\Apps\Emacs\site-lisp
4. change directory to C:\Apps\Emacs\site-lisp\org-6.21b (or the current
version)
5. edit the Makefile. these are the changes I made:
EMACS=/cygdrive/c/Apps/Emacs/emacs/bin/emacs.exe

# Where local software is found
prefix= /cygdrive/c/Apps/Emacs/

# Where local lisp files go.
lispdir =  /cygdrive/c/Apps/Emacs/emacs/lisp/textmodes

# Where info files go.
infodir =  /cygdrive/c/Apps/Emacs/emacs/info
6. cross fingers and
make
make install
make install-info
   for the most part I got lots of text from emacs as it started, added
stuff to the path and compiled the individual files. I did get several
warnings about variables being out-of-date.
7. modify your .emacs file as suggested in the manual and save.
8. restart emacs and load an org file. Choose org->Documentation->Show
Version from the menu and the little message area on the bottom should show
"Org-mode version 6.21b"
9. Possible gotchas:

   - a. I somehow ended up with a .../lisp/org directory containing version
   6.06. I don't know if that was my doing or it came with the distribution. I
   used bash to mv all the org* files from lisp/textmodes to lisp/org and then
   got the correct version. On Aquamacs (OS X) the org files end up in
   lisp/textmodes.

If there is a better way, I'd appreciate knowing it.

On Wed, Feb 4, 2009 at 11:48 AM, Manish <mailtomanish.sharma@gmail.com>wrote:

> On Wed, Feb 4, 2009 at 10:49 PM, Bill Raynor wrote:
> > I and many others would be grateful for a detailed step-by-step
> > tutorial on installing org-mode on windows. The basic instructions
> > work just fine on, say, OS X (edit makefile, make and make install)
> > but don't work on windows.  Using emacs on windows is quite simple
> > (download and install) but updating Org doesn't work so well.
>
> Just unzip the org-mode in some location (e.g. D:/mystuff/org-mode/) and
> add following to .emacs (customize to taste/need).. mostly copied from
> Org manual activation section:
>
> --8<---------------cut here---------------start------------->8---
> (add-to-list 'load-path "D:/mystuff/org-mode/lisp")
> (require 'org-install)
> ;; The following lines are always needed.  Choose your own keys.
> (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
> (global-set-key "\C-cl" 'org-store-link)
> (global-set-key "\C-ca" 'org-agenda)
> (global-set-key "\C-cb" 'org-iswitchb)
> (add-hook 'org-mode-hook 'turn-on-font-lock)  ; Org buffers only
> (transient-mark-mode 1)
> --8<---------------cut here---------------end--------------->8---
>
> >
> > In the past I've used dired to attempt to compile the directory
> > directly, which gets lots of error messages, but sort of works. I read
> > a recent post on installing cygwin, but that doesn't quite work, as
> > the post neglected to mention that you have to install cygwin + some
> > unspecified packages (to get make, for instance). I trying that now. I
> > am also using the W32 version of emacs.
>
> You do not /have to/ compile the lisp files, you can use just the source
> (by skipping all steps that ask for make in the installation section of
> the manual.)  I am not sure how much performance impact will it have but
> it's an option at least.
>
> Do let us know how it goes.
>
> HTH
> --
> Manish
>

[-- Attachment #1.2: Type: text/html, Size: 4962 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2009-02-04 18:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04 17:19 Installing on windows Bill Raynor
2009-02-04 17:47 ` Saurabh Agrawal
2009-02-04 17:48 ` Manish
2009-02-04 18:07   ` Saurabh Agrawal
2009-02-05  2:01     ` Manish
2009-02-05  5:02       ` Saurabh Agrawal
2009-02-05  5:14         ` Manish
2009-02-05  5:18           ` Cameron Horsburgh
2009-02-05  5:30             ` Manish
2009-02-05  6:11               ` Cameron Horsburgh
2009-02-05  7:53                 ` Manish
2009-02-05  8:25                   ` Cameron Horsburgh
2009-02-06  7:15           ` Saurabh Agrawal
2009-02-06  8:05             ` Manish
2009-02-06 11:26               ` Saurabh Agrawal
     [not found]                 ` <e7cdbe30902060434y5a5011eep1a2567f5facce184@mail.gmail.com>
2009-02-06 13:07                   ` Saurabh Agrawal
2009-02-06 19:52                     ` Manish
2009-02-06 21:24                       ` Chris McMahan
2009-02-06 23:30                         ` Sebastian Rose
2009-02-07  8:20                           ` Manish
2009-02-04 18:16   ` Bill Raynor [this message]
2009-02-04 19:52 ` Charles Sebold
2009-02-05  9:38 ` Tony Mc
  -- strict thread matches above, loose matches on Subject: below --
2009-02-06 23:19 Tim O'Callaghan
2009-02-07  9:09 ` Manish

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=bfcafcdc0902041016y732fa586x7591423c75bfc90f@mail.gmail.com \
    --to=braynor3500@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@gmail.com \
    /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).