My thanks to Andreas for his work over the past months, and a hearty
"Welcome aboard" to Yet Another Steve.
>>>> "Steve" == Steve Youngs
<youngs(a)xemacs.org> writes:
Steve> make bindist gives:
Steve> Cannot open load file: semantic
The patch below fixes that, but now it fails with
/home/steve/Projects/XEmacs/Builds/21.2/src/xemacs -no-autoloads -batch -eval "(push
(expand-file-name \"lisp\") (push (expand-file-name \"../semantic\")
load-path))" -l cl-macs -l cus-face -l eieio.el -l jde.el -l jde-db.el -l jde-run.el
-l /coda/Projects/XEmacs/xemacs-packages/package-compile.el -- jde cc-mode semantic debug
speedbar edit-utils eterm mail-lib xemacs-base -- lisp/auto-autoloads.el
No setf-method known for setq
xemacs exiting
I don't have time to investigate this; I don't know if it's another
missing preload or what. (That xemacs is a 24-hour-old CVS update of
21.2, that could be it, too.)
Steve> If I take out the PRELOADS it builds with no errors.
Ah, but does it run?
The reason for the preloads is that files which call macros will
happily compile without them, but because of the way byte-compiled
macros are implemented, they will throw run-time errors.
*****
I don't recommend this patch very highly. There probably is a "more
correct" way of setting the load-path (if there isn't, the package
maintainer should think about consing one up, hint, hint).
Something standard should be done about cl-macs and cus-face and such
files as well, since they are core Lisp. Maybe more
`eval-when-compile requires' in JDE itself? If any changes are made
to JDE, please note in the source that they cause divergence from the
upstream package.
Index: Makefile
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-packages/prog/jde/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile 2000/08/24 17:13:32 1.29
+++ Makefile 2000/08/25 04:59:04
@@ -36,8 +36,12 @@
lisp/beanshell.elc
EXTRA_SOURCES = lisp/eieio.el
-PRELOADS = -eval "(push (expand-file-name \"lisp\") load-path)" -l
cl-macs \
- -l cus-face -l eieio.el -l jde.el -l jde-db.el -l jde-run.el
+PRELOADS = -eval "(append (list \
+ (expand-file-name \"../semantic\") \
+ (expand-file-name \"lisp\")) \
+ load-path))" \
+ -l cl-macs -l cus-face \
+ -l eieio.el -l jde.el -l jde-db.el -l jde-run.el
#INFO_FILES = $(PACKAGE).htm *.gif
DATA_1_FILES = $(wildcard java/classes/jde/wizards/*.class)
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."