|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
AUCTeX configure blocked by memory of old TL2011 installationI'm running Debian Squeeze, emacs-23.2, TL2011, auctex-11.85-1.
In removing an old intallation of TeXLive to reinstall it in a new location, user's home directory, I made the sad mistake of removing it by deleting files and directories rather than use tlmgr. The new TL2011 works fine from command line, but AUCTeX ceased to function. I purged it and reinstalled it. However, its present status is "partially configured." The installation returned this: ... Setting up auctex (11.85-1) ... install/auctex: Setting up for emacs23 (log file: /usr/share/emacs23/site-lisp/auctex//CompilationLog)... emacs-package-install: /usr/lib/emacsen-common/packages/install/auctex emacs23 emacs23 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1. dpkg: error processing auctex (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: auctex E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up auctex (11.85-1) ... install/auctex: Setting up for emacs23 (log file: /usr/share/emacs23/site-lisp/auctex//CompilationLog)... emacs-package-install: /usr/lib/emacsen-common/packages/install/auctex emacs23 emacs23 failed at /usr/lib/emacsen-common/emacs-package-install line 30, <TSORT> line 1. dpkg: error processing auctex (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: auctex The CompilationLog has: ... checking what file to use for auctex startup... /usr/share/emacs23/site-lisp//auctex.el ... config.status: creating auctex.el === configuring in preview (/usr/share/emacs/site-lisp/auctex/preview) configure: running /bin/bash ./configure '--prefix=/usr/' '--disable-build-dir-test' 'GS=gs' 'LATEX=/bin/true' 'P$ configure: WARNING: unrecognized options: --with-auto-dir checking whether make sets $(MAKE)... yes ... checking for latex... /bin/true checking for pdflatex... /bin/true sed: can't read latex/preview.dtx: No such file or directory checking for tex... /bin/true configure: error: --with-texmf-dir="/usr/share/texmf/": Directory does not exist configure: error: ./configure failed for preview checking for make... make ... checking for latex... /bin/true checking for pdflatex... /bin/true sed: can't read latex/preview.dtx: No such file or directory checking for tex... /bin/true configure: error: --with-texmf-dir="/usr/share/texmf/": Directory does not exist configure: error: ./configure failed for preview It seems AUCTeX wants to use the old location of TeXLive. I have a ~/texlive/2011/texmf, but no /usr/share/texmf. In /usr/share/ there is only tex-common, texinfo, texlive base, texlive-bin, texmf-texlive, texpower. How do I tell AUCTeX the present location of texmf? Haines Brown _______________________________________________ auctex mailing list auctex@... https://lists.gnu.org/mailman/listinfo/auctex |
|
|
|
|
|
Re: AUCTeX configure blocked by memory of old TL2011 installationJeff, sorry to follow up on myself, but I just realized that I have
both /usr/bin/emacs and /usr/bin/emacs23. Not sure if this is the source of the problem and, if so, how to fix it. Haines _______________________________________________ auctex mailing list auctex@... https://lists.gnu.org/mailman/listinfo/auctex |
|
|
Re: AUCTeX configure blocked by memory of old TL2011 installationIf I understood correctly what you did, which I'm not at all sure I did,
you installed TeXLive under your home directory by hand; you didn't use the Debian TeXLive packages. If this is the case, be aware that the Debian AUCTeX package won't work for you, as it is designed to work with the Debian TeXLive packages, not with hand made TeXLive installations. If this is the case, you should install AUCTeX by hand as well (just follow the instructions, after purging the Debian package). -- Regards, Davide (Debian AUCTeX package maintainer) _______________________________________________ auctex mailing list auctex@... https://lists.gnu.org/mailman/listinfo/auctex |
|
|
Re: AUCTeX configure blocked by memory of old TL2011 installationOn Sun, May 06, 2012 at 07:46:36PM +0200, Davide G. M. Salvetti wrote:
> If I understood correctly what you did, which I'm not at all sure I did, > you installed TeXLive under your home directory by hand; you didn't use > the Debian TeXLive packages. > > If this is the case, be aware that the Debian AUCTeX package won't work > for you, as it is designed to work with the Debian TeXLive packages, not > with hand made TeXLive installations. If this is the case, you should > install AUCTeX by hand as well (just follow the instructions, after > purging the Debian package). Aha! I believe you have spotted the problem. I installed TL2011 from CTAN rather than the debian package because the latter is only TL2010. And I did install AUCTeX from the debian archive. I just downloaded the XeTeX version of AUCTeX from the website and asssume that installation instructions are included in the tarball. I assume that using it will solve the problem. Thank you. Haines Brown _______________________________________________ auctex mailing list auctex@... https://lists.gnu.org/mailman/listinfo/auctex |
|
|
Re: AUCTeX configure blocked by memory of old TL2011 installationOn Mon, May 07, 2012 at 06:21:14AM -0400, Haines Brown wrote:
> On Sun, May 06, 2012 at 07:46:36PM +0200, Davide G. M. Salvetti wrote: > > If this is the case, be aware that the Debian AUCTeX package won't work > > for you, as it is designed to work with the Debian TeXLive packages, not > > with hand made TeXLive installations. If this is the case, you should > > install AUCTeX by hand as well (just follow the instructions, after > > purging the Debian package). > > Aha! I believe you have spotted the problem. I installed TL2011 from > CTAN rather than the debian package because the latter is only TL2010. > And I did install AUCTeX from the debian archive. > > I just downloaded the XeTeX version of AUCTeX from the website and > asssume that installation instructions are included in the tarball. > I assume that using it will solve the problem. I tested the result using latex, xelatex and biber. Everything went well. The only issue remaining is that now that I'm using xelatex, my output defaults to PDF rather than DVI, and so AUCTeX needs to be told to make xpdf rather than xdvi its default viewer. I searched on line and fiddled with some code in my .emacs init file, but so far no luck. Haines Brown _______________________________________________ auctex mailing list auctex@... https://lists.gnu.org/mailman/listinfo/auctex |
| Free embeddable forum powered by Nabble | Forum Help |