[Top][All Lists]

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

Re: [AUCTeX-devel] GNU emacs: 24.4.1 auctex 11.88: installation problem:

From: David Kastrup
Subject: Re: [AUCTeX-devel] GNU emacs: 24.4.1 auctex 11.88: installation problem: style files
Date: Sun, 22 Feb 2015 14:52:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

>> Uwe Brauer <address@hidden> writes:
>> I don't think that we have installation instructions telling you not to
>> run "make install".  Did you take a look at the installation
>> instructions?  They are in the manual and should also be available as a
>> separate text file called INSTALL.
> The following configure option lead to a successful
> make and
> make install
> ./configure --with-emacs=/opt/emacs24/bin/emacs
> --prefix=/home/oub/ALLES/
> --with-lispdir=/home/oub/emacs/site-lisp/packages/auctex-11.88
> --without-texmf-dir
> The problem is I set in the init file
> (setq load-path (cons (expand-file-name
> "~/emacs/site-lisp/packages/auctex-11.88") load-path))
> (setq load-path (cons (expand-file-name
> "~/emacs/site-lisp/packages/auctex-11.88/auctex") load-path))
> But then again have the style file problem. All the files like beamer.el
> are not found and the relevant commands of course neither.
> I am getting desperate.

When all else fails, read the instructions.  I quote from INSTALL:

6 Installation for non-privileged users

Often people without system administration privileges want to install
software for their private use.  In that case you need to pass more
options to the `configure' script.  For XEmacs users, this is fairly
easy, because the XEmacs package system has been designed to make this
sort of thing practical: but GNU Emacs users (and XEmacs users for whom
the package system is for some reason misbehaving) may need to do a
little more work.

   The main expedient is using the `--prefix' option to the `configure'
script, and let it point to the personal home directory.  In that way,
resulting binaries will be installed under the `bin' subdirectory of
your home directory, manual pages under `man' and so on.  It is
reasonably easy to maintain a bunch of personal software, since the
prefix argument is supported by most `configure' scripts.

   You'll have to add something like
`/home/myself/share/emacs/site-lisp' to your `load-path' variable, if
it isn't there already.

   XEmacs users can achieve the same end by pointing `configure' at an
appropriate package directory (normally
`--with-packagedir=~/.xemacs/xemacs-packages' will serve).  The package
directory stands a good chance at being detected automatically as long
as it is in a subtree of the specified PREFIX.


4 Loading the package

You can detect the successful activation of AUCTeX and preview-latex in
the menus after loading a LaTeX file like `preview/circ.tex': AUCTeX
then gives you a `Command' menu, and preview-latex gives you a
`Preview' menu.

   For XEmacs, if the installation occured into a valid package
directory (which is the default), then this should work out of the box.

What you did instead does not appear to match those instructions.

David Kastrup

reply via email to

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