[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.2 Configure

The first step is to configure the source code, telling it where various files will be. To do so, run

 
./configure options

(Note: if you have fetched AUCTeX from CVS rather than a regular release, you will have to first generate ./configure by running autogen.sh in the `auctex' directory.)

On many machines, you will not need to specify any options, but if configure cannot determine something on its own, you'll need to help it out with one of these options:

--with-emacs[=/path/to/emacs]
If you are using a pretest which isn't in your $PATH, or configure is not finding the right Emacs executable, you can specify it with this option.

--with-xemacs[=/path/to/xemacs]
Configure for generation under XEmacs (Emacs is the default). Again, the name of the right XEmacs executable can be specified, complete with path if necessary.

--with-lispdir=/dir
This tells where to install Emacs Lisp files. Normally, this option is unnecessary, but may be used if you don't like the directory that configure is suggesting.

--with-packagedir=/dir
This tells where to install the XEmacs Package. Again, this option is normally unnecessary, but may be used if you don't like the directory that configure is suggesting, and you know that XEmacs regards the directory you specify as a package directory.

If you are installing AUCTeX for a single user, and you have installed no XEmacs packages as that user before, then configure may try to install AUCTeX in the systemwide package directory (that it cannot write to), causing installation to fail. In that case, a good value for this option is `~/.xemacs/xemacs-packages', as XEmacs looks there for per-user packages by default.

--with-tex-input-dirs=/dir-1/;/dir-2/;...;/dir-N/
This option allows to specify the directories to be used for file searches, e.g. for completion of LaTeX or BibTeX style file names. They will be used in the variable TeX-macro-global.

Normally only the subdirectories `tex/' and `bibtex/bst/' below the used texmf trees should be relevant. Putting the roots of texmf trees here is possible but may slow down file searching.

The directories should be separated by semicolons and each has to end with a directory separator, i.e. a slash or a backslash respectively.

--with-auto-dir=/dir
You can use this option to specify the directory containing automatically generated information. It is not necessary for most TeX installs, but may be used if you don't like the directory that configure is suggesting.

--help
This is not an option specific to AUCTeX. A number of standard options to configure exist, and we do not have the room to describe them here; a short description of each is available, using --help.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Davide G. M. Salvetti on September, 9 2004 using texi2html