> -----Original Message----- > From: cygwin-owner On Behalf Of Tor Erik Sønvisen > Sent: 30 April 2004 12:32
> Have a problem when trying to run Xemacs directly from > /Cygewin/bin without > opening cygwin first. I get the error message: "cygX11-6.dll > can't be found. > You have to re-install the package." > But I checked and this file exists in the directory /usr/X11R6/bin. > I tried changing the permissions of the file, but that didn't > help. Also I > located what I think is the configuration file for cygwin, > "profile", in > /etc, and the PATH variable contains the path > /usr/X11R6/bin,,, Does anyone > know why cygwin can't locate this file? Let's just recap, shall we? >trying to run Xemacs directly from > /Cygewin/bin without > opening cygwin first > located what I think is the configuration file for cygwin, > "profile", in > /etc, and the PATH variable contains the path > /usr/X11R6/bin Since you aren't running a shell (what you've referred to as "running cygwin first", the profile isn't executed, and so /usr/X11R6/bin isn't added to the path. You need to make sure that your windoze environment variables have a PATH setting that includes your /cygwin/bin and /usr/X11R6/bin directories. BTW, we should be slightly clearer here. Cygwin is the system that allows Unix/POSIX/Linux code to run on 'doze. The shell is a Unix program that runs under cygwin and provides your command-line interface. ".profile" is the startup script used by the shell. It is initialisation for the shell, not for the cygwin system. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/