[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] problems in gen the sumo xemacs auctex pkg
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] problems in gen the sumo xemacs auctex pkg |
Date: |
Mon, 16 Jan 2006 22:17:10 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Uwe Brauer <address@hidden> writes:
> The fun starts:
>
>
> Here is now my first problem.
> I just copied the lisp files, image files etc and run make
> and the following error occurs:
> --8<------------------------schnipp------------------------->8---
>
> backtrace(nil t)
> # bind (error-info)
> byte-compile-report-error((void-variable AUCTeX-version))
> # bind (error-info)
> #<compiled-function (error-info) "...(4)" [error-info byte-compile-report-e
> rror] 2>((void-variable AUCTeX-version))
> --8<------------------------schnapp------------------------->8---
>
> If needed I could send the complete bugtrace but I think the problem
> is clear: AUCTeX-version seems not to be defined.
>
> Looking at the auctex-11.82=pkg.tgz I see that this variable is
> defined in the auto-autoload.el file which is generated during make.
>
> The auto-autoload.el which is generated by the Sumo Makfile does not
> generate this variable, I searched for it, but to accelerate the whole
> thing: could the author tell me how he generated that auto-autoload.el
> file?
Grep for prv-install.el in the Makefiles, that is the file generating
auto-autoloads.el.
It does so with
(defun preview-make-package-xemacs ()
"Do anything required to make a package in XEmacs,
other than actually copying the Lisp files.
Generates auto-autoloads, custom-loads, and package metadata file
in the right locations. Takes from the command line the package directory,
package name, and version (to be evaluated), followed by a file to append."
So the fourth argument to preview-make-package-xemacs names a file to
append at the end of auto-autoloads.el.
This would be (from Makefile.in):
install-metadata:
test "x$(packagedir)" = xno || { \
$(MKINSTALLDIRS) $(DESTDIR)$(packagedir)/pkginfo || : ; \
$(ELCC) -l preview/prv-install -f preview-make-package
$(DESTDIR)$(packagedir) "$(PACKAGE)" \"`echo $(AUCTEXDATE)|sed
's/\(.*\)-\(.*\)-\(.*\)/\1.\2\3/'`\" \"$(AUCTEXVERSION)\" tex-site.el && \
cd $(DESTDIR)$(packagedir) && \
find "etc/$(PACKAGE)" "lisp/$(PACKAGE)" -print
>"pkginfo/MANIFEST.$(PACKAGE)" && \
for i in $(PACKAGE_INFO); do \
test -r "info/$$i.info" && echo "info/$$i.info" >>
"pkginfo/MANIFEST.$(PACKAGE)" ; \
done && \
echo "pkginfo/MANIFEST.$(PACKAGE)" >> "pkginfo/MANIFEST.$(PACKAGE)" ;
\
}
As you can see, tex-site.el is appended at the end of the autoload
data.
I hope this helps. Yes, it is non-nice to use a procedure in the
preview subdirectory for this, but this is from the time where
preview-latex could be built stand-alone.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum