Discussion:
auctex doesn't work with xemacs 2.15-b19
Artemio Gonzalez Lopez
2005-02-20 20:22:39 UTC
Permalink
The latest auctex cvs does not even load in xemacs 2.15-b19 (latest CVS
version CVS-20050219). The error message produced is the following:

Error: An error has occurred while loading /Users/artemio/.xemacs/init.el:

Symbol's value as variable is void: @lispauctexdir@

Backtrace follows:

(defvar TeX-lisp-directory @lispauctexdir@ "*The directory where most
of the AUCTeX lisp files are located.\ntex-site.el (wherein this
variable is defined) resides in its parent\ndirectory. For the location
of lisp files associated with styles, see\nthe variables TeX-style-*
(hand-generated lisp) and TeX-auto-*\n(automatically generated lisp).")
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("tex-site" nil require nil raw-text)
# bind (path handler filename nosuffix nomessage noerror file)
load("tex-site" nil require nil)
# (unwind-protect ...)
require(tex-site)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("/Users/artemio/.xemacs/init.el" t t t raw-text)
# bind (path handler filename nosuffix nomessage noerror file)
load("/Users/artemio/.xemacs/init.el" t t t)
load-user-init-file()
#<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>()
# (unwind-protect ...)
call-with-condition-handler(#<compiled-function
(__load_init_file_arg__) "...(26)" [init-file-had-error user-init-file
__load_init_file_arg__ errstr error-message-string message "Error in
init file: %s" lwarn initialization error "An error has occurred while
loading %s:\n\n%s\n\nBacktrace follows:\n\n%s\n\nTo ensure normal
operation, you should investigate the cause of the error\nin your
initialization file and remove it. Use the `-debug-init' option\nto
XEmacs to enter the debugger when the error occurs and investigate
the\nexact problem." backtrace-in-condition-handler-eliminating-handler
t] 8> #<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>)
# (condition-case ... . ((error)))
# bind (debug-on-error debug-on-error-from-init-file
debug-on-error-should-be-set debug-on-error-initial)
load-init-file()
# bind (command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " ‡" [error-data data nil] 1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)

My xemacs installation info is as follows:

uname -a: Darwin imac-g5.local 7.8.0 Darwin Kernel Version 7.8.0: Wed
Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power
Macintosh powerpc

./configure '--pdump' '--error-checking=no' '--with-ldap=no'
'--with-postgresql=no' '--with-default-eol-detection' '--with-mule=no'
'--with-tty' '--with-athena=3d' '--with-widgets=motif'
'--prefix=/opt/local' '--infodir=/opt/local/share/info'
'--mandir=/opt/local/share/man' '--cflags=-fast'
'--site-includes=/opt/local/include' '--site-libraries=/opt/local/lib'
'--dynamic'


XEmacs 21.5-b19 "chives" (+CVS-20050219) configured for
`powerpc-apple-darwin7.8.0'.


Compilation Environment and Installation Defaults:
Source code location:
/Users/artemio/Archive/xemacs/xemacs-21.5
Installation prefix: /opt/local
Additional header files: /opt/local/include
Additional libraries: /opt/local/lib
Operating system description file: `s/darwin.h'
Machine description file: `m/powerpc.h'
Compiler version: gcc (GCC) 3.3 20030304 (Apple
Computer, Inc. build 1671)
- GCC specs file: /usr/libexec/gcc/darwin/ppc/3.3/specs
- Compiler command: gcc -Wall -Wno-switch -Wundef
-Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith
-Wunused-parameter -g -fast
libc version:
Relocating allocator for buffers: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.

Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.

TTY:
Compiling in support for ncurses.

Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.

Sound:

Databases:
Compiling in support for Berkeley database.
Compiling in support for DBM.

Internationalization:

Mail:
Compiling in support for "file" mail spool file locking method.

Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Compiling in support for extra debugging code.

Cheers,

Artemio Gonzalez
***@mac.com
David Kastrup
2005-02-20 21:19:30 UTC
Permalink
Post by Artemio Gonzalez Lopez
The latest auctex cvs does not even load in xemacs 2.15-b19 (latest
CVS version CVS-20050219). The error message produced is the
most of the AUCTeX lisp files are located.\ntex-site.el (wherein
this variable is defined) resides in its parent\ndirectory. For the
location of lisp files associated with styles, see\nthe variables
TeX-style-*
(hand-generated lisp) and TeX-auto-*\n(automatically generated lisp).")
You are aware that tex-site.el must not be generated by simply copying
it from tex-site.el.in, but is generated by configure?

You did rerun ./autogen.sh after your last update from CVS, then reran
./configure?

What is the content of your config.log file?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Artemio Gonzalez Lopez
2005-02-20 21:50:45 UTC
Permalink
Post by David Kastrup
Post by Artemio Gonzalez Lopez
The latest auctex cvs does not even load in xemacs 2.15-b19 (latest
CVS version CVS-20050219). The error message produced is the
most of the AUCTeX lisp files are located.\ntex-site.el (wherein
this variable is defined) resides in its parent\ndirectory. For the
location of lisp files associated with styles, see\nthe variables
TeX-style-*
(hand-generated lisp) and TeX-auto-*\n(automatically generated lisp).")
You are aware that tex-site.el must not be generated by simply copying
it from tex-site.el.in, but is generated by configure?
You did rerun ./autogen.sh after your last update from CVS, then reran
./configure?
What is the content of your config.log file?
Rerunning ./autogen.sh actually fixed the problem.

Thanks for your help,

Artemio Gonzalez
***@mac.com

Loading...