AUCTeX: TeX-auto-generate-global permission denied

AUCTeX: TeX-auto-generate-global permission denied

Post by Andrew Luke NESB » Wed, 09 Jul 2003 17:35:44



I'm using AUCTeX 11.13 on Mac OS X (10.2.6).  AUCTeX is installed
under the standard /usr/local/share/emacs/site-lisp/ arrangement.  I
have TeX-macro-global set like this:

(setq TeX-macro-global '("/usr/local/teTeX/share/texmf.gwtex/tex"
                         "/usr/local/teTeX/share/texmf.local/tex"
                         "/usr/local/teTeX/share/texmf.tetex/tex"))

When I do M-x TeX-auto-generate-global, I get a permission denied
error:

Opening output file: permission denied,
/usr/local/share/emacs/site-lisp/auctex/auto/algorithm.el

My question is this: is there any way of generating this file without
having to run Emacs as root or having to install AUCTeX in my home
directory?

Thanks in advance.

Andrew.

 
 
 

AUCTeX: TeX-auto-generate-global permission denied

Post by David Kastru » Wed, 09 Jul 2003 18:17:21



Quote:> I'm using AUCTeX 11.13 on Mac OS X (10.2.6).  AUCTeX is installed
> under the standard /usr/local/share/emacs/site-lisp/ arrangement.  I
> have TeX-macro-global set like this:

> (setq TeX-macro-global '("/usr/local/teTeX/share/texmf.gwtex/tex"
>                          "/usr/local/teTeX/share/texmf.local/tex"
>                          "/usr/local/teTeX/share/texmf.tetex/tex"))

> When I do M-x TeX-auto-generate-global, I get a permission denied
> error:

> Opening output file: permission denied,
> /usr/local/share/emacs/site-lisp/auctex/auto/algorithm.el

> My question is this: is there any way of generating this file without
> having to run Emacs as root or having to install AUCTeX in my home
> directory?

No.  That's not its purpose.  You can, however, run TeX-auto-generate
on the global TeX directory and have it generate the auto files for
your local style directory.

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum

 
 
 

1. problems with TeX-auto-generate-global [AUC-TeX]

i used xemacs to build and install auctex-9.6m

after installation, i used the command TeX-auto-generate-global, but
it failed, giving place to an error log like this (forgive extra-80
lines):

------------------------------------------------------------------------
Signalling: (file-error "Creating directory" "no such file or directory" "/usr/local/lib/xemacs/site-lisp/auctex/auto")
  make-directory-internal("/usr/local/lib/xemacs/site-lisp/auctex/auto")
  make-directory("/usr/local/lib/xemacs/site-lisp/auctex/auto")
  #<compiled-function (from "tex.elc") nil "...(27)" [make-directory string-match "/$" TeX-auto-global 0 -1 mapcar #<compiled-function (from "tex.elc") ... "...(5)" ... 3> TeX-macro-global byte-recompile-directory] 4 "Create global auto directory for global TeX macro definitions." nil>()
  call-interactively(TeX-auto-generate-global)
  command-execute(TeX-auto-generate-global t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
------------------------------------------------------------------------

my tex-site.el contains the lines:

------------------------------------------------------------------------
(defvar TeX-lisp-directory "/usr/lib/xemacs/site-lisp/auctex/"
  "*The directory where the AUC TeX lisp files are located.")

;; Change this to point to the place where the TeX macros are stored
;; at yourt site.
(defvar TeX-macro-global '("/usr/lib/texmf/texmf/tex/")
  "*Directories containing the sites TeX macro files and style files.

The directory names *must* end with a slash.")
------------------------------------------------------------------------

as you understand, auctex used a target directory that was not what i
meant it was, as i installed xemacs under the /usr/lib hyerarchy

i solved (?) the problem using Tex-auto-generate, explicitly specifying
the paths for the auto directory and the macro placement, but i worry
that AUC-tex will not find the generated .el's, 'coz C-h v tells me
that the value of TeX-auto-global's value is
"/usr/local/lib/xemacs/site-lisp/auctex/auto/"

what i'm doing wrong?

tia, ciao
                                                                gb

2. Palm3c issues

3. permission denied launch

4. Do you know what it's like to be tired of the deceiving jackasses? Well do you!

5. PSGML question (Opening input file: Permission denied)

6. good software?-------true screen saver builder

7. VM stops: Permission denied for lock file

8. Obtaining the last user login time

9. c:/#tmp#0 permission denied

10. Emacs backups: unexplainable "permission denied"

11. Printing problem: permission denied

12. How to set permission codes of auto-saved files?

13. permissions on auto-save files