On May 19, 2005, at 10:30 AM, David Kastrup wrote:


Artemio Gonzalez Lopez <[EMAIL PROTECTED]> writes:



On May 19, 2005, at 10:01 AM, David Kastrup wrote:



Artemio Gonzalez Lopez <[EMAIL PROTECTED]> writes:



... there are several non-fatal warnings like the following:

./mkinstalldirs /Users/artemio/.xemacs/xemacs-packages/etc/auctex
make[1]: execvp: ./mkinstalldirs: Permission denied
make[1]: [install-nosearch] Error 127 (ignored)

This is strange, because /Users/artemio/.xemacs/xemacs-packages/ etc/
is writable by me (artemio). The installation steps I followed were
the following: ...




This sounds more like ./mkinstalldirs could not be executed. Take a
look at its first line: do you have a shell with the given path name?
Is its executable bit set?




After reviewing the make install output, I agree with you that the
problem is ./mkinstalldirs, since no directory under ~/.xemacs/ xemacs-
packages/lisp/auctex/ get installed. The shell in the first line of ./
mkinstalldirs is /bin/sh, which I of course can run:


[tillina:~] artemio% l  /bin/sh
-r-xr-xr-x   1 root  wheel  581636 Mar 21 00:39 /bin/sh



Uh, I meant "is the executable bit of ./mkinstalldirs set"? That should have happened when unpacking.


David,

After downloading auctex from CVS from scratch, I have been able to eliminate all of the ./mkinstalldirs "permission denied" errors. However, "make install" still fails:

Loading customization dependencies...
Loading customization dependencies...done
Compiling /Users/artemio/.xemacs/xemacs-packages/lisp/auctex/custom- load.el...
Compiling /Users/artemio/.xemacs/xemacs-packages/lisp/auctex/custom- load.el...done
Wrote /Users/artemio/.xemacs/xemacs-packages/lisp/auctex/custom-load.elc
Updating metadata for the directory /Users/artemio/.xemacs/xemacs- packages/lisp/auctex/...
Updating autoloads for the directory /Users/artemio/.xemacs/xemacs- packages/lisp/auctex/...


xemacs exiting.
Symbol's function definition is void: update-autoloads-from- directorymake[1]: *** [install-metadata] Error 255
make: *** [install] Error 2


If I open a tex file in xemacs, auctex fails to load with the enclosed backtrace. Any idea what may be going on (it's driving me nuts)?

Thanks a lot,
(1) (file-mode-spec/warning) Error in File mode specification: Symbol's value 
as variable is void: AUCTeX-version

Backtrace follows:

  byte-code("..." [AUC-TeX-date AUCTeX-date AUC-TeX-version AUCTeX-version 
current-load-list nil (byte-code "����#�" [make-obsolete-variable 
AUC-TeX-version AUCTeX-version "11.50"] 4) ((wrong-number-of-arguments 
(byte-code "���\"�" [make-obsolete-variable AUC-TeX-version AUCTeX-version] 
3))) (byte-code "����#�" [make-obsolete-variable AUC-TeX-date AUCTeX-date 
"11.50"] 4) ((wrong-number-of-arguments (byte-code "���\"�" 
[make-obsolete-variable AUC-TeX-date AUCTeX-date] 3))) eval-after-load info 
(dolist (elt (quote ("TeX" "LaTeX" "ConTeXt" "Texinfo" "docTeX"))) (add-to-list 
(quote Info-file-list-for-emacs) (cons elt "AUCTeX"))) ad-add-advice 
hack-one-local-variable (TeX-hack-one-local-variable-after nil t (advice lambda 
nil "Call minor mode function if minor mode variable is found." (let ((var 
(ad-get-arg 0)) (val (ad-get-arg 1))) (when (memq var (quote (TeX-PDF-mode 
TeX-source-specials-mode TeX-interactive-mode TeX-Omega-mode TeX-fold-mode 
LaTeX-math-mode))) (if (symbol-value val) (funcall var 1) (funcall var 0)))))) 
after ad-activate-on] 5)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  load-internal("tex" nil nil nil binary)
  # bind (path handler filename nosuffix nomessage noerror file)
  load("tex" nil nil nil)
  # (unwind-protect ...)
  tex-mode()
  # bind (alist mode name keep-going)
  # (unwind-protect ...)
  # bind (just-from-file-name)
  set-auto-mode()
  #<compiled-function nil "...(5)" [set-auto-mode t] 1>()
  # (unwind-protect ...)
  call-with-condition-handler(#<compiled-function 
(__call_trapping_errors_arg__) "...(17)" [__call_trapping_errors_arg__ errstr 
error-message-string lwarn file-mode-spec warning "Error in %s: %s\n\nBacktrace 
follows:\n\n%s" "File mode specification" 
backtrace-in-condition-handler-eliminating-handler] 8> #<compiled-function nil 
"...(5)" [set-auto-mode t] 1>)
  # (condition-case ... . ((error)))
  # bind (find-file)
  normal-mode(t)
  # bind (nomodes after-find-file-from-revert-buffer noauto warn error)
  after-find-file(nil t)
  # (unwind-protect ...)
  # bind (inhibit-read-only error number truename rawfile nowarn filename buf)
  find-file-noselect-1(#<buffer "HSAn.tex"> "/Users/artemio/Backup/Papers/Spin 
CS/HSAn/HSAn.tex" nil nil "/Users/artemio/Backup/Papers/Spin CS/HSAn/HSAn.tex" 
(4824587 234881026))
  byte-code("..." [number truename rawfile nowarn filename buf 
set-buffer-major-mode find-file-noselect-1] 7)
  # (condition-case ... . ((t (byte-code "�!�� @       A\"�" [buf data 
kill-buffer signal] 3))))
  # bind (number truename buf wildcards rawfile nowarn filename)
  find-file-noselect("/Users/artemio/Backup/Papers/Spin CS/HSAn/HSAn.tex" nil 
nil nil)
  # bind (wildcards codesys filename)
  find-file("/Users/artemio/Backup/Papers/Spin CS/HSAn/HSAn.tex")
  eval((find-file "/Users/artemio/Backup/Papers/Spin CS/HSAn/HSAn.tex"))
  # (condition-case ... . error)
  # (catch top-level ...)

Artemio Gonzalez Lopez [EMAIL PROTECTED]



_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to