"Davide G. M. Salvetti" <[EMAIL PROTECTED]> writes:

> 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
> --8<---------------cut here---------------end--------------->8---
>
> Then I retested the whole thing doing an "apt-get install gs-gpl" before
> "apt-get install auctex":
> --8<---------------cut here---------------start------------->8---
> [...]
> Setting up emacs21 (21.4a-6) ...
> emacs-install emacs21
> install/auctex: Setting up for emacs21... done.
> update-auctex-elisp[12015]: Further output will appear in: 
> /tmp/update-auctex-elisp.lqk6669.
> [...]
> Setting up auctex (11.83-1) ...
> install/auctex: Setting up for emacs21... done.
> update-auctex-elisp[13515]: Further output will appear in: 
> /tmp/update-auctex-elisp.Fs12132.
> --8<---------------cut here---------------end--------------->8---
>
> It seems we need a "Pre-Depends: gs-gpl | gs" (I think this is because
> "/usr/bin/gs" is managed through the alternatives mechanism, so that it
> does not exist until a Ghostscript providing package has been
> configured).
>
> Can you confirm that installing a Ghostscript providing package will
> solve the issue?

Since on Debian Ghostscript is not going to be called GSWIN32C.EXE
ever, one could override detection by calling ./configure with the
additional argument "GS=gs".

The test in the configure script is mainly there for prodding Windows
users to actually fix their PATH environment variable.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to