auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] configure: error: LaTeX not found


From: Jim Mehl
Subject: Re: [AUCTeX] configure: error: LaTeX not found
Date: Sun, 29 Jul 2012 09:53:31 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

http://www.timteatro.net/2012/05/05/tex-live-2010-on-ubuntu-11-04/ explains how to use equivs to fix this.

On 07/29/2012 09:34 AM, Andrea PIERRÉ wrote:
Hi all,

I'm trying to install AucTeX from source but I remain stuck at the ./configure step...
It complains that I don't have LaTeX installed:

checking for make... make
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for date in ChangeLog... 2010-02-21
checking for release in ChangeLog... 11.86
checking for emacs... /usr/bin/emacs
checking if /usr/bin/emacs is XEmacs... no
checking for Emacs prefix... "/usr"
checking if Emacs is recent enough... yes
checking for MULE support... yes
checking if build directory is valid... yes
checking where lisp files go... ${datadir}/emacs/site-lisp
checking what file to use for auctex startup... ${datadir}/emacs/site-lisp/auctex.el
checking where the package lisp files go... ${datadir}/emacs/site-lisp/auctex
checking where the data files go... ${datadir}/emacs/site-lisp/auctex
checking where the info files go... ${datarootdir}/info
checking where automatically generated global style hooks go... ${localstatedir}/auctex
checking for tex... /usr/bin/tex
checking for pdftex... /usr/bin/pdftex
checking for dvips... /usr/bin/dvips
checking for perl... /usr/bin/perl
checking for makeinfo... :
checking for texi2html... :
checking for texi2dvi... :
checking for texi2pdf... :
checking for install-info... /usr/sbin/install-info
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tex-site.el.out
config.status: creating doc/Makefile
config.status: creating auctex.el
=== configuring in preview (/usr/local/src/auctex/auctex-11.86/preview)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for /usr/bin/emacs... /usr/bin/emacs
checking if /usr/bin/emacs is XEmacs... no
checking for Emacs prefix... "/usr"
checking if Emacs is recent enough... yes
checking if build directory is valid... yes
checking where lisp files go... ${datadir}/emacs/site-lisp
checking what file to use for preview startup... ${datadir}/emacs/site-lisp/preview-latex.el
checking where the package lisp files go... ${datadir}/emacs/site-lisp/auctex
checking where the data files go... ${datadir}/emacs/site-lisp/auctex
checking for the location of AUCTeX's tex-site.el... ..
checking for gs... gs
checking for latex... NONE
configure: error: LaTeX not found, aborting!
You must install LaTeX for preview to work.
configure: error: ./configure failed for preview

Which I don't understand because LaTeX seems to be working normally, for example when I run latex sample2e.tex, I get:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
 restricted \write18 enabled.
entering extended mode
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/sample2e.tex
LaTeX2e <2011/06/27>
[...]
Output written on sample2e.dvi (3 pages, 7484 bytes).
Transcript written on sample2e.log.

The point is I previously installed TeXLive and AucTeX from the Ubuntu repositories. I then found out that the TeXLive version was the 2009 one, so I manually installed TeXLive 2012 and removed AucTeX.
I'm trying to install AucTeX from source because if I install it from the repositories, it ask for some TeXLive 2009 dependencies I removed.
I run Ubuntu 12.04 and Emacs 23.3.1.

Would anyone know what the problem is?
Thanks in advance for your help.

- Andrea



reply via email to

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