This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ghostscript weirdness


On Sat, 4 Sep 2004, Tomasz Rojek wrote:

> > You also need to make sure that /usr/X11R6/bin/gs gets picked up before
> > /usr/bin/gs (i.e., that /usr/X11R6/bin is in your PATH before /usr/bin --
> > which is usually done by default by /etc/profile.d/00xorg-x11-base.sh).
>
> I have encountered the same problem - my PATH contains /usr/bin before
> /usr/X11R6/bin. According to above info from Igor I run
> /etc/profile.d/00xorg-x11-base.sh. This did not help (I closed old rxvt
> session and opened new one). Of course manual fix to PATH solves the
> problem.

Tomasz,

As observed by Sven, 00xorg-x11-base.sh won't put /usr/X11R6/bin in the
front of your PATH if it's already in it somewhere.  Specifically, if you
have an older or custom /etc/profile that puts /usr/X11R6/bin in the PATH
after /usr/bin, ghostscript-x11 won't work properly.

There was no need to run the script explicitly -- they are supposed to be
run automatically by /etc/profile.  However, up until the recent version
of the base-files package (3.0-3), you would not have gotten an updated
/etc/profile if you already had it on your system.  I suggest you follow
the advice from the base-files 3.0-* announcement (the "NOTE" in the star
box at <http://cygwin.com/ml/cygwin-apps/2004-08/msg00081.html>) --
*unless* you've made customizations of any of them, remove your
/etc/profile, /etc/bash.bashrc, /etc/DIR_COLORS, and everything in
/etc/skel, and then reinstall the base-files package.
	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!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]