auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] how to install auctex locally?


From: Ralf Hemmecke
Subject: Re: [AUCTeX-devel] how to install auctex locally?
Date: Mon, 24 May 2010 21:29:48 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4

On 05/24/2010 08:41 PM, Ralf Angeli wrote:
> * Ralf Hemmecke (2010-05-22) writes:
> 
>> When I run,
>>
>> ./configure --prefix=/home/hemmecke/software/
>>
>> I see at the end...
>>
>> ----------------------------
>> checking for glaring installation conflicts... ouch!
>>
>> configure: WARNING: Conflicting previous installation in
>> `/usr/share/emacs/23.1/site-lisp/auctex/' found!
>> Conflicting previous startup file
>> `/usr/share/emacs/23.1/site-lisp/preview-latex.el' found!
>>
>> configure: creating ./config.status
>> ------------------------------
>>
>> Full trace is here ... http://pastie.org/972481
>>
>> What does that mean?
> 
> From the top of my mind, `/home/hemmecke/software' is likely not in
> `load-path' of your Emacs, so the configure script tries to find a place
> which is and uses that.

What? I understand that the configure script must find emacs and tests
for the content of load-path. But if I understand correctly then if I
configure with --prefix=/some/dir then the installation process should
*NEVER* install anything outside of that directory. If that is the case,
I consider the installation procedure as broken. Don't you agree?

http://www.gnu.org/software/autoconf/manual/autoconf.html#Installation-Names

If I want to have something directly installed under $HOME/.emacs.d then
I would have to tell that to the configure script. I didn't do that, so
"make install" should never touch $HOME/.emacs.d.

I gave --prefix=/home/hemmecke/software, so "make install" should never
try to write to /usr/share.

I don't care what the configure script figures out where to read from,
but writing is forbidden to anything outside --prefix.

>> What can I do if I have no root access on that machine?
> 
> Try with `--with-lispdir'.

That seems to be only half of the story. "make install" aborts with

/usr/bin/install -c -m 644 prfootnotes.def
/usr/share/texmf/tex/latex/preview
/usr/bin/install: cannot remove
`/usr/share/texmf/tex/latex/preview/prfootnotes.def': Permission denied
make[2]: *** [install-texmf] Error 1
make[2]: Leaving directory
`/home/hemmecke/v/ro/cvs-auctex/auctex/preview/latex'
make[1]: *** [install-texmf] Error 2
make[1]: Leaving directory `/home/hemmecke/v/ro/cvs-auctex/auctex/preview'
make: *** [install] Error 2

Any hints? I've used ...

./configure --prefix=/home/hemmecke/software
--with-lispdir=/home/hemmecke/software/auctex-lisp

>> /usr/bin/install: cannot create regular file
>> `/usr/share/emacs/site-lisp/tex-site.el': Permission denied
>> make: *** [install-el] Error 1
>>
>> Why on earth does the installation procedure complain about a /usr/share
>> directory? I've set --prefix. Is that a bug in the install procedure?
> 
> More like a feature.

Until you prove me wrong, I call that a broken feature. ;-)

Ralf




reply via email to

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