emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: further on compiling development version of org-mode without make command
Date: Thu, 09 Jul 2009 19:05:25 +0200	[thread overview]
Message-ID: <800CD20A-6D75-43A2-B68A-B9434AE3BA6D@nf.mpg.de> (raw)
In-Reply-To: <87ab3emd08.fsf@kassiopeya.MSHEIMNETZ>

Gentlemen,

we have tried the lisp-version for updating a the plain vanilla MS  
Windows emacs (http://ftp.gnu.org/gnu/emacs/windows) and I think we  
are almost there - thanks for all the help so far!

When running make update on MacOS X with Aquamacs 1.8b I get lots of  
warnings about "functions not known to be defined" or "functions might  
not be defined at runtime", however, everything seems to work just fine.

Running Sebastian's script on the Windows version yields a number of  
similar warnings but has in addition some "cannot open load file"  
errors (see below). My feeling is that something comparatively simple  
is missing, many thanks in advance for any help with this!

Warm regards,
  Stefan

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
agenda.el at Thu Jul 09 13:50:09 2009

In org-prepare-agenda:
org-agenda.el:2369:11:Warning: assignment to free variable
   `org-agenda-contributing-files'
org-agenda.el:2371:34:Warning: org-agenda-files called with 2  
arguments, but
   accepts only 0-1

In org-agenda-fontify-priorities:
org-agenda.el:2450:31:Warning: reference to free variable `org- 
priority-faces'

In org-agenda-list:
org-agenda.el:2862:14:Warning: org-agenda-files called with 2  
arguments, but
   accepts only 0-1
org-agenda.el:2867:38:Warning: org-agenda-files called with 2  
arguments, but
   accepts only 0-1

[...]

In org-search-view:
org-agenda.el:2991:18:Warning: org-agenda-files called with 2  
arguments, but
   accepts only 0-1
Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
ascii.el at Thu Jul 09 13:50:10 2009
org-ascii.el:29:1:Error: Cannot open load file: org-exp

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
attach.el at Thu Jul 09 13:50:10 2009

In end of data:
org-attach.el:417:1:Warning: the following functions are not known to  
be defined:
   org-fit-window-to-buffer, org-ido-completing-read

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
bbdb.el at Thu Jul 09 13:50:10 2009

In end of data:
org-bbdb.el:388:1:Warning: the following functions are not known to be  
defined:
   bbdb-record-name, bbdb-current-record, bbdb-record-getprop,
   bbdb-name, bbdb-company, bbdb, bbdb-split, bbdb-string-trim,
   bbdb-records, diary-ordinal-suffix, bbdb-completing-read-record

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
bibtex.el at Thu Jul 09 13:50:10 2009

In end of data:
org-bibtex.el:205:1:Warning: the following functions are not known to  
be defined:
   bibtex-beginning-of-entry, bibtex-parse-entry,
   bibtex-generate-autokey, bibtex-url

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
clock.el at Thu Jul 09 13:50:10 2009

In org-clock-get-clock-string:
org-clock.el:354:61:Warning: reference to free variable
   `org-time-clocksum-format'

In org-clock-out:
org-clock.el:775:65:Warning: reference to free variable
   `org-time-clocksum-format'

[...]

In end of data:
org-timer.el:261:1:Warning: the function `org-indent-line-to' is not  
known to
   be defined.

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
vm.el at Thu Jul 09 13:50:13 2009

In end of data:
org-vm.el:134:1:Warning: the following functions are not known to be  
defined: vm-summarize,
   vm-follow-summary-cursor, vm-select-folder-buffer, vm-su-subject,
   vm-get-header-contents, vm-su-message-id, org-add-link-props,
   vm-isearch-update, vm-isearch-narrow, vm-preview-current-message

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
w3m.el at Thu Jul 09 13:50:13 2009

In end of data:
org-w3m.el:173:1:Warning: the function `w3m-anchor' is not known to be
   defined.

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
wl.el at Thu Jul 09 13:50:13 2009

In end of data:
org-wl.el:147:1:Warning: the following functions are not known to be  
defined:
   wl-summary-message-number, wl-summary-registered-temp-mark,
   elmo-message-field, elmo-msgdb-overview-get-entity,
   wl-summary-buffer-msgdb, wl-summary-line-from,
   elmo-message-entity-field, wl-summary-line-subject,
   org-add-link-props, wl, elmo-folder-exists-p,
   wl-folder-goto-folder-subr, wl-summary-jump-to-msg-by-message-id,
   wl-summary-redisplay

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org- 
xoxo.el at Thu Jul 09 13:50:13 2009
org-xoxo.el:29:1:Error: Cannot open load file: org-exp

Compiling file d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/org.el  
at Thu Jul 09 13:50:13 2009
org.el:88:1:Error: Cannot open load file: org-compat
Leaving directory `d:/Program Files (x86)/emacs-22.3/org-6.28e/lisp/'

Compiling file D:/Program Files (x86)/emacs-22.3/org-6.28e/lisporg- 
install.el at Thu Jul 09 13:50:15 2009
Entering directory `d:/Program Files (x86)/emacs-22.3/org-6.28e/'



On 09.07.2009, at 11:17, Sebastian Rose wrote:

> Eric S Fraga <ucecesf@ucl.ac.uk> writes:
>> Hello again,
>>
>> Although Sebastian's elisp code was perfect for batch compiling the
>> lisp/*.el files in the org distribution, it doesn't address one key
>> element of the make step required: the creation of the
>> org-install.el file.
>
>
> I wonder where I have that file. I couldn't find `org-install.el'
> anywhere but it seems to work fine here without. What is it needed  
> for?
> Speed up things, I guess? As I never compile Org-mode, I never used  
> that
> file.
>
>
>> I've (with my rather rudimentary elisp skills) modified the function
>> as follows to incorporate the commands from the Makefile which are
>> used to create the org-install.el file:
>>
>>
>> ;; functions from Sebastian Rose <sebastian_rose@gmx.de>
>> ;; to compile all org files in lieu of a make utility,
>> ;; modified by me to create and compile the org-install.el file
>> (defvar my/org-lisp-directory "~/git/org-mode/lisp"
>>  "Directory where your org-mode files live.")
>> ;; adjust my/org-lisp-directory:
>> (setq my/org-lisp-directory "~/git/org-mode/lisp")
>> (defun my/compile-org()
>>  "Compile all *.el files that come with org-mode."
>>  (interactive)
>>  (dired my/org-lisp-directory)
>>  (dired-mark-files-regexp "\\.el$")
>>  (setq list-of-org-files (dired-get-marked-files))
>>  (dired-do-load)
>>  (dired-do-byte-compile)
>>  ;; create the org-install file
>>  (require 'autoload)
>>  (setq esf/org-install-file (concat my/org-lisp-directory "org- 
>> install.el"))
>>  (find-file esf/org-install-file)
>>  (erase-buffer)
>>  (mapc (lambda (x)
>>          (generate-file-autoloads x))
>>        list-of-org-files
>>        )
>>  (insert "\n(provide (quote org-install))\n")
>>  (save-buffer)
>>  (byte-compile-file esf/org-install-file)
>>
>> )
>>
>> Comments of any sort are more than welcome!  It seems to work (but
>> only time will tell).  Actually, I probably need to delete any
>> existing org-install.el file first... any suggestions on the best way
>> to do this would be more than welcome!
>
>
> Yes - and we should remove all the *.elc files first (which I missed),
> in case some are obsolete after a `git pull'.
> Could be done via dired again:
>
>   (dired-mark-files-regexp "\\.el$")
>   (setq list-of-org-files (dired-get-marked-files))
>   ;; ADD THIS:
>   ;; this deletes obsolete files:
>   (dolist (f list-of-org-files)
>     (delete-file (concat f "c")))
>
>
>
> Sebastian
>
>
> _______________________________________________
> 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

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de

  reply	other threads:[~2009-07-09 17:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 21:52 further on compiling development version of org-mode without make command Eric S Fraga
2009-07-09  9:17 ` Sebastian Rose
2009-07-09 17:05   ` Stefan Vollmar [this message]
2009-07-09 18:02     ` Sebastian Rose
2009-07-09 18:25     ` Sebastian Rose
2009-07-10 14:43       ` Stefan Vollmar
2009-07-10 15:20         ` Sebastian Rose
2009-07-09 10:19 ` Sebastian Rose
2009-07-09 10:47   ` Eric S Fraga
2009-07-09 19:47   ` Sebastian Rose
2009-07-10  6:47     ` Rainer Stengele
2009-07-10  6:57       ` Bastien
2009-07-12 23:31     ` Eric S Fraga

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=800CD20A-6D75-43A2-B68A-B9434AE3BA6D@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --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).