emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric J Haywiser <ejh1@MIT.EDU>
To: emacs-orgmode@gnu.org
Subject: ?Glitch in Makefile: Release org-mode 5.10b
Date: Thu, 27 Sep 2007 13:39:40 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.4.64L.0709271321140.24361@grumpy-fuzzball.mit.edu> (raw)

I think the Makefile in the current release, and other
5. versions, has a glitch.

If a new user were to download org.tgz and expand it in
a directory other than the one which becomes $(lispdir) in
the Makefile (e.g. ~/otherdir), they would, upon typing make,
encounter:

While compiling toplevel forms in file 
~/otherdir/org-5.10b/org-mouse.el:
   !! File error (("Cannot open load file" "org"))
Done
make: *** [org-mouse.elc] Error 1

This small change seems to resolve the problem:

#BATCH=$(EMACS) -batch -q -eval "(add-to-list (quote load-path) \"$(lispdir)\")"
BATCH=$(EMACS) -batch -q -eval "(add-to-list (quote load-path) \"$(cwd)\")"

This could be confusing to a newbie, who is the most likely
person to encounter this problem.

Anyone already using org appears to be compiling against the older org
already in their lispdir. They would not necessarily encounter a problem or 
notice this glitch.

             reply	other threads:[~2007-09-27 17:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 17:39 Eric J Haywiser [this message]
2007-09-27 18:28 ` ?Glitch in Makefile: Release org-mode 5.10b Steven E. Harris
2007-09-28 14:18   ` Eric J Haywiser

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=Pine.GSO.4.64L.0709271321140.24361@grumpy-fuzzball.mit.edu \
    --to=ejh1@mit.edu \
    --cc=emacs-orgmode@gnu.org \
    /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).