[Top][All Lists]

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

Re: [AUCTeX-devel] Two odd features with "new" installation procedure

From: David Kastrup
Subject: Re: [AUCTeX-devel] Two odd features with "new" installation procedure
Date: Mon, 23 May 2005 21:33:08 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

address@hidden (Evil Boris) writes:

> First time I tried the new installation procedure (CVS, autogen,
> combined with preview).  Two comments:
> 0. ./configure produces the following error/warning:
> error: possibly undefined macro: AS_HELP_STRING

That would suggest that you are using an older version of autoconf.
What does

autoconf --version


> 1. After running "./configure" (with approximately right
> parameters), "make install" fails with an odd error: While trying to
> compile tex.el (or maybe some file that does (require 'tex)) it
> complains that AUC-TeX-version is an unknown variable.  Strangely,
> if I do "make" followed by "make install", the problem goes away.
> Is this a bug or a feature?

If you can reproduce this with a fresh checkout, it would be good to
know if this bug also happens if you do

./configure --disable-preview

I think that the compilation of preview-latex might not yet have the
correct paths set, and it would be interesting to know whether this
happens within AUCTeX or within preview-latex compilation.

Of course, if you sent the actual output of the compilation, that
would help.

> 2. Finally, since I have always used (require 'tex-site) to load
> AUCTeX and I heard that "auctex.el" is the new right creature to
> load, I stupidly put (require 'auctex) in my .emacs, which promptly
> produced a complaint that loading auctex failed to define the
> feature 'auctex!  Is this something that should be fixed, or should
> I just replace "require" by "load"?

The latter.  Stuff that is placed in automatically loaded directories
(like "auctex.el") might not actually be in the load-path.  So require
might not be able to find it.  Using "load" allows to specify a path
to use.  If the system already provides a preactivated AUCTeX
installation of its own, you can use (unload-feature 'tex-site) followed
by loading the auctex.el of your own AUCTeX installation, and get a
working setup.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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