Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#8868 closed defect (fixed)

BUG: AucTeX dependency problem

Reported by: luis.beca@… Owned by: reilles@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…
Port:

Description

I tried installing AucTeX without having Ghostscrip installed first. It failed in the configure stage asking for Ghostscript to be present:

############# ... checking if build directory is valid... yes checking where lisp files go... /opt/local/share/emacs/site-lisp checking what file to use for preview startup... /opt/local/share/emacs/site-lisp/preview-latex.el checking where the package lisp files go... /opt/local/share/emacs/site-lisp/auctex checking where the data files go... /opt/local/share/emacs/site-lisp/auctex checking where the info files go... /opt/local/share/info checking for the location of AUCTeX's tex-site.el... .. checking for gs... no checking for GSWIN32C.EXE... no configure: error: Ghostscript not found! Aborting! You need Ghostscript in your PATH for preview to work. configure: error: /bin/sh './configure' failed for preview Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/

...

checking for gs... no checking for GSWIN32C.EXE... no configure: error: Ghostscript not found! Aborting! You need Ghostscript in your PATH for preview to work. configure: error: /bin/sh './configure' failed for preview

Warning: the following items did not execute (for auctex): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing. ###########

Apparently, Ghostscript should be listed as a dependency in the portfile for AucTeX which doesn't happen. After installing Ghostscript, AucTeX compiled fine.

Thanks Luís Beça

Change History (5)

comment:1 Changed 18 years ago by pguyot (Paul Guyot)

Owner: changed from darwinports-bugs@… to reilles@…

comment:2 Changed 18 years ago by reilles@…

I would rather pass "--disable-preview" to the configure script, and hope someone will create an emacs-preview package

comment:3 Changed 17 years ago by pipping@…

Milestone: Port Bugs

comment:4 Changed 17 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Auctex depends on tetex, which depends on ghostscript. So ghostscript is now installed before auctex.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.