This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: gv
On Fri, 18 Jun 2004, Rohan Shah wrote:
> Dr. Volker Zell wrote:
>
> >>>>>>Rohan Shah writes:
> >
> > > i'm having trouble congifuring gv for cygwin. when i open a postsrcipt
> > > file using gv, it gives me the error:
> > > "Error: Postscript interpreter failed in main window"
> >
> > > any ideas? thanks in advance.
> >
> > Remove /usr/bin/gs (or /bin/gs) from your installation. The one in
> > /usr/X11R6/bin is the right executable to use with gv.
>
> OK I'm screwed, when I do: "type -a gs" i get:
>
> $ type -a gs
> gs is /usr/bin/gs
> gs is /bin/gs
> gs is /usr/X11R6/bin/gs
> gs is ./gs
> gs is /usr/bin/gs
> gs is /usr/X11R6/bin/gs
> gs is ./gs
> gs is ./gs
> gs is ./gs
> gs is ./gs
> gs is ./gs
> gs is ./gs
>
> $
>
> how do I get rid of all the entries except "gs is /usr/X11R6/bin/gs"? Is
> this what I have to do to get gs (and gv) to work?
Why do you need to get rid of them? Just make sure /usr/X11R6/bin/gs is
the first one. Try
export PATH="/usr/X11R6/bin:$PATH"
gv &
If this works, edit your /etc/profile to put /usr/X11R6/bin before
/usr/bin and /bin in your PATH.
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton