Re: gs.exe missing from ghostscript package?

2008-10-03 Thread Brian Dessent
"Lee D. Rothstein" wrote:

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

For shortcut-style links, the .lnk file needs the readonly attribute to
be treated as a symlink.  "attrib +R gs.lnk" ought to fix it.  But it
would be good to find out why its attributes got munged in the first
place.

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

The older 8.50 version of the package had a gs.exe before it was
converted to use the alternatives system, which is the hit you are
seeing when you do a search.  But you have 8.62 installed which contains
gs-native.exe.

Brian

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



Re: gs.exe missing from ghostscript package?

2008-10-03 Thread Lee D. Rothstein

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/



Re: gs.exe missing from ghostscript package?

2008-10-03 Thread Lee D. Rothstein

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',
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?

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



Re: gs.exe missing from ghostscript package?

2008-10-03 Thread Brian Dessent
"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',
though.

Brian

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