bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 2005-06-05; Make error with --disable-preview and MSYS


From: Ralf Angeli
Subject: [Bug-AUCTeX] 2005-06-05; Make error with --disable-preview and MSYS
Date: Mon, 06 Jun 2005 15:55:00 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

After doing `./configure [...] --disable-preview' the `make' call will
abort with an error in an MSYS shell:

if test x != x; then OLDPWD="`pwd`";for i in ;do cd $i;echo "Descending into 
`pwd`";make 'DESTDIR=' PACKAGE=auctex all || exit $?;cd $OLDPWD;echo "Ascending 
into $OLDPWD";done;fi
/bin/sh: -c: line 1: syntax error near unexpected token `;d'
/bin/sh: -c: line 1: `if test x != x; then OLDPWD="`pwd`";for i in ;do cd 
$i;echo "Descending into `pwd`";make 'DESTDIR=' PACKAGE=auctex all || exit 
$?;cd $OLDPWD;echo "Ascending into $OLDPWD";done;fi'
make: *** [all] Error 2


$subdirs obviously is empty in this case and the shell chokes on
for i in ;do ...;done
constructs.

I don't know how to fix this because even wrapping this call into a
if test x$(subdirs) != x;then ...;fi
conditional did not help.


Emacs  : GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-06-03 on neutrino
Package: 2005-06-05

current state:
==============
(setq
 AUCTeX-date "2005-06-05"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" "~/emacs/lisp/auctex/style/"
                  "/usr/local/share/emacs/site-lisp/auctex/style"
                  "/usr/local/var/auctex")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil
                     (plain-tex-mode ams-tex-mode texinfo-mode) :help
                     "Run plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
                     (texinfo-mode) :help "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\""
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
                     (context-mode) :help "Run ConTeXt until completion")
                    ("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive
                     nil (context-mode) :help "Clean temporary ConTeXt files")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
                     "Run BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
                     "Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help
                     "Create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
                     :help "Check LaTeX file for correctness")
                    ("Spell" "<ignored>" TeX-run-ispell-on-document nil t
                     :help "Spell-check the document")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")
                    )
 )




reply via email to

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