Opened 11 years ago

Closed 7 years ago

#40911 closed defect (fixed)

auctex port installation fails to check dependencies correctly

Reported by: manu@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: auctex

Description

I tried to install the emacs_app variant of auctex with macports 2.2.0 via the following command:

sudo port install auctex +emacs_app

The installation failed:

--->  Computing dependencies for auctex
--->  Configuring auctex
Error: Failed to configure auctex, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_auctex/auctex/work/auctex-11.87/config.log
Error: org.macports.configure for port auctex returned: configure failure: command execution failed
Please see the log file for port auctex for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_auctex/auctex/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port auctex failed

In the log, I see:

:info:configure checking for gs... gs
:info:configure checking for latex... NONE
:info:configure configure: error: LaTeX not found, aborting!
:info:configure You must install LaTeX for preview to work.
:info:configure configure: error: ./configure failed for preview
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_auctex/auctex/work/auctex-11.87" && ./configure --prefix=/opt/local --with-lispdir=/opt/local/share/emacs/site-lisp --with-auto-dir=/opt/local/share/emacs/site-lisp/auctex/auto --with-emacs=/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs 
:info:configure Exit code: 1

My mistake is that I only have the texlive-basic port installed, which doesn't provide LaTeX. But I think the port should check for this case and go and install the appropriate port(s) so that LaTeX is present, rather than failing.

Change History (3)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to reilles@…
Port: auctex added

comment:2 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from reilles@… to macports-tickets@…

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

In 51b73106a0b3f043f0d7adc3f0e9c9000f26649b/macports-ports:

auctex: update to 11.91; add texlive-latex dependent

closes #54404
closes #40911

Note: See TracTickets for help on using tickets.