delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/20/10:01:23

X-Spam-Check-By: sourceware.org
X-Matched-Lists: []
Message-ID: <380-22006105201411158@cantv.net>
Reply-To: rodmedina AT cantv DOT net
From: "Rodrigo Medina" <rodmedina AT cantv DOT net>
To: cygwin AT cygwin DOT com
Subject: Ghostscript setup problem. (Was: Can't preview postscript files under xdvi)
Date: Fri, 20 Oct 2006 10:01:01 -0400
MIME-Version: 1.0
X-Virus-Status: Clean
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On October 17 Igor Peshansky wrote:

>On Tue, 17 Oct 2006, Toby Allsopp wrote:
>>...
>> I have had a similar problem caused by the fact that xdvi uses the
>> first gs it finds on the PATH and if you have the ghostscript and
>> ghostscript-x11 packages installed this is the non-X11 one and thus it
>> can't render to xdvi's window.
>>
>> I have the following line in my ~/.Xresources file to fix it:
>>
>> xdvi.interpreter: gs-x11
>>
>> You could also pass the -interpreter option to xdvi.

>Thanks, this is useful information.  Should xdvi be configured OOTB to
>look for gs-x11?  If so, can the xdvi maintainer (if we have one) make a
>new release?



It seems to me that it is solving the problem in the wrong place.
It is not a xdvi problem. It is a cygwin setup problem. You can have similar
troubles with many other programs. It is unconvenient to have 2 versions
of gs installed simultaneously, one in /bin and the other in /usr/X11R6/bin.

1) You need the no-x11-gs only if you do not have the X11 installed.

2) There are packages that require gs (e.g. transfig), the setup program
insists in installing no-x11-gs even if you have x11-gs.


I think that the proper setup behavior should be:
1) To install a single copy of gs always in /bin.
2) To install the no-x11 version only if don't have X11
3) If you have both versions installed uninstall both and install x11-gs in
   /bin
4) If you had no-x11-gs and then you install X11, then alert that you should
   reinstall gs.

I have uninstalled the no-x11-gs and I nerver had any problem,
exept from the fact that the setup program always wants to install it again.

Rodrigo Medina




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019