Phillip Lord | 3 Sep 13:16
Favicon

Re: adventures with --prefix, TeX-data-directory and style files

>>>>> "RA" == Ralf Angeli <angeli <at> caeruleus.net> writes:

  RA> * Phillip Lord (2008-09-01) writes:

  >> I normally install auctex by unpacking the tar ball in ~/emacs/packages
  >> (creating auctex-x.x where x is the version number), and doing
  >> ./configure, make, but no make install.

  RA> This is not a good idea as you obviously found out.

Yes; it works for almost all of the packages that I use, but not auctex which
is unfortunate. Still, as there isn't a standard for doing this on emacs, I
guess auctex's method is as good as everyone else. 

Just to explain, the reason I do this is that my emacs configuration and
add-on packages are shared between the five machines and 2 operating systems
that I use regularly. I use unison to sync it all together; this means I only
have to install things once and behaviour is identical between my machines.

  >> So I decided to try the make install option instead. So I move auctex
  >> away from ~/emacs/packages, and try
  >> 
  >> ./configure --prefix=/home/username/emacs/packages/auctex
  >> 
  >> which is nearly what was suggested in "Installation for non-privelleged
  >> users". But this appears to be ignored -- make install tries to isntall
  >> in /usr/share...

  RA> You have to provide the --prefix option with a directory that actually
  RA> exists.
(Continue reading)

Ralf Angeli | 3 Sep 18:53

Re: adventures with --prefix, TeX-data-directory and style files

* Phillip Lord (2008-09-03) writes:

> Just to explain, the reason I do this is that my emacs configuration and
> add-on packages are shared between the five machines and 2 operating systems
> that I use regularly. I use unison to sync it all together; this means I only
> have to install things once and behaviour is identical between my machines.

How do you make sure that the different Emacs installations have access
to the info files of the "add-on packages"?

> I don't think that this was the problem. I've just tried again, including with
> --prefix=/tmp and got the same thing. 

If you are talking about the lisp files not being put below the prefix
then you should use --with-lispdir in addition to --prefix.  IIRC the
configure script will put the lisp files into a directory in the
load-path of Emacs.  If it cannot find such a directory below the given
prefix, another available one is chosen.

--

-- 
Ralf

Gmane