delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/04/00:51:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48E6F629.1080409@veritech.com>
Date: Sat, 04 Oct 2008 00:50:49 -0400
From: "Lee D. Rothstein" <l1ee057 AT veritech DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gs.exe missing from ghostscript package?
References: <48E6E0AF DOT 8030306 AT veritech DOT com> <48E6ECEF DOT B9AD666C AT dessent DOT net> <48E6F3F8 DOT 6050404 AT veritech DOT com>
In-Reply-To: <48E6F3F8.6050404@veritech.com>
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.0.1
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Lee D. Rothstein wrote:
> Brian Dessent wrote:
> > "Lee D.Rothstein" wrote:
> >
> >> 'gs.exe' the Ghostscript interpreter is missing from my configuration.
> >
> > That's because there is not supposed to be a gs.exe.  The ghostscript
> > packages use the alternatives facility, which means /usr/bin/gs is a
> > symlink to /etc/alternatives/gs which is a symlink to either
> > /usr/bin/gs-x11.exe or /usr/bin/gs-native.exe depending on how you've
> > configured your system.  Either way, it should work to execute 'gs',
BTB, I first did a search on cygwin.com for the package containing gs, and
it said that there was such a file in the ghostscript package, not
ghostscript-base.
> Thanks
>
> It does not! ps2pdf invokes gs, and gs doesn't execute
>
> I.e..:
>
> $ which -a gs
> which: no gs in 
> (.:/local/TextPad:/local/Scripts:/usr/bin:/bin:/local/usr/bin:/local/bin:/usr/X11R6/bin:/usr/sbin:/zzz/c/Wind 
>
> ows:/zzz/c/Windows/system32:/local/bagels/bin:/zzup/ACDSee_10:/home/ldr/bin) 
>
>
> But:
>
> $ ls -l gs*
> -rwxr-x---+ 1 ldr Users 11148288 Apr 13 11:29 gs-native.exe
> -rwxr-x---+ 1 ldr Users 11212800 Apr 13 11:29 gs-x11.exe
> -rwxrwxrwt+ 1 ldr root       125 Aug  3 20:07 gs.lnk
> -rwxr-x---+ 1 ldr Users      376 Apr 13 11:27 gsbj
> -rwxr-x---+ 1 ldr Users      378 Apr 13 11:27 gsdj
> -rwxr-x---+ 1 ldr Users      381 Apr 13 11:27 gsdj500
> -rwxrwxrwt+ 1 ldr root     21504 May  5  2005 gsftopk.exe
> -rwxrwxrwt+ 1 ldr root      1269 Apr  5 12:49 gsl-config
> -rwxrwxrwt+ 1 ldr root      4096 Apr  5 12:49 gsl-histogram.exe
> -rwxrwxrwt+ 1 ldr root     14848 Apr  5 12:49 gsl-randist.exe
> -rwxr-x---+ 1 ldr Users      379 Apr 13 11:27 gslj
> -rwxr-x---+ 1 ldr Users      376 Apr 13 11:27 gslp
> -rwxr-x---+ 1 ldr Users      303 Apr 13 11:27 gsnd
>
> What causes the link to have its extension exposed and become
> inoperable within Cygwin? Even after I did a complete reinstall.
> I've seen this before. Does it have to do with the permissions?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I relinked 'gs' to 'gs-native' and all's swell that ends swell! ;-)

Thanks.

-- 
Lee D. Rothstein
VeriTech
Merrimack, NH  03054


--
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