auctex
[Top][All Lists]
Advanced

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

Re: Failed to install auctex from within Emacs with straight.


From: Hongyi Zhao
Subject: Re: Failed to install auctex from within Emacs with straight.
Date: Tue, 17 Aug 2021 15:47:15 +0800

On Tue, Aug 17, 2021 at 2:48 PM Tassilo Horn <tsdh@gnu.org> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> Hi,
>
> > I'm on Ubuntu 20.04.2 LTS, and use straight [1] as the Emacs package
> > manager. Now, I try to install auctex from within Emacs with straight,
> > but it always freezes at the configure stage.  I describe the detailed
> > test steps as follows.
>
> I've never used straight.el but the first thing I'd try was running
> ./configure in the checkout made by straight.el.  Does that finish?

Yes. See the following:

werner@X10DAi-00:~$ git clone https://git.savannah.gnu.org/git/auctex.git
Cloning into 'auctex'...
remote: Counting objects: 33949, done.
remote: Compressing objects: 100% (9364/9364), done.
remote: Total 33949 (delta 24538), reused 33943 (delta 24535)
Receiving objects: 100% (33949/33949), 14.66 MiB | 4.73 MiB/s, done.
Resolving deltas: 100% (24538/24538), done.
werner@X10DAi-00:~$ cd auctex/
werner@X10DAi-00:~/auctex$ ./autogen.sh
makeinfo -D rawfile --no-headers intro.texi --output ../README
makeinfo -D rawfile --no-headers preview-readme.texi --output - >> ../README
makeinfo -D rawfile --no-headers install.texi --output ../INSTALL
makeinfo -D rawfile --no-headers todo.texi --output ../TODO
makeinfo -D rawfile --no-headers preview-todo.texi --output - >> ../TODO
makeinfo -D rawfile --no-headers wininstall.texi --output ../INSTALL.windows
wininstall.texi:50: warning: entry for index `cp' outside of any node
wininstall.texi:51: warning: entry for index `cp' outside of any node
wininstall.texi:306: warning: entry for index `cp' outside of any node
makeinfo -D rawfile --no-headers faq.texi --output ../FAQ
makeinfo -D rawfile --no-headers --number-sections preview-faq.texi
--output - >> ../FAQ
makeinfo -D rawfile --no-headers changes.texi --output ../CHANGES
changes.texi:999: warning: entry for index `cp' outside of any node
changes.texi:1000: warning: entry for index `cp' outside of any node
makeinfo -D rawfile --no-headers --number-sections
preview-problems.texi --output ../PROBLEMS.preview
perl preview-dtxdoc.pl ../latex/preview.dtx \
    preview-dtxdoc.texi
echo @set VERSION 2021-08-13 >version.texi
echo @set UPDATED 2021-08-13 >>version.texi
makeinfo preview-latex.texi
makeinfo auctex.texi
pdftex tex-ref.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021)
(preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./tex-ref.tex [3 columns per page]
Underfull \vbox (badness 10000) detected at line 401

Underfull \vbox (badness 10000) detected at line 442
[1{/opt/texlive/2021/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2] )
(see the transcript file for additional information)</opt/texlive/2021/texmf-di
st/fonts/type1/public/amsfonts/cm/cmbx10.pfb></opt/texlive/2021/texmf-dist/font
s/type1/public/amsfonts/cm/cmbx8.pfb></opt/texlive/2021/texmf-dist/fonts/type1/
public/amsfonts/cmextra/cmcsc8.pfb></opt/texlive/2021/texmf-dist/fonts/type1/pu
blic/amsfonts/cm/cmmi10.pfb></opt/texlive/2021/texmf-dist/fonts/type1/public/am
sfonts/cm/cmr6.pfb></opt/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm
/cmr7.pfb></opt/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb
></opt/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmsl8.pfb></opt/t
exlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy6.pfb></opt/texlive/2
021/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy8.pfb></opt/texlive/2021/texm
f-dist/fonts/type1/public/amsfonts/cm/cmti8.pfb></opt/texlive/2021/texmf-dist/f
onts/type1/public/amsfonts/cm/cmtt8.pfb>
Output written on tex-ref.pdf (2 pages, 153426 bytes).
Transcript written on tex-ref.log.
werner@X10DAi-00:~/auctex$ ./configure
checking for make... make
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for date with git... 2021-08-13
checking for release with git... not found, using 2021-08-13 instead
checking for date with git... 2021-08-13
checking for release with git... not found, using 2021-08-13 instead
checking for emacs... /home/werner/.local/bin/emacs
checking for Emacs prefix... "/home/werner/.local"
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 auctex startup...
${datadir}/emacs/site-lisp/auctex.el
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 where the info files go... ${datarootdir}/info
checking where automatically generated global style hooks go...
${localstatedir}/auctex
checking for tex... /opt/texlive/2021/bin/x86_64-linux/tex
checking for pdftex... /opt/texlive/2021/bin/x86_64-linux/pdftex
checking for dvips... /opt/texlive/2021/bin/x86_64-linux/dvips
checking for gs... gs
checking for latex... /opt/texlive/2021/bin/x86_64-linux/latex
checking for pdflatex... /opt/texlive/2021/bin/x86_64-linux/pdflatex
checking for tex... (cached) /opt/texlive/2021/bin/x86_64-linux/tex
checking for prefix from kpsepath... "/opt/texlive/2021"
checking for TDS-compliant directory... no
checking for TeX directory hierarchy... /opt/texlive/2021/texmf-dist/tex/latex
Preview will be placed in /opt/texlive/2021/texmf-dist/tex/latex/preview
Preview docs will be placed in /opt/texlive/2021/texmf-dist/tex/latex/preview
checking for texhash... /opt/texlive/2021/bin/x86_64-linux/texhash
checking for initexmf... /opt/texlive/2021/bin/x86_64-linux/texhash
checking for glaring installation conflicts... probably none
checking for perl... /usr/bin/perl
checking for makeinfo... /usr/bin/makeinfo
checking for texi2html... :
checking for texi2dvi... /usr/bin/texi2dvi
checking for texi2pdf... /usr/bin/texi2pdf
checking for install-info... /usr/bin/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
config.status: creating preview.el
config.status: creating latex/Makefile

Congratulations!  Configuration of AUCTeX is complete.

Type "make" at the prompt to build.



> Then I'd try something like
>
>   (let ((default-directory "~/auctex-checkout"))
>     (call-process "~/auctex-checkout/configure" nil "*configure-output*" t))

I try to `C-x C-e' the following code in *scratch* buffer:

