[MacPorts] #40911: auctex port installation fails to check dependencies correctly
MacPorts
noreply at macports.org
Thu Oct 24 11:23:13 PDT 2013
#40911: auctex port installation fails to check dependencies correctly
--------------------+--------------------------------
Reporter: manu@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Keywords: | Port:
--------------------+--------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/40911>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list