delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/30/09:36:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: cygX11-6.dll not found
Date: Fri, 30 Apr 2004 14:33:32 +0100
MIME-Version: 1.0
In-Reply-To: <002701c42ea6$b2697100$0c0df281@torerik>
Message-ID: <NUTMEG3TNvHtzlBusnQ000000fd@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 30 Apr 2004 13:33:32.0875 (UTC) FILETIME=[BB41A1B0:01C42EB7]
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019