(let ((default-directory "~/auctex"))
    (call-process "~/auctex/configure" nil "*configure-output*" t))

> and check what's in the *configure-output* buffer afterwards.

It seems to work, but the cursor/point always stays in busy state. See
the following in the *configure-output* buffer:

------
checking for make... make
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for date with git... 2021-08-13
checking for release with git... not found, using 2021-08-13 instead
checking for date with git... 2021-08-13
checking for release with git... not found, using 2021-08-13 instead
checking for emacs... /home/werner/.local/bin/emacs
checking for Emacs prefix... "/home/werner/.local"
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 auctex startup...
${datadir}/emacs/site-lisp/auctex.el
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 where the info files go... ${datarootdir}/info
checking where automatically generated global style hooks go...
${localstatedir}/auctex
checking for tex... /opt/texlive/2021/bin/x86_64-linux/tex
checking for pdftex... /opt/texlive/2021/bin/x86_64-linux/pdftex
checking for dvips... /opt/texlive/2021/bin/x86_64-linux/dvips
checking for gs... gs
checking for latex... /opt/texlive/2021/bin/x86_64-linux/latex
checking for pdflatex... /opt/texlive/2021/bin/x86_64-linux/pdflatex
checking for tex... (cached) /opt/texlive/2021/bin/x86_64-linux/tex
checking for prefix from kpsepath... "/opt/texlive/2021"
checking for TDS-compliant directory... no
checking for TeX directory hierarchy... /opt/texlive/2021/texmf-dist/tex/latex
Preview will be placed in /opt/texlive/2021/texmf-dist/tex/latex/preview
Preview docs will be placed in /opt/texlive/2021/texmf-dist/tex/latex/preview
checking for texhash... /opt/texlive/2021/bin/x86_64-linux/texhash
checking for initexmf... /opt/texlive/2021/bin/x86_64-linux/texhash
checking for glaring installation conflicts... probably none
checking for perl... /usr/bin/perl
checking for makeinfo... /usr/bin/makeinfo
checking for texi2html... :
checking for texi2dvi... /usr/bin/texi2dvi
checking for texi2pdf... /usr/bin/texi2pdf
checking for install-info... /usr/bin/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
config.status: creating preview.el
config.status: creating latex/Makefile

Congratulations!  Configuration of AUCTeX is complete.

Type "make" at the prompt to build.

-------

Hongyi



reply via email to

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