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

2.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 the lisp files, note that most of AUCTeX will be installed in a subdirectory. 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-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 February, 5 2005 using texi2html