emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] invalid-function error in byte-compiled emacs-wiki


From: Vadim Nasardinov
Subject: [emacs-wiki-discuss] invalid-function error in byte-compiled emacs-wiki
Date: Wed, 10 Nov 2004 10:51:20 -0500
User-agent: KMail/1.5.4

I tried to package up emacs-wiki 2.62.0 [1] as an RPM [2].

I found that a byte-compiled version of this release does not work.
For now, I commented out the piece of the spec file [3] that performs
byte compilation.

After some cursory googling, I think the problem may be fixed by
changing the order in which emacs-wiki-*.el files are byte compiled,
but I haven't attempted a fix yet.

Is there a Makefile somewhere that defines the correct compilation
order that I may be missing?

Here's the error I'm getting when running a byte-compiled version and
trying to publish a page:

  | Debugger entered--Lisp error:
  | (invalid-function
  |  (macro . #[(project &rest body)
  |             "Âà D BB‡"
  |             [project body with-temp-buffer emacs-wiki-change-project]
  |             3
  |             ("/usr/share/emacs/site-lisp/emacs-wiki-project.elc" . 3797)]))
  | with-emacs-wiki-project("default" nil)
  | emacs-wiki-publish-files(("/var/vadim/homepage/wiki-src/SimpleMarkup"
  |   "/var/vadim/homepage/wiki-src/EarlyHistoryOfSmalltalk"
  |   [... about 20 more files elided for brevity ...]
  |   "/var/vadim/homepage/wiki-src/Emacs") nil)
  | emacs-wiki-publish(nil)
  | call-interactively(emacs-wiki-publish)



Thanks,
Vadim


Footnotes

 1. http://www.mwolson.org/static/dist/emacs-wiki-2.62.0.tar.gz

 2. http://people.redhat.com/~vadimn/rpm/SRPMS/emacs-wiki-2.62.0-1.src.rpm
    
http://people.redhat.com/~vadimn/rpm/RPMS/noarch/emacs-wiki-2.62.0-1.noarch.rpm

 3. emacs-wiki.spec,v1.1
    http://people.redhat.com/~vadimn/rpm-src/emacs-wiki/emacs-wiki.spec





reply via email to

[Prev in Thread] Current Thread [Next in Thread]