Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: cygX11-6.dll not found Date: Fri, 30 Apr 2004 14:33:32 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" In-Reply-To: <002701c42ea6$b2697100$0c0df281@torerik> Message-ID: X-OriginalArrivalTime: 30 Apr 2004 13:33:32.0875 (UTC) FILETIME=[BB41A1B0:01C42EB7] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i3UDa7dN023157 > -----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/